Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001799/0.001799, allocations: 85.48 kB / 19.44 MB, free: 344 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.002137/0.002137, allocations: 169.6 kB / 22.76 MB, free: 1.664 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.58/1.58, allocations: 177.1 MB / 203.1 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.417/1.417, allocations: 154.6 MB / 414.2 MB, free: 0.5742 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 0.5196 GB, free: 2.477 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.333e-05/3.591e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.473 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002203/0.002239, allocations: 0.753 MB / 0.5204 GB, free: 1.738 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.004521, allocations: 1.27 MB / 0.5216 GB, free: 468 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.938e-05/0.00459, allocations: 4 kB / 0.5216 GB, free: 464 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.696e-05/0.004637, allocations: 15.8 kB / 0.5216 GB, free: 448 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.019e-05/0.004727, allocations: 9.594 kB / 0.5216 GB, free: 440 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007535/0.005481, allocations: 260.8 kB / 0.5219 GB, free: 180 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003814/0.005862, allocations: 251.7 kB / 0.5221 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.006017, allocations: 41.17 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.006255, allocations: 147.8 kB / 0.5223 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.006428, allocations: 76.55 kB / 0.5224 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.683e-05/0.006485, allocations: 24 kB / 0.5224 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.006591, allocations: 45.44 kB / 0.5224 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.191e-05/0.006643, allocations: 35.89 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.006763, allocations: 75.86 kB / 0.5226 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000436/0.007199, allocations: 291.1 kB / 0.5228 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/0.007209, allocations: 5.344 kB / 0.5228 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.362e-06/0.007211, allocations: 0 / 0.5228 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.007216, allocations: 0 / 0.5228 GB, free: 15.21 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.0008075/0.008024, allocations: 0.5156 MB / 0.5233 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.008063, allocations: 8.031 kB / 0.5233 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.008184, allocations: 35.97 kB / 0.5234 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005226/0.008707, allocations: 171.9 kB / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.008739, allocations: 20.34 kB / 0.5236 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.674e-05/0.008786, allocations: 20.38 kB / 0.5236 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.009062, allocations: 138.1 kB / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.009074, allocations: 192 / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.033e-05/0.009104, allocations: 4.375 kB / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.009115, allocations: 8.688 kB / 0.5237 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.009279, allocations: 71.95 kB / 0.5238 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007244/0.01, allocations: 424.4 kB / 0.5242 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002357/0.01024, allocations: 103 kB / 0.5243 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.093e-05/0.01032, allocations: 44.36 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.01033, allocations: 1.469 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002784/0.01061, allocations: 141.1 kB / 0.5245 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.472e-06/0.01061, allocations: 4.875 kB / 0.5245 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0005646/0.01118, allocations: 267.6 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.266e-05/0.01125, allocations: 60.75 kB / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.01146, allocations: 217.1 kB / 0.525 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.0115, allocations: 33.7 kB / 0.525 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.01164, allocations: 155.2 kB / 0.5252 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/0.01168, allocations: 44.94 kB / 0.5252 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.01183, allocations: 79.34 kB / 0.5253 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000311/0.01215, allocations: 0.4962 MB / 0.5258 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.01237, allocations: 148.2 kB / 0.5259 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005988/0.01297, allocations: 235.9 kB / 0.5262 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003443/0.01332, allocations: 253 kB / 0.5264 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01332, allocations: 2.906 kB / 0.5264 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006582/0.01398, allocations: 404.2 kB / 0.5268 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.295e-05/0.01405, allocations: 65.73 kB / 0.5268 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/0.01406, allocations: 6.75 kB / 0.5269 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.01408, allocations: 7.938 kB / 0.5269 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.56e-05/0.01412, allocations: 11.94 kB / 0.5269 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.01413, allocations: 0 / 0.5269 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.01442, allocations: 47.84 kB / 0.5269 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.092e-05/0.01446, allocations: 20.73 kB / 0.5269 GB, free: 10.67 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 0.0001812/0.01464, allocations: 181.6 kB / 0.5271 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.93e-05/0.01468, allocations: 23.89 kB / 0.5271 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.733e-05/0.01472, allocations: 13.56 kB / 0.5271 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/0.01473, allocations: 3.938 kB / 0.5272 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.01474, allocations: 5.594 kB / 0.5272 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01474, allocations: 0 / 0.5272 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006281/0.01537, allocations: 485.2 kB / 0.5276 GB, free: 9.926 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01537, allocations: 3.938 kB / 0.5276 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.047e-05/0.01538, allocations: 2.438 kB / 0.5276 GB, free: 9.922 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.01539, allocations: 4 kB / 0.5276 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.01541, allocations: 11.92 kB / 0.5276 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.01541, allocations: 0 / 0.5276 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.01541, allocations: 4 kB / 0.5276 GB, free: 9.902 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004365/0.01585, allocations: 357.7 kB / 0.528 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.043e-05/0.01587, allocations: 15.84 kB / 0.528 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.01589, allocations: 6.594 kB / 0.528 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.457e-05/0.01596, allocations: 7.984 kB / 0.528 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/0.01602, allocations: 15.92 kB / 0.528 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.01605, allocations: 11.98 kB / 0.528 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001074/0.01616, allocations: 143.2 kB / 0.5282 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01616, allocations: 0 / 0.5282 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003034/0.01646, allocations: 40 kB / 0.5282 GB, free: 9.301 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.000202/0.01666, allocations: 109.2 kB / 0.5283 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006032/0.01726, allocations: 396.4 kB / 0.5287 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01727, allocations: 0 / 0.5287 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.0174, allocations: 81.69 kB / 0.5288 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.01773, allocations: 23.97 kB / 0.5288 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006162/0.01835, allocations: 274.5 kB / 0.5291 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.01848, allocations: 98.77 kB / 0.5292 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.479e-05/0.01852, allocations: 17.12 kB / 0.5292 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.708e-05/0.01856, allocations: 19.88 kB / 0.5292 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of SimCode: time 8.82e-07/0.01856, allocations: 0 / 0.5292 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of Templates: time 0.006719/0.02528, allocations: 2.317 MB / 0.5315 GB, free: 6.031 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.184527675039135]