Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.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.001771/0.001771, allocations: 105.2 kB / 20.44 MB, free: 1.504 MB / 14.72 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.001526/0.001526, allocations: 213.8 kB / 23.76 MB, free: 4.723 MB / 14.72 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.487/1.487, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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.9751/0.9751, allocations: 150 MB / 463.9 MB, free: 10.46 MB / 366.1 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.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 72.64 kB / 0.6425 GB, free: 9.848 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.167, allocations: 89.16 MB / 0.7296 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Or): time 0.001805/0.1688, allocations: 0.6477 MB / 0.7302 GB, free: 96 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001626/0.1704, allocations: 1.225 MB / 0.7314 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.237e-05/0.1705, allocations: 0 / 0.7314 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.1705, allocations: 3.938 kB / 0.7314 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.718e-05/0.1706, allocations: 15.91 kB / 0.7314 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006938/0.1713, allocations: 211.4 kB / 0.7316 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.1716, allocations: 179.6 kB / 0.7318 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1717, allocations: 12 kB / 0.7318 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.1718, allocations: 71.88 kB / 0.7319 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.1719, allocations: 59.84 kB / 0.7319 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.549e-05/0.172, allocations: 16 kB / 0.732 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.222e-05/0.1721, allocations: 27.98 kB / 0.732 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.1721, allocations: 8 kB / 0.732 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.224e-05/0.1722, allocations: 63.81 kB / 0.7321 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.1724, allocations: 147.5 kB / 0.7322 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1724, allocations: 3.938 kB / 0.7322 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1724, allocations: 4 kB / 0.7322 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.1724, allocations: 0 / 0.7322 GB, free: 14.05 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005251/0.1729, allocations: 361.5 kB / 0.7325 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.173, allocations: 12.03 kB / 0.7326 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.173, allocations: 4.938 kB / 0.7326 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.1731, allocations: 114.5 kB / 0.7327 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.1732, allocations: 8.375 kB / 0.7327 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.1732, allocations: 16.38 kB / 0.7327 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.1733, allocations: 42.25 kB / 0.7327 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1733, allocations: 192 / 0.7327 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.1733, allocations: 7.922 kB / 0.7327 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.1733, allocations: 4 kB / 0.7327 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.735e-05/0.1734, allocations: 15.94 kB / 0.7328 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004861/0.1739, allocations: 323.9 kB / 0.7331 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.415e-05/0.1739, allocations: 34.45 kB / 0.7331 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.049e-05/0.174, allocations: 16.94 kB / 0.7331 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.174, allocations: 4 kB / 0.7331 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/0.1742, allocations: 87.27 kB / 0.7332 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.1742, allocations: 0 / 0.7332 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.000242/0.1744, allocations: 97.62 kB / 0.7333 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.1745, allocations: 55.41 kB / 0.7334 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.1746, allocations: 121.8 kB / 0.7335 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.1746, allocations: 33.7 kB / 0.7335 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.852e-05/0.1747, allocations: 92.12 kB / 0.7336 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.1747, allocations: 23.83 kB / 0.7336 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.965e-05/0.1748, allocations: 49.69 kB / 0.7337 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1749, allocations: 318.8 kB / 0.734 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.175, allocations: 59.97 kB / 0.734 GB, free: 12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.1752, allocations: 88.25 kB / 0.7341 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.1754, allocations: 159.6 kB / 0.7343 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.1754, allocations: 7.938 kB / 0.7343 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004124/0.1758, allocations: 265.3 kB / 0.7345 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.454e-05/0.1759, allocations: 63.41 kB / 0.7346 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1759, allocations: 4.109 kB / 0.7346 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1759, allocations: 11.94 kB / 0.7346 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.187e-05/0.1759, allocations: 7.938 kB / 0.7346 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1759, allocations: 4 kB / 0.7346 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.1762, allocations: 51.89 kB / 0.7347 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/0.1763, allocations: 15.97 kB / 0.7347 GB, free: 11.26 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * 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.000103/0.1764, allocations: 125.8 kB / 0.7348 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.1764, allocations: 4 kB / 0.7348 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.1764, allocations: 8.375 kB / 0.7348 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1764, allocations: 0 / 0.7348 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1764, allocations: 4 kB / 0.7348 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1764, allocations: 0 / 0.7348 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.1766, allocations: 160.6 kB / 0.735 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1766, allocations: 0 / 0.735 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.545e-06/0.1766, allocations: 64 / 0.735 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1766, allocations: 4 kB / 0.735 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.1766, allocations: 0 / 0.735 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1766, allocations: 11.94 kB / 0.735 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1766, allocations: 0 / 0.735 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.1767, allocations: 109 kB / 0.7351 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.076e-05/0.1767, allocations: 7.953 kB / 0.7351 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.1768, allocations: 3.984 kB / 0.7351 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.076e-05/0.1768, allocations: 4 kB / 0.7351 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.1768, allocations: 3.984 kB / 0.7351 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.1768, allocations: 12 kB / 0.7351 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.113e-05/0.1769, allocations: 87.28 kB / 0.7352 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1769, allocations: 0 / 0.7352 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002292/0.1771, allocations: 31.98 kB / 0.7352 GB, free: 10.62 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001475/0.1773, allocations: 100 kB / 0.7353 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003449/0.1776, allocations: 226.6 kB / 0.7355 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1776, allocations: 0 / 0.7355 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.837e-05/0.1777, allocations: 24.23 kB / 0.7356 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.1779, allocations: 24.69 kB / 0.7356 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003535/0.1782, allocations: 180.5 kB / 0.7357 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.1785, allocations: 0.6846 MB / 0.7364 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.597e-05/0.1786, allocations: 15.42 kB / 0.7364 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.1786, allocations: 0 / 0.7364 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of Templates: time 0.003178/0.1817, allocations: 1.389 MB / 0.7378 GB, free: 7.902 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.00943953404203] Failed to read output from testmodel.py, exit status != 0: 0.1896727429702878 0.203853327 0.028393606000000002 Calling exit ...