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.0008777/0.0008777, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.0008656/0.0008656, allocations: 173 kB / 23.5 MB, free: 1.055 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.059/1.059, allocations: 177.1 MB / 203.8 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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 0.8097/0.8097, allocations: 154.6 MB / 414.9 MB, free: 0.6719 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 179] 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.174e-06/2.174e-06, allocations: 0.6562 kB / 0.5203 GB, free: 2.469 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.515e-05, allocations: 6.984 kB / 0.5204 GB, free: 2.465 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001324/0.001349, allocations: 0.7551 MB / 0.5211 GB, free: 1.73 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.002573, allocations: 1.293 MB / 0.5224 GB, free: 436 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.129e-05/0.002625, allocations: 3.938 kB / 0.5224 GB, free: 432 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.285e-05/0.002657, allocations: 13.62 kB / 0.5224 GB, free: 420 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.972e-05/0.002727, allocations: 19.86 kB / 0.5224 GB, free: 400 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004835/0.003211, allocations: 252.9 kB / 0.5226 GB, free: 148 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.003434, allocations: 255.6 kB / 0.5229 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.003558, allocations: 38.58 kB / 0.5229 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.003692, allocations: 147.8 kB / 0.5231 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.003808, allocations: 83.78 kB / 0.5231 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.129e-05/0.003839, allocations: 24 kB / 0.5232 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.239e-05/0.003902, allocations: 36.58 kB / 0.5232 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.247e-05/0.003934, allocations: 36.64 kB / 0.5232 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.349e-05/0.004008, allocations: 79.8 kB / 0.5233 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.004212, allocations: 204.9 kB / 0.5235 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004214, allocations: 0 / 0.5235 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.82e-07/0.004215, allocations: 0 / 0.5235 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.004219, allocations: 0 / 0.5235 GB, free: 15.26 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.0004716/0.00469, allocations: 0.5164 MB / 0.524 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.004726, allocations: 8.031 kB / 0.524 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.765e-05/0.004794, allocations: 32.84 kB / 0.524 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.005127, allocations: 180.1 kB / 0.5242 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.005144, allocations: 16.36 kB / 0.5242 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.005172, allocations: 20.38 kB / 0.5242 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.005329, allocations: 118.1 kB / 0.5244 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.005337, allocations: 4.188 kB / 0.5244 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.005349, allocations: 384 / 0.5244 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.547e-06/0.005359, allocations: 8.125 kB / 0.5244 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.424e-05/0.005433, allocations: 55.45 kB / 0.5244 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.00586, allocations: 407.8 kB / 0.5248 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.005987, allocations: 83.58 kB / 0.5249 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.616e-05/0.006023, allocations: 32.62 kB / 0.5249 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.328e-06/0.006027, allocations: 0 / 0.5249 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.006183, allocations: 138.5 kB / 0.5251 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.006185, allocations: 0 / 0.5251 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0003101/0.006495, allocations: 231.5 kB / 0.5253 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.006532, allocations: 56.06 kB / 0.5253 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.647e-05/0.006629, allocations: 206.6 kB / 0.5255 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.006651, allocations: 29.7 kB / 0.5256 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.435e-05/0.006715, allocations: 159.2 kB / 0.5257 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.006735, allocations: 33.95 kB / 0.5257 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.18e-05/0.006816, allocations: 75.33 kB / 0.5258 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.006943, allocations: 0.4962 MB / 0.5263 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.007063, allocations: 119.4 kB / 0.5264 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.007202, allocations: 207.9 kB / 0.5266 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.007361, allocations: 227.2 kB / 0.5268 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.007364, allocations: 5.375 kB / 0.5268 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003199/0.007684, allocations: 371.3 kB / 0.5272 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.891e-05/0.007722, allocations: 70.36 kB / 0.5273 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.007728, allocations: 4 kB / 0.5273 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.007741, allocations: 3.938 kB / 0.5273 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.873e-05/0.00776, allocations: 16.58 kB / 0.5273 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.007766, allocations: 0 / 0.5273 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.00791, allocations: 47.48 kB / 0.5273 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.007929, allocations: 15.98 kB / 0.5273 GB, free: 10.99 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 8.752e-05/0.008017, allocations: 180.5 kB / 0.5275 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.008037, allocations: 23.89 kB / 0.5275 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.68e-05/0.008064, allocations: 12.78 kB / 0.5275 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.008067, allocations: 11.06 kB / 0.5276 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.008071, allocations: 0 / 0.5276 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.008075, allocations: 3.984 kB / 0.5276 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.008368, allocations: 457.2 kB / 0.528 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.008369, allocations: 0 / 0.528 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.743e-06/0.008376, allocations: 3.984 kB / 0.528 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.008379, allocations: 4 kB / 0.528 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.008389, allocations: 7.938 kB / 0.528 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.00839, allocations: 1.75 kB / 0.528 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.008391, allocations: 0 / 0.528 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.008584, allocations: 333.6 kB / 0.5283 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.02e-05/0.008594, allocations: 15.84 kB / 0.5283 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.00861, allocations: 11.94 kB / 0.5284 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.356e-05/0.008644, allocations: 11.33 kB / 0.5284 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.008681, allocations: 11.97 kB / 0.5284 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.008699, allocations: 15.98 kB / 0.5284 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.476e-05/0.008743, allocations: 142.3 kB / 0.5285 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.008743, allocations: 0 / 0.5285 GB, free: 9.711 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002005/0.008944, allocations: 47.98 kB / 0.5286 GB, free: 9.664 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.0001154/0.009059, allocations: 110.6 kB / 0.5287 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002774/0.009337, allocations: 333.7 kB / 0.529 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.009338, allocations: 0 / 0.529 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.017e-05/0.009398, allocations: 59.59 kB / 0.5291 GB, free: 9.121 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.009606, allocations: 30.94 kB / 0.5291 GB, free: 9.094 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003341/0.009941, allocations: 266.8 kB / 0.5293 GB, free: 8.805 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.23e-05/0.009983, allocations: 63.84 kB / 0.5294 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.215e-05/0.01001, allocations: 13.14 kB / 0.5294 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.006e-05/0.01004, allocations: 16.5 kB / 0.5294 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of SimCode: time 8.22e-07/0.01004, allocations: 3.969 kB / 0.5294 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of Templates: time 0.003688/0.01372, allocations: 2.318 MB / 0.5317 GB, free: 6.508 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: 3.7746290070936084]