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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset") translateModel(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 110.4 kB / 16.42 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 185.5 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002233/0.002233, allocations: 289.9 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.927/0.927, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 95.86 kB / 0.6821 GB, free: 7.008 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4346/0.4364, allocations: 86.98 MB / 0.767 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset): time 0.005179/0.4416, allocations: 4.119 MB / 0.771 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00229/0.4439, allocations: 1.329 MB / 0.7723 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003349/0.4443, allocations: 23.88 kB / 0.7724 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003323/0.4446, allocations: 122.8 kB / 0.7725 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003286/0.445, allocations: 182.4 kB / 0.7727 GB, free: 14.03 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008053/0.4458, allocations: 416 kB / 0.773 GB, free: 13.63 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008476/0.4466, allocations: 0.9671 MB / 0.774 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006013/0.4472, allocations: 461.8 kB / 0.7744 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003348/0.4476, allocations: 334.7 kB / 0.7748 GB, free: 11.87 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003394/0.4479, allocations: 342.3 kB / 0.7751 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.448, allocations: 92 kB / 0.7752 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.4482, allocations: 88 kB / 0.7753 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.4483, allocations: 179.4 kB / 0.7754 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003004/0.4486, allocations: 390.1 kB / 0.7758 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008807/0.4495, allocations: 1.061 MB / 0.7768 GB, free: 9.734 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.4495, allocations: 0 / 0.7768 GB, free: 9.734 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4495, allocations: 0 / 0.7768 GB, free: 9.734 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.4496, allocations: 8 kB / 0.7768 GB, free: 9.727 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001782/0.4513, allocations: 1.081 MB / 0.7779 GB, free: 8.586 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.4514, allocations: 8.031 kB / 0.7779 GB, free: 8.578 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.4515, allocations: 84 kB / 0.778 GB, free: 8.496 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000913/0.4524, allocations: 0.5573 MB / 0.7785 GB, free: 7.902 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/0.4525, allocations: 49.67 kB / 0.7786 GB, free: 7.855 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.326e-05/0.4526, allocations: 60.38 kB / 0.7786 GB, free: 7.797 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.4537, allocations: 0.6079 MB / 0.7792 GB, free: 7.168 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.4537, allocations: 11.84 kB / 0.7792 GB, free: 7.156 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.525e-05/0.4538, allocations: 20 kB / 0.7793 GB, free: 7.137 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.4538, allocations: 16 kB / 0.7793 GB, free: 7.121 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009924/0.4548, allocations: 464.9 kB / 0.7797 GB, free: 6.664 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002734/0.4575, allocations: 1.985 MB / 0.7817 GB, free: 4.609 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009247/0.4585, allocations: 444.7 kB / 0.7821 GB, free: 4.168 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004447/0.4589, allocations: 234.1 kB / 0.7823 GB, free: 3.938 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.703e-05/0.459, allocations: 8.438 kB / 0.7823 GB, free: 3.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005313/0.4595, allocations: 273.1 kB / 0.7826 GB, free: 3.652 MB / 0.545 GB Notification: Performance of pre-optimization done (n=49): time 2.846e-06/0.4595, allocations: 0 / 0.7826 GB, free: 3.652 MB / 0.545 GB Notification: Performance of matching and sorting (n=49): time 0.001273/0.4608, allocations: 0.5805 MB / 0.7831 GB, free: 3.07 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.4608, allocations: 59.84 kB / 0.7832 GB, free: 3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004711/0.4613, allocations: 438.8 kB / 0.7836 GB, free: 2.562 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.4614, allocations: 33.7 kB / 0.7836 GB, free: 2.523 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.4616, allocations: 332.2 kB / 0.784 GB, free: 2.191 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.4617, allocations: 165.5 kB / 0.7841 GB, free: 2.027 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.4619, allocations: 94.23 kB / 0.7842 GB, free: 1.926 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.4621, allocations: 366.7 kB / 0.7846 GB, free: 1.559 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003901/0.4625, allocations: 169 kB / 0.7847 GB, free: 1.395 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004352/0.4629, allocations: 249.8 kB / 0.785 GB, free: 1.125 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007956/0.4637, allocations: 452 kB / 0.7854 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.4637, allocations: 0 / 0.7854 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00103/0.4648, allocations: 0.5625 MB / 0.7859 GB, free: 80 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/0.4648, allocations: 45.64 kB / 0.786 GB, free: 28 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4648, allocations: 0 / 0.786 GB, free: 28 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4648, allocations: 8 kB / 0.786 GB, free: 20 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005108/0.4654, allocations: 119.9 kB / 0.7861 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.4654, allocations: 4 kB / 0.7861 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/0.4657, allocations: 55.56 kB / 0.7862 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/0.4657, allocations: 16 kB / 0.7862 GB, free: 15.82 MB / 0.5606 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 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$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.0002597/0.466, allocations: 216.8 kB / 0.7864 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.916e-05/0.4661, allocations: 59.28 kB / 0.7864 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.4662, allocations: 61.58 kB / 0.7865 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.4663, allocations: 3.984 kB / 0.7865 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.4663, allocations: 3.984 kB / 0.7865 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.4664, allocations: 172.2 kB / 0.7867 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.731e-05/0.4665, allocations: 12 kB / 0.7867 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.4668, allocations: 23.97 kB / 0.7867 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.4669, allocations: 40.39 kB / 0.7867 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001274/0.4682, allocations: 0.5542 MB / 0.7873 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001377/0.4696, allocations: 0.8454 MB / 0.7881 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003916/0.47, allocations: 207.4 kB / 0.7883 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003249/0.4703, allocations: 310.9 kB / 0.7886 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of Backend: time 4.31e-07/0.4703, allocations: 0 / 0.7886 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009212/0.4713, allocations: 411.3 kB / 0.789 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of SimCode: time 0.002274/0.4735, allocations: 1.7 MB / 0.7907 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of Templates: time 0.01244/0.486, allocations: 7.066 MB / 0.7976 GB, free: 4.148 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)