Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.688/1.688, allocations: 288.4 MB / 304.3 MB, free: 8.082 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.001217/0.001217, allocations: 184.4 kB / 372.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.82/1.82, allocations: 205.4 MB / 0.6317 GB, free: 9.891 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.0007944/0.0007944, allocations: 88.19 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004078/0.0004078, allocations: 15.06 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2608, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7947/1.056, allocations: 145.8 MB / 1.123 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/1.056, allocations: 75.73 kB / 1.123 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01877/1.075, allocations: 7.58 MB / 1.131 GB, free: 31.08 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.817e-06/1.075, allocations: 3.984 kB / 1.131 GB, free: 31.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.659e-05/1.075, allocations: 15.84 kB / 1.131 GB, free: 31.07 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.001035/1.076, allocations: 0.7006 MB / 1.131 GB, free: 30.49 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/1.076, allocations: 7.656 kB / 1.131 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.861e-05/1.076, allocations: 50.72 kB / 1.131 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004965/1.076, allocations: 416.2 kB / 1.132 GB, free: 30.17 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/1.077, allocations: 32.44 kB / 1.132 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.426e-05/1.077, allocations: 40.09 kB / 1.132 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006038/1.077, allocations: 426.8 kB / 1.132 GB, free: 29.99 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/1.077, allocations: 5.688 kB / 1.132 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.467e-05/1.077, allocations: 15 kB / 1.132 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/1.077, allocations: 7.594 kB / 1.132 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005274/1.078, allocations: 300.8 kB / 1.133 GB, free: 29.94 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/1.079, allocations: 1.368 MB / 1.134 GB, free: 29.06 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006206/1.08, allocations: 355.4 kB / 1.134 GB, free: 28.99 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/1.08, allocations: 150.1 kB / 1.134 GB, free: 28.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.501e-05/1.08, allocations: 7.781 kB / 1.134 GB, free: 28.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003567/1.081, allocations: 197.9 kB / 1.135 GB, free: 28.87 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.756e-06/1.081, allocations: 0 / 1.135 GB, free: 28.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.0007491/1.082, allocations: 433.4 kB / 1.135 GB, free: 28.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.168e-05/1.082, allocations: 136.3 kB / 1.135 GB, free: 28.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003299/1.082, allocations: 358.5 kB / 1.135 GB, free: 28.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/1.082, allocations: 40.55 kB / 1.135 GB, free: 28.42 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/1.082, allocations: 234.6 kB / 1.136 GB, free: 28.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.074e-05/1.082, allocations: 100 kB / 1.136 GB, free: 28.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.626e-05/1.082, allocations: 10.34 kB / 1.136 GB, free: 28.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.082, allocations: 356 kB / 1.136 GB, free: 27.87 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002039/1.083, allocations: 114.6 kB / 1.136 GB, free: 27.85 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/1.083, allocations: 185.8 kB / 1.136 GB, free: 27.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003921/1.083, allocations: 276.3 kB / 1.137 GB, free: 27.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.083, allocations: 0 / 1.137 GB, free: 27.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005243/1.084, allocations: 373.3 kB / 1.137 GB, free: 27.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/1.084, allocations: 3.844 kB / 1.137 GB, free: 27.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/1.084, allocations: 3.844 kB / 1.137 GB, free: 27.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/1.084, allocations: 0 / 1.137 GB, free: 27.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/1.084, allocations: 70.22 kB / 1.137 GB, free: 27.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/1.084, allocations: 3.984 kB / 1.137 GB, free: 27.58 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/1.084, allocations: 53.92 kB / 1.137 GB, free: 27.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/1.084, allocations: 14.59 kB / 1.137 GB, free: 27.56 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.000198/1.085, allocations: 170 kB / 1.137 GB, free: 27.44 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/1.085, allocations: 42.72 kB / 1.137 GB, free: 27.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.617e-05/1.085, allocations: 48.59 kB / 1.137 GB, free: 27.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/1.085, allocations: 3.719 kB / 1.137 GB, free: 27.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.085, allocations: 0 / 1.137 GB, free: 27.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.085, allocations: 3.781 kB / 1.137 GB, free: 27.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009872/1.086, allocations: 0.8704 MB / 1.138 GB, free: 26.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/1.086, allocations: 0 / 1.138 GB, free: 26.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/1.086, allocations: 57.47 kB / 1.138 GB, free: 26.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/1.086, allocations: 0 / 1.138 GB, free: 26.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/1.086, allocations: 3.438 kB / 1.138 GB, free: 26.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.086, allocations: 3.844 kB / 1.138 GB, free: 26.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.086, allocations: 3.984 kB / 1.138 GB, free: 26.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007646/1.087, allocations: 0.5774 MB / 1.139 GB, free: 26.71 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/1.087, allocations: 147.2 kB / 1.139 GB, free: 26.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/1.087, allocations: 3.812 kB / 1.139 GB, free: 26.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/1.087, allocations: 30.47 kB / 1.139 GB, free: 26.58 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.021e-05/1.087, allocations: 22.5 kB / 1.139 GB, free: 26.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/1.087, allocations: 14.67 kB / 1.139 GB, free: 26.57 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002137/1.088, allocations: 257.6 kB / 1.139 GB, free: 26.45 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.088, allocations: 0 / 1.139 GB, free: 26.45 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003251/1.088, allocations: 84.72 kB / 1.139 GB, free: 26.43 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.0001511/1.088, allocations: 118.2 kB / 1.14 GB, free: 26.34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004905/1.089, allocations: 287.3 kB / 1.14 GB, free: 26.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.089, allocations: 0 / 1.14 GB, free: 26.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002305/1.089, allocations: 157.8 kB / 1.14 GB, free: 26.27 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005134/1.089, allocations: 85.33 kB / 1.14 GB, free: 26.25 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/1.091, allocations: 0.9812 MB / 1.141 GB, free: 25.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/1.091, allocations: 0.8122 MB / 1.142 GB, free: 24.87 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001701/1.091, allocations: 38.05 kB / 1.142 GB, free: 24.86 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.5e-05/1.091, allocations: 34.02 kB / 1.142 GB, free: 24.84 MB / 0.698 GB Notification: Performance of SimCode: time 3.61e-07/1.091, allocations: 0 / 1.142 GB, free: 24.84 MB / 0.698 GB Notification: Performance of Templates: time 0.006508/1.098, allocations: 3.78 MB / 1.146 GB, free: 23.04 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)