Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.001382/0.001382, allocations: 71.77 kB / 20.51 MB, free: 1.125 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.001519/0.001519, allocations: 164.6 kB / 23.76 MB, free: 4.195 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.437/1.437, allocations: 177.2 MB / 204.1 MB, free: 8.891 MB / 190.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.9277/0.9277, allocations: 113.9 MB / 374.5 MB, free: 12.89 MB / 350.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.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax") [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.00209/0.00209, allocations: 61.77 kB / 0.555 GB, free: 2.777 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1687, allocations: 89.16 MB / 0.6421 GB, free: 9.574 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.00191/0.1706, allocations: 0.6898 MB / 0.6428 GB, free: 8.887 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001798/0.1724, allocations: 1.213 MB / 0.6439 GB, free: 7.66 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.43e-05/0.1724, allocations: 0 / 0.6439 GB, free: 7.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.721e-05/0.1724, allocations: 3.938 kB / 0.6439 GB, free: 7.656 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.386e-05/0.1725, allocations: 7.875 kB / 0.6439 GB, free: 7.648 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005207/0.173, allocations: 150.5 kB / 0.6441 GB, free: 7.504 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.1732, allocations: 119.7 kB / 0.6442 GB, free: 7.387 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.223e-05/0.1733, allocations: 15.97 kB / 0.6442 GB, free: 7.371 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.901e-05/0.1734, allocations: 51.91 kB / 0.6443 GB, free: 7.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.844e-05/0.1735, allocations: 39.88 kB / 0.6443 GB, free: 7.281 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.1735, allocations: 8 kB / 0.6443 GB, free: 7.273 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.605e-05/0.1736, allocations: 27.98 kB / 0.6443 GB, free: 7.246 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.392e-05/0.1736, allocations: 11.94 kB / 0.6444 GB, free: 7.234 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.027e-05/0.1737, allocations: 39.89 kB / 0.6444 GB, free: 7.195 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.1739, allocations: 111.6 kB / 0.6445 GB, free: 7.086 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1739, allocations: 0 / 0.6445 GB, free: 7.086 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1739, allocations: 0 / 0.6445 GB, free: 7.086 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.1739, allocations: 0 / 0.6445 GB, free: 7.086 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006055/0.1745, allocations: 343.8 kB / 0.6448 GB, free: 6.711 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1745, allocations: 8.031 kB / 0.6448 GB, free: 6.703 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.286e-05/0.1746, allocations: 12.89 kB / 0.6448 GB, free: 6.691 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.1747, allocations: 118.4 kB / 0.645 GB, free: 6.551 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.1747, allocations: 8.375 kB / 0.645 GB, free: 6.543 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.1748, allocations: 4.375 kB / 0.645 GB, free: 6.539 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.175, allocations: 66.22 kB / 0.645 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.175, allocations: 192 / 0.645 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.175, allocations: 3.938 kB / 0.645 GB, free: 6.465 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.175, allocations: 0 / 0.645 GB, free: 6.465 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.1752, allocations: 47.89 kB / 0.6451 GB, free: 6.418 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.1756, allocations: 256.4 kB / 0.6453 GB, free: 6.137 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.1758, allocations: 54.48 kB / 0.6454 GB, free: 6.074 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.1759, allocations: 24.94 kB / 0.6454 GB, free: 6.047 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.1759, allocations: 0 / 0.6454 GB, free: 6.047 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.1761, allocations: 91.3 kB / 0.6455 GB, free: 5.945 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.1761, allocations: 0 / 0.6455 GB, free: 5.945 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004511/0.1766, allocations: 141.6 kB / 0.6456 GB, free: 5.801 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.1766, allocations: 59.39 kB / 0.6457 GB, free: 5.73 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.621e-05/0.1767, allocations: 109.8 kB / 0.6458 GB, free: 5.613 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.1767, allocations: 29.7 kB / 0.6458 GB, free: 5.578 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/0.1768, allocations: 88.14 kB / 0.6459 GB, free: 5.488 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.1768, allocations: 31.78 kB / 0.6459 GB, free: 5.457 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.795e-05/0.1769, allocations: 29.7 kB / 0.646 GB, free: 5.422 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1771, allocations: 326.8 kB / 0.6463 GB, free: 5.094 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.1772, allocations: 77.67 kB / 0.6463 GB, free: 5.012 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.1774, allocations: 113 kB / 0.6465 GB, free: 4.883 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.1777, allocations: 137 kB / 0.6466 GB, free: 4.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1777, allocations: 4 kB / 0.6466 GB, free: 4.727 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004774/0.1782, allocations: 228.9 kB / 0.6468 GB, free: 4.484 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.334e-05/0.1783, allocations: 37.69 kB / 0.6468 GB, free: 4.441 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1783, allocations: 0 / 0.6468 GB, free: 4.441 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1783, allocations: 4 kB / 0.6468 GB, free: 4.438 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.077e-05/0.1784, allocations: 8 kB / 0.6469 GB, free: 4.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1784, allocations: 3.984 kB / 0.6469 GB, free: 4.426 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.1786, allocations: 36.03 kB / 0.6469 GB, free: 4.391 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.1786, allocations: 15.92 kB / 0.6469 GB, free: 4.375 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.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): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.0001036/0.1787, allocations: 123.7 kB / 0.647 GB, free: 4.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.751e-05/0.1787, allocations: 7.953 kB / 0.647 GB, free: 4.242 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003573/0.1791, allocations: 114.1 kB / 0.6471 GB, free: 4.125 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1791, allocations: 480 / 0.6471 GB, free: 4.125 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1791, allocations: 3.984 kB / 0.6471 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1791, allocations: 4 kB / 0.6471 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004311/0.1795, allocations: 302.1 kB / 0.6474 GB, free: 3.785 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1795, allocations: 0 / 0.6474 GB, free: 3.785 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.233e-05/0.1796, allocations: 11.92 kB / 0.6474 GB, free: 3.773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1796, allocations: 4 kB / 0.6475 GB, free: 3.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.1796, allocations: 0 / 0.6475 GB, free: 3.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1796, allocations: 0 / 0.6475 GB, free: 3.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1796, allocations: 0 / 0.6475 GB, free: 3.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.1799, allocations: 219.3 kB / 0.6477 GB, free: 3.539 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.18, allocations: 4 kB / 0.6477 GB, free: 3.535 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.18, allocations: 7.984 kB / 0.6477 GB, free: 3.527 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.015e-05/0.1801, allocations: 4 kB / 0.6477 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.1801, allocations: 11.98 kB / 0.6477 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.1801, allocations: 0 / 0.6477 GB, free: 3.512 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.279e-05/0.1802, allocations: 91.27 kB / 0.6478 GB, free: 3.422 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1802, allocations: 3.938 kB / 0.6478 GB, free: 3.418 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002657/0.1804, allocations: 23.94 kB / 0.6478 GB, free: 3.395 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * 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.0001369/0.1806, allocations: 111.2 kB / 0.6479 GB, free: 3.277 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004056/0.181, allocations: 185 kB / 0.6481 GB, free: 3.078 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.181, allocations: 0 / 0.6481 GB, free: 3.078 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.1811, allocations: 31.92 kB / 0.6481 GB, free: 3.047 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.1814, allocations: 14.69 kB / 0.6481 GB, free: 3.035 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.1818, allocations: 158.7 kB / 0.6483 GB, free: 2.852 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.1819, allocations: 71.33 kB / 0.6483 GB, free: 2.762 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.72e-05/0.1819, allocations: 4 kB / 0.6484 GB, free: 2.758 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/0.1819, allocations: 16.5 kB / 0.6484 GB, free: 2.738 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.1819, allocations: 0 / 0.6484 GB, free: 2.738 MB / 0.545 GB Notification: Performance of Templates: time 0.004359/0.1863, allocations: 1.517 MB / 0.6499 GB, free: 1.254 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.420342458994128] Failed to read output from testmodel.py, exit status != 0: 0.19438701204489917 0.20878269800000002 0.031906061 Calling exit ...