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.002304/0.002304, allocations: 89.48 kB / 19.44 MB, free: 336 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.002291/0.002291, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.578/1.578, allocations: 177.1 MB / 203.1 MB, free: 5.547 MB / 186.7 MB " [Timeout remaining time 178] 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.003407/0.003407, allocations: 246.5 kB / 259.8 MB, free: 12.87 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 1.24/1.24, allocations: 138.4 MB / 454.7 MB, free: 1.52 MB / 362.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.974e-06/1.974e-06, allocations: 0 / 0.5543 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.536e-05/3.733e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset): time 0.0101/0.01014, allocations: 3.959 MB / 0.5582 GB, free: 12.95 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004405/0.01454, allocations: 1.341 MB / 0.5595 GB, free: 11.61 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006635/0.0152, allocations: 35.75 kB / 0.5595 GB, free: 11.57 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005779/0.01578, allocations: 126.8 kB / 0.5596 GB, free: 11.45 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007758/0.01656, allocations: 190.2 kB / 0.5598 GB, free: 11.26 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.01805, allocations: 411.4 kB / 0.5602 GB, free: 10.86 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001949/0.02, allocations: 0.9785 MB / 0.5611 GB, free: 9.875 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008789/0.02088, allocations: 286.6 kB / 0.5614 GB, free: 9.574 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/0.02204, allocations: 0.5028 MB / 0.5619 GB, free: 9.07 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006135/0.02266, allocations: 239.2 kB / 0.5621 GB, free: 8.836 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002322/0.02289, allocations: 96 kB / 0.5622 GB, free: 8.742 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/0.02312, allocations: 92 kB / 0.5623 GB, free: 8.652 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002697/0.02338, allocations: 175.4 kB / 0.5625 GB, free: 8.48 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005234/0.02391, allocations: 255.3 kB / 0.5627 GB, free: 8.23 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002107/0.02601, allocations: 1.09 MB / 0.5638 GB, free: 7.137 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.02602, allocations: 0 / 0.5638 GB, free: 7.137 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.02602, allocations: 0 / 0.5638 GB, free: 7.137 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.732e-05/0.02605, allocations: 3.938 kB / 0.5638 GB, free: 7.133 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.003665/0.02971, allocations: 1.28 MB / 0.565 GB, free: 5.805 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.02976, allocations: 16.75 kB / 0.5651 GB, free: 5.789 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003664/0.03013, allocations: 128.4 kB / 0.5652 GB, free: 5.664 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/0.03173, allocations: 0.5331 MB / 0.5657 GB, free: 5.102 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-05/0.03182, allocations: 49.69 kB / 0.5658 GB, free: 5.051 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/0.03198, allocations: 56.38 kB / 0.5658 GB, free: 4.996 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/0.03406, allocations: 0.7061 MB / 0.5665 GB, free: 4.246 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.148e-05/0.0341, allocations: 8.141 kB / 0.5665 GB, free: 4.238 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.969e-05/0.03419, allocations: 20.38 kB / 0.5665 GB, free: 4.219 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.049e-05/0.03422, allocations: 19.94 kB / 0.5665 GB, free: 4.199 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.03596, allocations: 433 kB / 0.567 GB, free: 3.777 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005719/0.04168, allocations: 2.186 MB / 0.5691 GB, free: 1.535 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/0.04321, allocations: 429.9 kB / 0.5695 GB, free: 1.102 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007734/0.04398, allocations: 225.1 kB / 0.5697 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.148e-05/0.04404, allocations: 8.5 kB / 0.5697 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009823/0.04503, allocations: 271.8 kB / 0.57 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of pre-optimization done (n=49): time 2.775e-06/0.04503, allocations: 0 / 0.57 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of matching and sorting (n=49): time 0.002151/0.04718, allocations: 0.5717 MB / 0.5705 GB, free: 12 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.04729, allocations: 63.84 kB / 0.5706 GB, free: 15.94 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.04854, allocations: 0.6002 MB / 0.5712 GB, free: 15.32 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 7.126e-05/0.04861, allocations: 37.7 kB / 0.5712 GB, free: 15.28 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005836/0.0492, allocations: 419.6 kB / 0.5716 GB, free: 14.86 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003108/0.04951, allocations: 186.5 kB / 0.5718 GB, free: 14.68 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000324/0.04983, allocations: 120 kB / 0.5719 GB, free: 14.55 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.000561/0.05039, allocations: 0.5782 MB / 0.5725 GB, free: 13.96 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006935/0.05109, allocations: 194.9 kB / 0.5727 GB, free: 13.77 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000868/0.05196, allocations: 309.9 kB / 0.573 GB, free: 13.42 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.05346, allocations: 496.6 kB / 0.5734 GB, free: 12.89 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.05347, allocations: 0 / 0.5734 GB, free: 12.89 MB / 0.4949 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001872/0.05534, allocations: 0.5942 MB / 0.574 GB, free: 12.28 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 5.685e-05/0.0554, allocations: 37.69 kB / 0.5741 GB, free: 12.24 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.05541, allocations: 4 kB / 0.5741 GB, free: 12.23 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.05543, allocations: 4 kB / 0.5741 GB, free: 12.23 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008097/0.05624, allocations: 111.8 kB / 0.5742 GB, free: 12.12 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.22e-05/0.05626, allocations: 7.938 kB / 0.5742 GB, free: 12.11 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004982/0.05676, allocations: 51.91 kB / 0.5742 GB, free: 12.06 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-05/0.05683, allocations: 20 kB / 0.5742 GB, free: 12.04 MB / 0.4949 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.0005025/0.05733, allocations: 256.4 kB / 0.5745 GB, free: 11.78 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/0.05752, allocations: 75.62 kB / 0.5746 GB, free: 11.71 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.05775, allocations: 61.44 kB / 0.5746 GB, free: 11.65 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.05776, allocations: 8 kB / 0.5746 GB, free: 11.64 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.05777, allocations: 3.938 kB / 0.5746 GB, free: 11.64 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.05778, allocations: 0 / 0.5746 GB, free: 11.64 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003253/0.06103, allocations: 1.183 MB / 0.5758 GB, free: 10.41 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.06104, allocations: 0 / 0.5758 GB, free: 10.41 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008355/0.06187, allocations: 91.89 kB / 0.5759 GB, free: 10.32 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.365e-05/0.06189, allocations: 7.984 kB / 0.5759 GB, free: 10.31 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.974e-05/0.06194, allocations: 7.938 kB / 0.5759 GB, free: 10.3 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.036e-05/0.06195, allocations: 8 kB / 0.5759 GB, free: 10.3 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.06195, allocations: 0 / 0.5759 GB, free: 10.3 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002436/0.06438, allocations: 0.8143 MB / 0.5767 GB, free: 9.461 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002503/0.06463, allocations: 99.45 kB / 0.5768 GB, free: 9.363 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.204e-05/0.06472, allocations: 15.94 kB / 0.5768 GB, free: 9.348 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000289/0.06501, allocations: 19.98 kB / 0.5768 GB, free: 9.328 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.06511, allocations: 32.44 kB / 0.5769 GB, free: 9.297 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/0.06515, allocations: 15.98 kB / 0.5769 GB, free: 9.281 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0004773/0.06562, allocations: 375 kB / 0.5772 GB, free: 8.918 MB / 0.4949 GB Notification: Performance of sort global known variables: time 6e-08/0.06562, allocations: 0 / 0.5772 GB, free: 8.918 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0004623/0.06609, allocations: 147.6 kB / 0.5774 GB, free: 8.773 MB / 0.4949 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.0001584/0.06625, allocations: 119.2 kB / 0.5775 GB, free: 8.648 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.06725, allocations: 0.5042 MB / 0.578 GB, free: 8.121 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.06725, allocations: 0 / 0.578 GB, free: 8.121 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0004499/0.0677, allocations: 231.5 kB / 0.5782 GB, free: 7.895 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007955/0.0685, allocations: 150.6 kB / 0.5783 GB, free: 7.75 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.07103, allocations: 1.266 MB / 0.5796 GB, free: 6.441 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.07141, allocations: 292.7 kB / 0.5798 GB, free: 6.129 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0002598/0.07167, allocations: 64.55 kB / 0.5799 GB, free: 6.066 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.07181, allocations: 40.5 kB / 0.5799 GB, free: 6.027 MB / 0.4949 GB Notification: Performance of SimCode: time 5.11e-07/0.07181, allocations: 3.938 kB / 0.58 GB, free: 6.023 MB / 0.4949 GB Notification: Performance of Templates: time 0.01346/0.08528, allocations: 5.815 MB / 0.5856 GB, free: 360 kB / 0.4949 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: 6.390403170022182]