Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.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.001256/0.001256, allocations: 75.75 kB / 20.51 MB, free: 1.121 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.001424/0.001424, allocations: 158.1 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.442/1.442, allocations: 177.2 MB / 204.1 MB, free: 8.973 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.9211/0.9211, allocations: 113.9 MB / 374.5 MB, free: 12.86 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.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer") [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.002068/0.002068, allocations: 63.16 kB / 0.555 GB, free: 2.723 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1634, allocations: 89.15 MB / 0.6421 GB, free: 9.547 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002079/0.1655, allocations: 0.6921 MB / 0.6428 GB, free: 8.855 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001986/0.1675, allocations: 1.28 MB / 0.644 GB, free: 7.562 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.29e-05/0.1676, allocations: 0 / 0.644 GB, free: 7.562 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.559e-05/0.1676, allocations: 7.875 kB / 0.644 GB, free: 7.555 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.764e-05/0.1677, allocations: 23.84 kB / 0.644 GB, free: 7.531 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007392/0.1684, allocations: 251.2 kB / 0.6443 GB, free: 7.293 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003415/0.1688, allocations: 251.6 kB / 0.6445 GB, free: 7.047 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.766e-05/0.1689, allocations: 12.23 kB / 0.6445 GB, free: 7.031 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.169, allocations: 103.7 kB / 0.6446 GB, free: 6.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.1692, allocations: 83.75 kB / 0.6447 GB, free: 6.848 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.102e-05/0.1693, allocations: 20 kB / 0.6447 GB, free: 6.828 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.886e-05/0.1694, allocations: 43.98 kB / 0.6448 GB, free: 6.785 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.518e-05/0.1694, allocations: 31.89 kB / 0.6448 GB, free: 6.754 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.1695, allocations: 83.75 kB / 0.6449 GB, free: 6.672 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.1699, allocations: 227.3 kB / 0.6451 GB, free: 6.449 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1699, allocations: 0 / 0.6451 GB, free: 6.449 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.015e-06/0.1699, allocations: 4 kB / 0.6451 GB, free: 6.445 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.1699, allocations: 0 / 0.6451 GB, free: 6.445 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008291/0.1707, allocations: 429.2 kB / 0.6455 GB, free: 5.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1707, allocations: 8.031 kB / 0.6455 GB, free: 5.973 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.106e-05/0.1708, allocations: 16.89 kB / 0.6455 GB, free: 5.957 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000661/0.1715, allocations: 190.5 kB / 0.6457 GB, free: 5.746 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.219e-05/0.1715, allocations: 16.36 kB / 0.6457 GB, free: 5.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.1716, allocations: 20.38 kB / 0.6458 GB, free: 5.711 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.1718, allocations: 127.9 kB / 0.6459 GB, free: 5.574 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1718, allocations: 3.938 kB / 0.6459 GB, free: 5.57 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.1719, allocations: 8 kB / 0.6459 GB, free: 5.562 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.1719, allocations: 0 / 0.6459 GB, free: 5.562 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.172, allocations: 67.89 kB / 0.646 GB, free: 5.496 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008053/0.1728, allocations: 424.6 kB / 0.6464 GB, free: 5.047 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.1731, allocations: 145 kB / 0.6465 GB, free: 4.887 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.49e-05/0.1732, allocations: 49.69 kB / 0.6465 GB, free: 4.832 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.1732, allocations: 7.938 kB / 0.6466 GB, free: 4.824 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004266/0.1736, allocations: 211.1 kB / 0.6468 GB, free: 4.602 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.333e-06/0.1736, allocations: 0 / 0.6468 GB, free: 4.602 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0006171/0.1743, allocations: 315.8 kB / 0.6471 GB, free: 4.289 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.482e-05/0.1743, allocations: 89.23 kB / 0.6471 GB, free: 4.184 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.1745, allocations: 138 kB / 0.6473 GB, free: 4.039 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.094e-05/0.1745, allocations: 33.7 kB / 0.6473 GB, free: 4 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.265e-05/0.1746, allocations: 100.6 kB / 0.6474 GB, free: 3.898 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.096e-05/0.1747, allocations: 59.61 kB / 0.6475 GB, free: 3.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.1748, allocations: 69.69 kB / 0.6475 GB, free: 3.766 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.175, allocations: 322.8 kB / 0.6478 GB, free: 3.441 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.1752, allocations: 147.6 kB / 0.648 GB, free: 3.281 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.1755, allocations: 212 kB / 0.6482 GB, free: 3.035 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/0.1759, allocations: 257.9 kB / 0.6484 GB, free: 2.746 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1759, allocations: 0 / 0.6484 GB, free: 2.746 MB / 0.545 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006979/0.1766, allocations: 424 kB / 0.6488 GB, free: 2.301 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.826e-05/0.1767, allocations: 63.39 kB / 0.6489 GB, free: 2.227 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.1767, allocations: 4 kB / 0.6489 GB, free: 2.223 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.1767, allocations: 4 kB / 0.6489 GB, free: 2.219 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.1768, allocations: 23.92 kB / 0.6489 GB, free: 2.195 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.1768, allocations: 4.219 kB / 0.6489 GB, free: 2.191 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.1772, allocations: 71.77 kB / 0.649 GB, free: 2.121 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-05/0.1773, allocations: 15.98 kB / 0.649 GB, free: 2.105 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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.0001623/0.1774, allocations: 143.8 kB / 0.6491 GB, free: 1.957 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.1775, allocations: 19.89 kB / 0.6492 GB, free: 1.938 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.13e-05/0.1775, allocations: 16.44 kB / 0.6492 GB, free: 1.922 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.1775, allocations: 4 kB / 0.6492 GB, free: 1.918 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1775, allocations: 3.938 kB / 0.6492 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/0.1775, allocations: 3.938 kB / 0.6492 GB, free: 1.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006815/0.1782, allocations: 0.552 MB / 0.6497 GB, free: 1.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1782, allocations: 0 / 0.6497 GB, free: 1.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.581e-05/0.1783, allocations: 8 kB / 0.6497 GB, free: 1.312 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1783, allocations: 0 / 0.6497 GB, free: 1.312 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.1783, allocations: 11.98 kB / 0.6497 GB, free: 1.301 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.1783, allocations: 3.938 kB / 0.6498 GB, free: 1.297 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1783, allocations: 80 / 0.6498 GB, free: 1.297 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005393/0.1788, allocations: 446.5 kB / 0.6502 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.148e-05/0.1789, allocations: 7.953 kB / 0.6502 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.1789, allocations: 11.98 kB / 0.6502 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.1791, allocations: 11.98 kB / 0.6502 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.025e-05/0.1791, allocations: 27.89 kB / 0.6502 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.1792, allocations: 12 kB / 0.6502 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.183e-05/0.1792, allocations: 102.5 kB / 0.6503 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1792, allocations: 0 / 0.6503 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003871/0.1796, allocations: 59.92 kB / 0.6504 GB, free: 0.6172 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * 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.0001855/0.1798, allocations: 119.2 kB / 0.6505 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005459/0.1804, allocations: 374.9 kB / 0.6509 GB, free: 92 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1804, allocations: 0 / 0.6509 GB, free: 92 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.1805, allocations: 83.89 kB / 0.651 GB, free: 8 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.181, allocations: 27.97 kB / 0.651 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005978/0.1816, allocations: 280.6 kB / 0.6512 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.1817, allocations: 88.97 kB / 0.6513 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.302e-05/0.1817, allocations: 21.48 kB / 0.6514 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.223e-05/0.1818, allocations: 24.48 kB / 0.6514 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.1818, allocations: 0 / 0.6514 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of Templates: time 0.007008/0.1888, allocations: 2.885 MB / 0.6542 GB, free: 12.7 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.485810018028133] Failed to read output from testmodel.py, exit status != 0: 0.19717341207433492 0.21271276800000002 0.039670111 Calling exit ...