Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0007843/0.0007843, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007888/0.0007888, allocations: 165.9 kB / 23.96 MB, free: 0.5977 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 0.8589/0.8589, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5494/0.5494, allocations: 114 MB / 374.7 MB, free: 8.711 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.5554 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.449e-05, allocations: 4.812 kB / 0.5554 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001262/0.001286, allocations: 0.7404 MB / 0.5562 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.002435, allocations: 1.26 MB / 0.5574 GB, free: 264 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/0.002491, allocations: 4 kB / 0.5574 GB, free: 260 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.343e-05/0.002525, allocations: 15.8 kB / 0.5574 GB, free: 244 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.635e-05/0.002591, allocations: 15.88 kB / 0.5574 GB, free: 228 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005369/0.003128, allocations: 252 kB / 0.5577 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.003353, allocations: 255.5 kB / 0.5579 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.003476, allocations: 37.27 kB / 0.5579 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.003618, allocations: 147.8 kB / 0.5581 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.003729, allocations: 83.78 kB / 0.5582 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.137e-05/0.00376, allocations: 24 kB / 0.5582 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 6.222e-05/0.003822, allocations: 35.98 kB / 0.5582 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.178e-05/0.003854, allocations: 35.89 kB / 0.5583 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.534e-05/0.003919, allocations: 75.86 kB / 0.5583 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.004168, allocations: 283.1 kB / 0.5586 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.004171, allocations: 0 / 0.5586 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.002e-06/0.004172, allocations: 0 / 0.5586 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.004176, allocations: 0 / 0.5586 GB, free: 15.03 MB / 0.5261 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.0004273/0.004603, allocations: 421.2 kB / 0.559 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.004637, allocations: 16.62 kB / 0.559 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/0.004689, allocations: 20.84 kB / 0.559 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.005014, allocations: 177.7 kB / 0.5592 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.005028, allocations: 16.38 kB / 0.5592 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.005054, allocations: 20.38 kB / 0.5592 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.00519, allocations: 106.2 kB / 0.5593 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.005197, allocations: 192 / 0.5593 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.005208, allocations: 8.375 kB / 0.5593 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/0.005214, allocations: 12.12 kB / 0.5594 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.502e-05/0.005289, allocations: 63.83 kB / 0.5594 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004115/0.005701, allocations: 372 kB / 0.5598 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.005859, allocations: 126.6 kB / 0.5599 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.864e-05/0.005917, allocations: 56.83 kB / 0.5599 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.206e-06/0.005926, allocations: 3.938 kB / 0.56 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.006129, allocations: 183.2 kB / 0.5601 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 1.162e-06/0.00613, allocations: 0 / 0.5601 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.0003646/0.006495, allocations: 333.5 kB / 0.5604 GB, free: 13 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.006528, allocations: 59.41 kB / 0.5605 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.868e-05/0.006617, allocations: 159.2 kB / 0.5607 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.006642, allocations: 37.7 kB / 0.5607 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.411e-05/0.006696, allocations: 109 kB / 0.5608 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.00673, allocations: 67.53 kB / 0.5609 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.764e-05/0.006817, allocations: 98 kB / 0.561 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.843e-05/0.006896, allocations: 338.8 kB / 0.5613 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.007049, allocations: 168.2 kB / 0.5614 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.007227, allocations: 229.4 kB / 0.5617 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.007457, allocations: 291.5 kB / 0.5619 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.007459, allocations: 0 / 0.5619 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004025/0.007862, allocations: 481.8 kB / 0.5624 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.0079, allocations: 67.39 kB / 0.5625 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.007906, allocations: 4 kB / 0.5625 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.007918, allocations: 4 kB / 0.5625 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.488e-05/0.007943, allocations: 15.88 kB / 0.5625 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.007948, allocations: 0 / 0.5625 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.008126, allocations: 75.88 kB / 0.5626 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.00815, allocations: 27.98 kB / 0.5626 GB, free: 10.64 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,tru.y,fal.y,truCleTruIni.clr,truCleFalIni.clr,falCleTruIni.clr,falCleFalIni.clr,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,$PRE.swiCleInp1.y,swiCleInp1.clr,swiCleInp1.u,swiCleInp.y,$PRE.swiCleInp.y,swiCleInp.clr,swiCleInp.u,truCleFalIni.y,$PRE.truCleFalIni.y,truCleFalIni.u,falCleFalIni.y,$PRE.falCleFalIni.y,falCleFalIni.u,truCleTruIni.y,$PRE.truCleTruIni.y,truCleTruIni.u,falCleTruIni.y,$PRE.falCleTruIni.y,falCleTruIni.u,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * 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.89e-05/0.008249, allocations: 161.7 kB / 0.5627 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.008263, allocations: 15.91 kB / 0.5627 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.617e-05/0.008299, allocations: 13.97 kB / 0.5628 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.008303, allocations: 4 kB / 0.5628 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.008308, allocations: 3.938 kB / 0.5628 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.008313, allocations: 3.984 kB / 0.5628 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004538/0.008767, allocations: 0.5617 MB / 0.5633 GB, free: 9.828 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.008768, allocations: 0 / 0.5633 GB, free: 9.828 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.129e-05/0.00878, allocations: 8 kB / 0.5633 GB, free: 9.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.008785, allocations: 7.938 kB / 0.5633 GB, free: 9.812 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.008794, allocations: 3.984 kB / 0.5633 GB, free: 9.809 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.008796, allocations: 4 kB / 0.5633 GB, free: 9.805 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008797, allocations: 0 / 0.5633 GB, free: 9.805 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.009031, allocations: 356.6 kB / 0.5637 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.298e-05/0.009044, allocations: 19.89 kB / 0.5637 GB, free: 9.418 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.009059, allocations: 11.94 kB / 0.5637 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.823e-05/0.009097, allocations: 4 kB / 0.5637 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.009137, allocations: 27.95 kB / 0.5637 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.009155, allocations: 16 kB / 0.5638 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.018e-05/0.009195, allocations: 101.2 kB / 0.5639 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.009195, allocations: 0 / 0.5639 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002168/0.009412, allocations: 71.92 kB / 0.5639 GB, free: 9.191 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (swiCleInp1.clr,swiCleInp.clr,truCleFalIni.u,swiCleInp1.u,swiCleInp.u,truCleTruIni.u,falCleTruIni.u,falCleFalIni.u,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$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 (32): * Single equations (assignments): 24 * 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.0001146/0.009527, allocations: 113.2 kB / 0.564 GB, free: 9.074 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000345/0.009872, allocations: 414.6 kB / 0.5644 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.009873, allocations: 0 / 0.5644 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.996e-05/0.009963, allocations: 91.89 kB / 0.5645 GB, free: 8.543 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.01018, allocations: 23.98 kB / 0.5645 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004061/0.01059, allocations: 363.8 kB / 0.5649 GB, free: 8.137 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.129e-05/0.01065, allocations: 108.9 kB / 0.565 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.01068, allocations: 24.5 kB / 0.565 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of SimCode: time 5.31e-07/0.01068, allocations: 0 / 0.565 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of Templates: time 0.00292/0.0136, allocations: 2.582 MB / 0.5675 GB, free: 5.422 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.645897064357996] Failed to read output from testmodel.py, exit status != 0: 0.018328762613236904 0.026276318000000003 0.020488468000000003 Calling exit ...