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.778/1.778, allocations: 288.3 MB / 303.2 MB, free: 8.098 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.001283/0.001282, allocations: 181 kB / 371.8 MB, free: 10.27 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.226/2.226, allocations: 205.4 MB / 0.6306 GB, free: 10.01 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.001002/0.001002, allocations: 86.72 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004201/0.0004201, allocations: 10.03 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2959, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9212/1.217, allocations: 145.8 MB / 1.122 GB, free: 16.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003488/1.218, allocations: 88 kB / 1.122 GB, free: 16.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01908/1.237, allocations: 7.556 MB / 1.129 GB, free: 30.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.437e-06/1.237, allocations: 0 / 1.129 GB, free: 30.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.342e-05/1.237, allocations: 15.53 kB / 1.129 GB, free: 30.89 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.001642/1.238, allocations: 0.699 MB / 1.13 GB, free: 30.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/1.239, allocations: 7.688 kB / 1.13 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002849/1.239, allocations: 54.45 kB / 1.13 GB, free: 30.29 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008359/1.24, allocations: 396.8 kB / 1.13 GB, free: 30 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/1.24, allocations: 33.97 kB / 1.13 GB, free: 30 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.448e-05/1.24, allocations: 41.73 kB / 1.13 GB, free: 29.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007766/1.241, allocations: 419.6 kB / 1.131 GB, free: 29.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/1.241, allocations: 3 kB / 1.131 GB, free: 29.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.458e-05/1.241, allocations: 14.7 kB / 1.131 GB, free: 29.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/1.241, allocations: 7.688 kB / 1.131 GB, free: 29.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006245/1.241, allocations: 303.2 kB / 1.131 GB, free: 29.78 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002023/1.243, allocations: 1.374 MB / 1.133 GB, free: 28.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006921/1.244, allocations: 358.8 kB / 1.133 GB, free: 28.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/1.244, allocations: 7.844 kB / 1.133 GB, free: 28.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003893/1.244, allocations: 188.9 kB / 1.133 GB, free: 28.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.535e-06/1.245, allocations: 0 / 1.133 GB, free: 28.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.0008085/1.245, allocations: 433.8 kB / 1.133 GB, free: 28.63 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/1.245, allocations: 136 kB / 1.134 GB, free: 28.47 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003464/1.246, allocations: 320.1 kB / 1.134 GB, free: 28.33 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.343e-05/1.246, allocations: 40.3 kB / 1.134 GB, free: 28.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/1.246, allocations: 227.8 kB / 1.134 GB, free: 28.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.928e-05/1.246, allocations: 108.2 kB / 1.134 GB, free: 28.08 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.626e-05/1.246, allocations: 10.62 kB / 1.134 GB, free: 28.08 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001616/1.246, allocations: 353 kB / 1.135 GB, free: 27.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/1.247, allocations: 110.3 kB / 1.135 GB, free: 27.74 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/1.247, allocations: 192.2 kB / 1.135 GB, free: 27.65 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002324/1.247, allocations: 124.2 kB / 1.135 GB, free: 27.64 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.247, allocations: 0 / 1.135 GB, free: 27.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005848/1.248, allocations: 379 kB / 1.135 GB, free: 27.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/1.248, allocations: 3.844 kB / 1.135 GB, free: 27.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/1.248, allocations: 0 / 1.135 GB, free: 27.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/1.248, allocations: 3.844 kB / 1.135 GB, free: 27.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/1.248, allocations: 65.81 kB / 1.135 GB, free: 27.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/1.248, allocations: 3.969 kB / 1.135 GB, free: 27.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/1.248, allocations: 58.09 kB / 1.135 GB, free: 27.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/1.248, allocations: 10.88 kB / 1.135 GB, free: 27.49 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.000219/1.249, allocations: 168.9 kB / 1.136 GB, free: 27.38 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.768e-05/1.249, allocations: 42.27 kB / 1.136 GB, free: 27.35 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.974e-05/1.249, allocations: 49.12 kB / 1.136 GB, free: 27.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/1.249, allocations: 3.844 kB / 1.136 GB, free: 27.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/1.249, allocations: 4 kB / 1.136 GB, free: 27.33 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/1.249, allocations: 3.984 kB / 1.136 GB, free: 27.33 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/1.25, allocations: 0.8703 MB / 1.137 GB, free: 26.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.25, allocations: 0 / 1.137 GB, free: 26.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/1.25, allocations: 53.84 kB / 1.137 GB, free: 26.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/1.25, allocations: 3.688 kB / 1.137 GB, free: 26.87 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/1.25, allocations: 3.375 kB / 1.137 GB, free: 26.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/1.25, allocations: 7.891 kB / 1.137 GB, free: 26.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/1.25, allocations: 0 / 1.137 GB, free: 26.86 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000841/1.251, allocations: 0.567 MB / 1.137 GB, free: 26.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/1.251, allocations: 142.5 kB / 1.137 GB, free: 26.53 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.783e-05/1.251, allocations: 7.484 kB / 1.137 GB, free: 26.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/1.252, allocations: 38.77 kB / 1.137 GB, free: 26.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.277e-05/1.252, allocations: 23.33 kB / 1.137 GB, free: 26.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/1.252, allocations: 11.41 kB / 1.137 GB, free: 26.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002603/1.252, allocations: 254.6 kB / 1.138 GB, free: 26.39 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.252, allocations: 0 / 1.138 GB, free: 26.39 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003703/1.252, allocations: 96.25 kB / 1.138 GB, free: 26.37 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.0001922/1.253, allocations: 109.6 kB / 1.138 GB, free: 26.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005617/1.253, allocations: 295.5 kB / 1.138 GB, free: 26.23 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.253, allocations: 0 / 1.138 GB, free: 26.23 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002771/1.253, allocations: 147.8 kB / 1.138 GB, free: 26.21 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004611/1.254, allocations: 93.19 kB / 1.138 GB, free: 26.18 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/1.255, allocations: 0.9723 MB / 1.139 GB, free: 25.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/1.256, allocations: 0.8237 MB / 1.14 GB, free: 24.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001899/1.256, allocations: 41.83 kB / 1.14 GB, free: 24.77 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.527e-05/1.256, allocations: 30.39 kB / 1.14 GB, free: 24.76 MB / 0.698 GB Notification: Performance of SimCode: time 2.9e-07/1.256, allocations: 4 kB / 1.14 GB, free: 24.76 MB / 0.698 GB Notification: Performance of Templates: time 0.007705/1.264, allocations: 3.718 MB / 1.144 GB, free: 22.98 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)