Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.938/1.938, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001177/0.001177, allocations: 193 kB / 377.1 MB, free: 1.516 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.157/2.157, allocations: 205.4 MB / 0.6367 GB, free: 8.633 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001369/0.00137, allocations: 85.42 kB / 0.751 GB, free: 63.03 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.0003791, allocations: 12 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3335, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8778/1.211, allocations: 146.8 MB / 1.132 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/1.212, allocations: 83.58 kB / 1.132 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02052/1.232, allocations: 7.559 MB / 1.139 GB, free: 24.41 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.164e-06/1.232, allocations: 0 / 1.139 GB, free: 24.41 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.018e-05/1.232, allocations: 12.12 kB / 1.139 GB, free: 24.39 MB / 0.7292 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.001433/1.234, allocations: 0.7077 MB / 1.14 GB, free: 23.7 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/1.234, allocations: 16.02 kB / 1.14 GB, free: 23.68 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/1.234, allocations: 50.2 kB / 1.14 GB, free: 23.63 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007151/1.235, allocations: 398.7 kB / 1.14 GB, free: 23.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.463e-05/1.235, allocations: 33.19 kB / 1.14 GB, free: 23.21 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.601e-05/1.235, allocations: 36 kB / 1.14 GB, free: 23.18 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007713/1.236, allocations: 420.8 kB / 1.141 GB, free: 22.8 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/1.236, allocations: 1.719 kB / 1.141 GB, free: 22.8 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.14e-05/1.236, allocations: 20.66 kB / 1.141 GB, free: 22.78 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/1.236, allocations: 15.38 kB / 1.141 GB, free: 22.77 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006346/1.236, allocations: 291.5 kB / 1.141 GB, free: 22.52 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002182/1.239, allocations: 1.38 MB / 1.142 GB, free: 21.29 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007195/1.239, allocations: 352.2 kB / 1.143 GB, free: 20.96 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.295e-05/1.239, allocations: 7.75 kB / 1.143 GB, free: 20.96 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003828/1.24, allocations: 194.7 kB / 1.143 GB, free: 20.79 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 2.425e-06/1.24, allocations: 0 / 1.143 GB, free: 20.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.0008408/1.241, allocations: 430.8 kB / 1.143 GB, free: 20.4 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.61e-05/1.241, allocations: 137.7 kB / 1.143 GB, free: 20.23 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003919/1.241, allocations: 323 kB / 1.144 GB, free: 19.95 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/1.241, allocations: 35.02 kB / 1.144 GB, free: 19.91 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/1.241, allocations: 235.3 kB / 1.144 GB, free: 19.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.63e-05/1.241, allocations: 103.2 kB / 1.144 GB, free: 19.6 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.523e-05/1.241, allocations: 8 kB / 1.144 GB, free: 19.59 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.975e-05/1.242, allocations: 347.9 kB / 1.144 GB, free: 19.26 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/1.242, allocations: 117.2 kB / 1.145 GB, free: 19.16 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/1.242, allocations: 192 kB / 1.145 GB, free: 18.96 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/1.242, allocations: 123.6 kB / 1.145 GB, free: 18.85 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.242, allocations: 3.938 kB / 1.145 GB, free: 18.85 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005912/1.243, allocations: 375.1 kB / 1.145 GB, free: 18.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/1.243, allocations: 4.797 kB / 1.145 GB, free: 18.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/1.243, allocations: 4 kB / 1.145 GB, free: 18.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/1.243, allocations: 0.9375 kB / 1.145 GB, free: 18.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/1.243, allocations: 69.39 kB / 1.145 GB, free: 18.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/1.243, allocations: 4.609 kB / 1.145 GB, free: 18.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/1.244, allocations: 57.77 kB / 1.145 GB, free: 18.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.368e-05/1.244, allocations: 8.656 kB / 1.145 GB, free: 18.37 MB / 0.7292 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.0002034/1.244, allocations: 175 kB / 1.146 GB, free: 18.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.699e-05/1.244, allocations: 48.78 kB / 1.146 GB, free: 18.15 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.004e-05/1.244, allocations: 40.58 kB / 1.146 GB, free: 18.11 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/1.244, allocations: 8.797 kB / 1.146 GB, free: 18.11 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/1.244, allocations: 0 / 1.146 GB, free: 18.11 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/1.244, allocations: 2.812 kB / 1.146 GB, free: 18.11 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/1.245, allocations: 0.8696 MB / 1.147 GB, free: 17.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.245, allocations: 1.344 kB / 1.147 GB, free: 17.31 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/1.245, allocations: 51.81 kB / 1.147 GB, free: 17.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/1.245, allocations: 0 / 1.147 GB, free: 17.27 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/1.245, allocations: 9.359 kB / 1.147 GB, free: 17.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/1.245, allocations: 0.5625 kB / 1.147 GB, free: 17.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.246, allocations: 0 / 1.147 GB, free: 17.26 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008196/1.246, allocations: 0.5772 MB / 1.147 GB, free: 16.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/1.246, allocations: 143.1 kB / 1.147 GB, free: 16.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.065e-05/1.247, allocations: 5.875 kB / 1.147 GB, free: 16.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/1.247, allocations: 34.86 kB / 1.147 GB, free: 16.52 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/1.247, allocations: 22.78 kB / 1.147 GB, free: 16.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/1.247, allocations: 9.688 kB / 1.147 GB, free: 16.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002792/1.247, allocations: 255.1 kB / 1.148 GB, free: 16.28 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.247, allocations: 0 / 1.148 GB, free: 16.28 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003707/1.248, allocations: 88.25 kB / 1.148 GB, free: 16.2 MB / 0.7292 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.0001538/1.248, allocations: 112.9 kB / 1.148 GB, free: 16.08 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005656/1.248, allocations: 292.7 kB / 1.148 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/1.248, allocations: 0 / 1.148 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002573/1.249, allocations: 154 kB / 1.148 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004777/1.249, allocations: 85.88 kB / 1.148 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/1.251, allocations: 0.9684 MB / 1.149 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/1.251, allocations: 0.8194 MB / 1.15 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002105/1.251, allocations: 52.11 kB / 1.15 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.865e-05/1.251, allocations: 28.75 kB / 1.15 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of SimCode: time 3e-07/1.251, allocations: 0 / 1.15 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of Templates: time 0.009111/1.26, allocations: 3.711 MB / 1.154 GB, free: 11.78 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)