Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.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.000668/0.000668, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008912/0.001559, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006865/0.0006865, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008984/0.001585, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.861/0.861, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07958/0.9405, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00128/0.00128, allocations: 240.1 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000981/0.002261, allocations: 467.5 kB / 244.7 MB, free: 14.18 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.676/0.676, allocations: 138.7 MB / 384.1 MB, free: 500 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06079/0.7368, allocations: 42.4 MB / 426.5 MB, free: 5.953 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset") translateModel(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 427.7 MB, free: 4.684 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.306e-06/9.468e-06, allocations: 2.312 kB / 427.8 MB, free: 4.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset): time 0.003288/0.003298, allocations: 4.009 MB / 431.8 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1608/0.1641, allocations: 1.4 MB / 433.2 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003662/0.1645, allocations: 30.38 kB / 433.2 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002314/0.1647, allocations: 132.6 kB / 433.3 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002911/0.165, allocations: 191.3 kB / 433.5 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005224/0.1655, allocations: 417.2 kB / 433.9 MB, free: 1.168 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005975/0.1661, allocations: 0.9595 MB / 434.9 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003059/0.1664, allocations: 302.2 kB / 435.2 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004757/0.1669, allocations: 0.5538 MB / 435.7 MB, free: 0.668 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/0.1671, allocations: 236.2 kB / 436 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.547e-05/0.1672, allocations: 88.41 kB / 436 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.445e-05/0.1673, allocations: 86.53 kB / 436.1 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.954e-05/0.1674, allocations: 143.4 kB / 436.3 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.1675, allocations: 203.3 kB / 436.5 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004329/0.168, allocations: 0.5273 MB / 437 MB, free: 332 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.297e-05/0.168, allocations: 0 / 437 MB, free: 332 kB / 410.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.168, allocations: 0 / 437 MB, free: 332 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.788e-05/0.168, allocations: 2.938 kB / 437 MB, free: 332 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001094/0.1691, allocations: 1.116 MB / 438.1 MB, free: 15.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.557e-05/0.1691, allocations: 15.03 kB / 438.1 MB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.1692, allocations: 99.89 kB / 438.2 MB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004724/0.1697, allocations: 418.6 kB / 438.6 MB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.1697, allocations: 46.28 kB / 438.7 MB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.09e-05/0.1698, allocations: 63.75 kB / 438.7 MB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004709/0.1703, allocations: 493.3 kB / 439.2 MB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.1703, allocations: 5.516 kB / 439.2 MB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.829e-05/0.1703, allocations: 23.27 kB / 439.2 MB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.1703, allocations: 17.16 kB / 439.3 MB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/0.1705, allocations: 163.5 kB / 439.4 MB, free: 15.13 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.1719, allocations: 1.289 MB / 440.7 MB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.1722, allocations: 229.3 kB / 440.9 MB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.1723, allocations: 97.55 kB / 441 MB, free: 14.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.1723, allocations: 8.781 kB / 441 MB, free: 14.35 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.1725, allocations: 161.3 kB / 441.2 MB, free: 14.29 MB / 426.7 MB Notification: Performance of pre-optimization done (n=49): time 1.734e-06/0.1725, allocations: 0.5 kB / 441.2 MB, free: 14.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=49): time 0.0003304/0.1728, allocations: 265.9 kB / 441.5 MB, free: 14.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.1729, allocations: 60.27 kB / 441.5 MB, free: 14.17 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.1731, allocations: 377.4 kB / 441.9 MB, free: 14.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.1731, allocations: 38.27 kB / 441.9 MB, free: 14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.1732, allocations: 276.9 kB / 442.2 MB, free: 13.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.591e-05/0.1733, allocations: 174.8 kB / 442.4 MB, free: 13.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.944e-05/0.1734, allocations: 97.55 kB / 442.5 MB, free: 13.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1736, allocations: 370.8 kB / 442.8 MB, free: 13.33 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.329e-05/0.1737, allocations: 77.58 kB / 442.9 MB, free: 13.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.1738, allocations: 167.5 kB / 443.1 MB, free: 13.19 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.174, allocations: 253.2 kB / 443.3 MB, free: 13.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.174, allocations: 1.125 kB / 443.3 MB, free: 13.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0002836/0.1743, allocations: 326.1 kB / 443.6 MB, free: 12.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.1743, allocations: 34.3 kB / 443.7 MB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1743, allocations: 2.094 kB / 443.7 MB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.1743, allocations: 5.281 kB / 443.7 MB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.1746, allocations: 145.5 kB / 443.8 MB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.1746, allocations: 13.41 kB / 443.8 MB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.1748, allocations: 52.42 kB / 443.9 MB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.1748, allocations: 16.05 kB / 443.9 MB, free: 12.86 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conNoRes.conPID.I.trigger_internal,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.000112/0.1749, allocations: 143.2 kB / 444 MB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.1749, allocations: 46.98 kB / 444.1 MB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.977e-05/0.175, allocations: 68 kB / 444.1 MB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.175, allocations: 5.875 kB / 444.1 MB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.175, allocations: 5.938 kB / 444.2 MB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.175, allocations: 1.031 kB / 444.2 MB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005844/0.1756, allocations: 0.5713 MB / 444.7 MB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1756, allocations: 1.625 kB / 444.7 MB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.1759, allocations: 122.7 kB / 444.8 MB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.584e-05/0.176, allocations: 67.08 kB / 444.9 MB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.176, allocations: 4.531 kB / 444.9 MB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.176, allocations: 10.81 kB / 444.9 MB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.176, allocations: 1.688 kB / 444.9 MB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.176, allocations: 0 / 444.9 MB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.1763, allocations: 401 kB / 445.3 MB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.1763, allocations: 13.36 kB / 445.3 MB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.1765, allocations: 19.41 kB / 445.4 MB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.1765, allocations: 35.78 kB / 445.4 MB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.1765, allocations: 14.16 kB / 445.4 MB, free: 12.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001074/0.1766, allocations: 159.5 kB / 445.6 MB, free: 12.15 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1766, allocations: 0.5625 kB / 445.6 MB, free: 12.15 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002422/0.1769, allocations: 144.8 kB / 445.7 MB, free: 12.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * 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 7.91e-05/0.177, allocations: 104.5 kB / 445.8 MB, free: 12.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002487/0.1772, allocations: 297.5 kB / 446.1 MB, free: 11.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/0.1772, allocations: 6.312 kB / 446.1 MB, free: 11.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.1773, allocations: 121.8 kB / 446.2 MB, free: 11.87 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.1777, allocations: 178.6 kB / 446.4 MB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003865/0.1816, allocations: 1.153 MB / 447.5 MB, free: 11.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9e-05/0.1817, allocations: 142.5 kB / 447.7 MB, free: 11.13 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001717/0.1818, allocations: 61.59 kB / 447.7 MB, free: 11.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002156/0.182, allocations: 163 kB / 447.9 MB, free: 11.07 MB / 426.7 MB Notification: Performance of SimCode: time 6.71e-07/0.182, allocations: 0 / 447.9 MB, free: 11.07 MB / 426.7 MB Notification: Performance of Templates: time 0.008758/0.1908, allocations: 6.701 MB / 454.6 MB, free: 5.566 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.292457250878215]