Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009059/0.0009059, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 169.3 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.005/1.005, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7943/0.7943, allocations: 154.8 MB / 414.7 MB, free: 492 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 0.5206 GB, free: 1.938 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.904e-05/3.138e-05, allocations: 4 kB / 0.5206 GB, free: 1.934 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001613/0.001645, allocations: 0.7627 MB / 0.5213 GB, free: 1.191 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.00308, allocations: 1.297 MB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.216e-05/0.003162, allocations: 4.625 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 4.775e-05/0.00321, allocations: 12.72 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.138e-05/0.003301, allocations: 15.86 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000732/0.004033, allocations: 258 kB / 0.5229 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000278/0.004311, allocations: 251.6 kB / 0.5231 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.004489, allocations: 37.27 kB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.004672, allocations: 149.6 kB / 0.5233 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.004826, allocations: 79.78 kB / 0.5234 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.48e-05/0.004871, allocations: 31.94 kB / 0.5234 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.781e-05/0.004959, allocations: 31.98 kB / 0.5234 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.304e-05/0.005002, allocations: 39.88 kB / 0.5235 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.933e-05/0.005091, allocations: 80.61 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.005372, allocations: 203.3 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.005381, allocations: 5.406 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.052e-06/0.005382, allocations: 0 / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.005389, allocations: 0 / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005415/0.00593, allocations: 0.5074 MB / 0.5242 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.005974, allocations: 13.28 kB / 0.5242 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.367e-05/0.006048, allocations: 28.84 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.006402, allocations: 182.4 kB / 0.5244 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.006422, allocations: 16.36 kB / 0.5245 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.006452, allocations: 20.38 kB / 0.5245 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.006615, allocations: 114.1 kB / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.006626, allocations: 192 / 0.5246 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.006642, allocations: 10.28 kB / 0.5246 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.006651, allocations: 4.125 kB / 0.5246 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.579e-05/0.006727, allocations: 59.89 kB / 0.5247 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006701/0.007397, allocations: 403.3 kB / 0.525 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.007545, allocations: 79.58 kB / 0.5251 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.649e-05/0.007592, allocations: 36.64 kB / 0.5252 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-06/0.007599, allocations: 3.984 kB / 0.5252 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.007774, allocations: 139.6 kB / 0.5253 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.007775, allocations: 0.9688 kB / 0.5253 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0003288/0.008103, allocations: 226 kB / 0.5255 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.008142, allocations: 56.44 kB / 0.5256 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.008242, allocations: 197.8 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.008265, allocations: 33.69 kB / 0.5258 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.409e-05/0.00834, allocations: 156.7 kB / 0.5259 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.008362, allocations: 39.72 kB / 0.526 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.989e-05/0.008442, allocations: 79.27 kB / 0.526 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.008551, allocations: 0.4884 MB / 0.5265 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.008671, allocations: 124.5 kB / 0.5266 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.008808, allocations: 208.5 kB / 0.5268 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.008979, allocations: 229.6 kB / 0.5271 GB, free: 11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.008982, allocations: 0 / 0.5271 GB, free: 11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000345/0.009327, allocations: 367.8 kB / 0.5274 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.124e-05/0.009368, allocations: 71.39 kB / 0.5275 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.009374, allocations: 0 / 0.5275 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.009395, allocations: 7.938 kB / 0.5275 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.867e-05/0.009414, allocations: 7.938 kB / 0.5275 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.009422, allocations: 7.984 kB / 0.5275 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.009577, allocations: 50.95 kB / 0.5276 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.009598, allocations: 15.98 kB / 0.5276 GB, free: 10.45 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tru.y,fal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.402e-05/0.009692, allocations: 176.5 kB / 0.5277 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.009714, allocations: 23.89 kB / 0.5278 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.378e-05/0.009747, allocations: 14.28 kB / 0.5278 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.009751, allocations: 3.938 kB / 0.5278 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.009756, allocations: 0 / 0.5278 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.009761, allocations: 3.984 kB / 0.5278 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.01009, allocations: 459.9 kB / 0.5282 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01009, allocations: 3 kB / 0.5282 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.186e-06/0.0101, allocations: 4 kB / 0.5282 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.0101, allocations: 0 / 0.5282 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.01012, allocations: 15.92 kB / 0.5282 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.01012, allocations: 0 / 0.5282 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01012, allocations: 0 / 0.5282 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.01034, allocations: 335.8 kB / 0.5286 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.425e-05/0.01036, allocations: 19.78 kB / 0.5286 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.01037, allocations: 10.36 kB / 0.5286 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.735e-05/0.01041, allocations: 11.98 kB / 0.5286 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.01045, allocations: 7.984 kB / 0.5286 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.01047, allocations: 15.98 kB / 0.5286 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.745e-05/0.01052, allocations: 138.2 kB / 0.5288 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01052, allocations: 0 / 0.5288 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002116/0.01073, allocations: 44 kB / 0.5288 GB, free: 9.125 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001353/0.01086, allocations: 108.6 kB / 0.5289 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003012/0.01116, allocations: 331.1 kB / 0.5292 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01116, allocations: 0 / 0.5292 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.252e-05/0.01124, allocations: 73.69 kB / 0.5293 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.01147, allocations: 26.39 kB / 0.5293 GB, free: 8.555 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.01186, allocations: 266.8 kB / 0.5296 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.549e-05/0.0119, allocations: 71.84 kB / 0.5296 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.284e-05/0.01194, allocations: 15.2 kB / 0.5296 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.486e-05/0.01196, allocations: 12.5 kB / 0.5297 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of SimCode: time 7.31e-07/0.01196, allocations: 4 kB / 0.5297 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of Templates: time 0.004733/0.0167, allocations: 2.329 MB / 0.5319 GB, free: 5.949 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.951294392812997]