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.0008937/0.0008937, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001893/0.001893, allocations: 169.3 kB / 23.02 MB, free: 1.551 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.9421/0.9421, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001701/0.001701, allocations: 225.5 kB / 260.2 MB, free: 12.83 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7288/0.7288, allocations: 138.4 MB / 455.2 MB, free: 30.07 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.382e-06/1.382e-06, allocations: 0 / 0.555 GB, free: 204 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.051e-05, allocations: 6.109 kB / 0.5551 GB, free: 200 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset): time 0.003926/0.003947, allocations: 4.014 MB / 0.559 GB, free: 12.15 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.00569, allocations: 1.352 MB / 0.5603 GB, free: 10.79 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000263/0.005953, allocations: 31.75 kB / 0.5603 GB, free: 10.76 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.006218, allocations: 126.7 kB / 0.5604 GB, free: 10.64 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.006475, allocations: 198.2 kB / 0.5606 GB, free: 10.44 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005762/0.007051, allocations: 407.4 kB / 0.561 GB, free: 10.04 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006723/0.007723, allocations: 0.9823 MB / 0.562 GB, free: 9.059 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003655/0.008088, allocations: 306.5 kB / 0.5623 GB, free: 8.738 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004051/0.008494, allocations: 0.495 MB / 0.5628 GB, free: 8.242 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.008716, allocations: 239.2 kB / 0.563 GB, free: 8.008 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 8.066e-05/0.008797, allocations: 91.98 kB / 0.5631 GB, free: 7.918 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.444e-05/0.008871, allocations: 92 kB / 0.5632 GB, free: 7.828 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.438e-05/0.008966, allocations: 179.4 kB / 0.5633 GB, free: 7.652 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.009137, allocations: 247.4 kB / 0.5636 GB, free: 7.41 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004926/0.00963, allocations: 0.5799 MB / 0.5641 GB, free: 6.828 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.009633, allocations: 0 / 0.5641 GB, free: 6.828 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.009634, allocations: 0 / 0.5641 GB, free: 6.828 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.009641, allocations: 4 kB / 0.5641 GB, free: 6.824 MB / 490.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.001163/0.0108, allocations: 1.167 MB / 0.5653 GB, free: 5.609 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.01084, allocations: 9.938 kB / 0.5653 GB, free: 5.602 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.01098, allocations: 132.4 kB / 0.5654 GB, free: 5.473 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005771/0.01155, allocations: 0.5378 MB / 0.5659 GB, free: 4.906 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.01158, allocations: 45.69 kB / 0.566 GB, free: 4.859 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.693e-05/0.01165, allocations: 60.38 kB / 0.566 GB, free: 4.801 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005948/0.01224, allocations: 0.5186 MB / 0.5665 GB, free: 4.238 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.01226, allocations: 4.172 kB / 0.5665 GB, free: 4.234 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.771e-05/0.0123, allocations: 28.38 kB / 0.5666 GB, free: 4.207 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.01231, allocations: 15.94 kB / 0.5666 GB, free: 4.191 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003745/0.01269, allocations: 227.6 kB / 0.5668 GB, free: 3.969 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.01438, allocations: 1.799 MB / 0.5686 GB, free: 2.113 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003979/0.01478, allocations: 276.6 kB / 0.5688 GB, free: 1.828 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.01495, allocations: 125.1 kB / 0.5689 GB, free: 1.703 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.01498, allocations: 8.5 kB / 0.569 GB, free: 1.695 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002413/0.01522, allocations: 191.8 kB / 0.5691 GB, free: 1.496 MB / 490.7 MB Notification: Performance of pre-optimization done (n=49): time 1.823e-06/0.01522, allocations: 0 / 0.5691 GB, free: 1.496 MB / 490.7 MB Notification: Performance of matching and sorting (n=49): time 0.0005479/0.01577, allocations: 385 kB / 0.5695 GB, free: 1.117 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.0158, allocations: 59.84 kB / 0.5696 GB, free: 1.047 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/0.01611, allocations: 446.6 kB / 0.57 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.01614, allocations: 37.7 kB / 0.57 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.01632, allocations: 375.6 kB / 0.5704 GB, free: 184 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.286e-05/0.01641, allocations: 182.4 kB / 0.5706 GB, free: 0 / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.01652, allocations: 99.95 kB / 0.5707 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.01667, allocations: 0.5313 MB / 0.5712 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.01682, allocations: 110.9 kB / 0.5713 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.017, allocations: 209.9 kB / 0.5715 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.01731, allocations: 304.7 kB / 0.5718 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.01731, allocations: 0 / 0.5718 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004638/0.01778, allocations: 452.4 kB / 0.5722 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.01781, allocations: 33.7 kB / 0.5722 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.01781, allocations: 0 / 0.5722 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.01783, allocations: 8 kB / 0.5722 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.01812, allocations: 111.8 kB / 0.5723 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.01812, allocations: 7.938 kB / 0.5724 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.01826, allocations: 51.97 kB / 0.5724 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.01829, allocations: 20 kB / 0.5724 GB, free: 13.95 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * 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.0001363/0.01842, allocations: 184.5 kB / 0.5726 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.933e-05/0.01848, allocations: 71.66 kB / 0.5727 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.186e-05/0.01855, allocations: 65.44 kB / 0.5727 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.01856, allocations: 4 kB / 0.5727 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.01856, allocations: 3.938 kB / 0.5727 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.01857, allocations: 3.984 kB / 0.5727 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008509/0.01942, allocations: 0.8782 MB / 0.5736 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01942, allocations: 0 / 0.5736 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.01967, allocations: 87.89 kB / 0.5737 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.01967, allocations: 4 kB / 0.5737 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.01969, allocations: 15.92 kB / 0.5737 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.0197, allocations: 4 kB / 0.5737 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.0197, allocations: 0 / 0.5737 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005554/0.02025, allocations: 0.5565 MB / 0.5742 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.02036, allocations: 95.5 kB / 0.5743 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/0.0204, allocations: 19.94 kB / 0.5744 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.02052, allocations: 15.98 kB / 0.5744 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.746e-05/0.02059, allocations: 40.42 kB / 0.5744 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.02061, allocations: 12 kB / 0.5744 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002387/0.02085, allocations: 291 kB / 0.5747 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.11e-07/0.02085, allocations: 3.938 kB / 0.5747 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002703/0.02112, allocations: 139.6 kB / 0.5748 GB, free: 11.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * 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 0.0001048/0.02122, allocations: 122.4 kB / 0.575 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004031/0.02163, allocations: 344.3 kB / 0.5753 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.02163, allocations: 0 / 0.5753 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.0218, allocations: 143.5 kB / 0.5754 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.02226, allocations: 168.7 kB / 0.5756 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.02387, allocations: 1.168 MB / 0.5767 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.574e-05/0.02395, allocations: 137.8 kB / 0.5769 GB, free: 9.254 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001471/0.0241, allocations: 64.55 kB / 0.5769 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.242e-05/0.02419, allocations: 36.5 kB / 0.5769 GB, free: 9.156 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.02419, allocations: 0 / 0.5769 GB, free: 9.156 MB / 0.4948 GB Notification: Performance of Templates: time 0.008222/0.03242, allocations: 5.834 MB / 0.5826 GB, free: 3.477 MB / 0.4948 GB " [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.900006459094584]