Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.497/2.497, allocations: 287.5 MB / 303.2 MB, free: 8.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001312/0.001311, allocations: 172.2 kB / 371.8 MB, free: 10.76 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.106/2.106, allocations: 205.4 MB / 0.6305 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009184/0.0009181, allocations: 87.86 kB / 0.7438 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004818/0.0004819, allocations: 14.91 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2112, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9346/1.146, allocations: 145.7 MB / 1.122 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/1.146, allocations: 80.27 kB / 1.122 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02822/1.174, allocations: 7.572 MB / 1.129 GB, free: 30.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.054e-06/1.174, allocations: 3.938 kB / 1.129 GB, free: 30.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.702e-05/1.175, allocations: 15.5 kB / 1.129 GB, free: 30.98 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001587/1.176, allocations: 0.6971 MB / 1.13 GB, free: 30.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/1.176, allocations: 11.5 kB / 1.13 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/1.176, allocations: 51.31 kB / 1.13 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000738/1.177, allocations: 414.4 kB / 1.13 GB, free: 30.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.472e-05/1.177, allocations: 28.12 kB / 1.13 GB, free: 30.17 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.611e-05/1.177, allocations: 38.89 kB / 1.13 GB, free: 30.17 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/1.178, allocations: 431.5 kB / 1.131 GB, free: 30.06 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/1.178, allocations: 3.938 kB / 1.131 GB, free: 30.05 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.608e-05/1.178, allocations: 19.47 kB / 1.131 GB, free: 30.05 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/1.178, allocations: 7.688 kB / 1.131 GB, free: 30.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009545/1.179, allocations: 298.1 kB / 1.131 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002706/1.182, allocations: 1.372 MB / 1.132 GB, free: 29.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/1.183, allocations: 354.3 kB / 1.133 GB, free: 29.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004045/1.184, allocations: 156 kB / 1.133 GB, free: 29.17 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-05/1.184, allocations: 7.781 kB / 1.133 GB, free: 29.17 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005256/1.184, allocations: 189.5 kB / 1.133 GB, free: 29.08 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 3.527e-06/1.184, allocations: 0 / 1.133 GB, free: 29.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.001352/1.186, allocations: 438.1 kB / 1.133 GB, free: 28.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.87e-05/1.186, allocations: 136.3 kB / 1.134 GB, free: 28.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005751/1.186, allocations: 363.2 kB / 1.134 GB, free: 28.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.337e-05/1.186, allocations: 33.27 kB / 1.134 GB, free: 28.63 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/1.187, allocations: 231.5 kB / 1.134 GB, free: 28.48 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/1.187, allocations: 100.2 kB / 1.134 GB, free: 28.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/1.187, allocations: 10.97 kB / 1.134 GB, free: 28.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001746/1.187, allocations: 348 kB / 1.135 GB, free: 28.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000417/1.187, allocations: 115.7 kB / 1.135 GB, free: 28.07 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004293/1.188, allocations: 188 kB / 1.135 GB, free: 27.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007386/1.189, allocations: 273 kB / 1.135 GB, free: 27.92 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/1.189, allocations: 0 / 1.135 GB, free: 27.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001063/1.19, allocations: 378.4 kB / 1.135 GB, free: 27.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/1.19, allocations: 7.688 kB / 1.135 GB, free: 27.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/1.19, allocations: 0 / 1.135 GB, free: 27.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/1.19, allocations: 3.844 kB / 1.135 GB, free: 27.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004842/1.19, allocations: 65.09 kB / 1.136 GB, free: 27.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/1.19, allocations: 0 / 1.136 GB, free: 27.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004628/1.191, allocations: 58 kB / 1.136 GB, free: 27.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/1.191, allocations: 11.8 kB / 1.136 GB, free: 27.78 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004332/1.191, allocations: 171.8 kB / 1.136 GB, free: 27.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.135e-05/1.191, allocations: 42.75 kB / 1.136 GB, free: 27.63 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/1.192, allocations: 53.17 kB / 1.136 GB, free: 27.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/1.192, allocations: 0 / 1.136 GB, free: 27.62 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/1.192, allocations: 7.844 kB / 1.136 GB, free: 27.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/1.192, allocations: 4 kB / 1.136 GB, free: 27.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/1.193, allocations: 0.8642 MB / 1.137 GB, free: 27.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/1.193, allocations: 8 kB / 1.137 GB, free: 27.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004675/1.194, allocations: 50.19 kB / 1.137 GB, free: 27.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/1.194, allocations: 3.781 kB / 1.137 GB, free: 27.15 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/1.194, allocations: 7.172 kB / 1.137 GB, free: 27.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/1.194, allocations: 3.875 kB / 1.137 GB, free: 27.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.194, allocations: 0 / 1.137 GB, free: 27.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/1.195, allocations: 0.5772 MB / 1.137 GB, free: 26.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002392/1.196, allocations: 144.5 kB / 1.137 GB, free: 26.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.056e-05/1.196, allocations: 10.62 kB / 1.137 GB, free: 26.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004404/1.196, allocations: 26.23 kB / 1.138 GB, free: 26.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/1.196, allocations: 26.61 kB / 1.138 GB, free: 26.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-05/1.197, allocations: 11.56 kB / 1.138 GB, free: 26.78 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006206/1.197, allocations: 251.7 kB / 1.138 GB, free: 26.67 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.61e-07/1.197, allocations: 0 / 1.138 GB, free: 26.67 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008566/1.198, allocations: 85.91 kB / 1.138 GB, free: 26.66 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.and3.u1) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002641/1.198, allocations: 120.8 kB / 1.138 GB, free: 26.55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001306/1.2, allocations: 294.9 kB / 1.138 GB, free: 26.51 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/1.2, allocations: 0 / 1.138 GB, free: 26.51 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006515/1.2, allocations: 149.9 kB / 1.138 GB, free: 26.49 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/1.202, allocations: 80.53 kB / 1.138 GB, free: 26.46 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/1.205, allocations: 0.976 MB / 1.139 GB, free: 25.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007455/1.206, allocations: 0.8124 MB / 1.14 GB, free: 25.09 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004879/1.206, allocations: 53.3 kB / 1.14 GB, free: 25.06 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/1.207, allocations: 26.5 kB / 1.14 GB, free: 25.05 MB / 0.698 GB Notification: Performance of SimCode: time 1.252e-06/1.207, allocations: 0 / 1.14 GB, free: 25.05 MB / 0.698 GB Notification: Performance of Templates: time 0.01654/1.223, allocations: 3.734 MB / 1.144 GB, free: 23.26 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)