Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.315/1.315, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008874/0.0008873, allocations: 182.6 kB / 327.6 MB, free: 2.148 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.4 MB / 0.5785 GB, free: 20.48 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000798/0.000798, allocations: 79.88 kB / 0.6831 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003752/0.0003753, allocations: 16.5 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1806, allocations: 106.3 MB / 0.9012 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1601/0.3408, allocations: 139.5 MB / 1.037 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.3411, allocations: 83.95 kB / 1.038 GB, free: 4.258 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01863/0.3597, allocations: 7.623 MB / 1.045 GB, free: 12.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.497e-06/0.3598, allocations: 0 / 1.045 GB, free: 12.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.083e-05/0.3598, allocations: 11.94 kB / 1.045 GB, free: 12.59 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.001186/0.361, allocations: 0.6958 MB / 1.046 GB, free: 11.84 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.3611, allocations: 8.031 kB / 1.046 GB, free: 11.84 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.3612, allocations: 56.28 kB / 1.046 GB, free: 11.78 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000595/0.3618, allocations: 412.8 kB / 1.046 GB, free: 11.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/0.3619, allocations: 33.38 kB / 1.046 GB, free: 11.31 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.3619, allocations: 36.38 kB / 1.046 GB, free: 11.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000708/0.3627, allocations: 427 kB / 1.047 GB, free: 10.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.3627, allocations: 7.938 kB / 1.047 GB, free: 10.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.917e-05/0.3627, allocations: 12 kB / 1.047 GB, free: 10.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.3628, allocations: 8 kB / 1.047 GB, free: 10.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006104/0.3634, allocations: 299.8 kB / 1.047 GB, free: 10.51 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.3654, allocations: 1.371 MB / 1.048 GB, free: 9.059 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007618/0.3661, allocations: 360.6 kB / 1.049 GB, free: 8.699 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002729/0.3664, allocations: 144.8 kB / 1.049 GB, free: 8.555 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.77e-05/0.3665, allocations: 3.938 kB / 1.049 GB, free: 8.551 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003928/0.3669, allocations: 193.5 kB / 1.049 GB, free: 8.348 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.214e-06/0.3669, allocations: 0 / 1.049 GB, free: 8.348 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.0008837/0.3678, allocations: 438.5 kB / 1.049 GB, free: 7.914 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.117e-05/0.3679, allocations: 140.5 kB / 1.05 GB, free: 7.746 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004132/0.3683, allocations: 357.6 kB / 1.05 GB, free: 7.391 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.323e-05/0.3684, allocations: 37.7 kB / 1.05 GB, free: 7.348 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.3685, allocations: 224.8 kB / 1.05 GB, free: 7.121 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.629e-05/0.3686, allocations: 106.5 kB / 1.05 GB, free: 7.016 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.543e-05/0.3687, allocations: 8 kB / 1.05 GB, free: 7.008 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3688, allocations: 354.8 kB / 1.051 GB, free: 6.652 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.3691, allocations: 111.9 kB / 1.051 GB, free: 6.543 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/0.3694, allocations: 187.1 kB / 1.051 GB, free: 6.336 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004878/0.3699, allocations: 270.8 kB / 1.051 GB, free: 6.059 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3699, allocations: 0 / 1.051 GB, free: 6.059 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006557/0.3705, allocations: 381.7 kB / 1.051 GB, free: 5.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.3706, allocations: 4 kB / 1.051 GB, free: 5.676 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3706, allocations: 4 kB / 1.051 GB, free: 5.672 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3706, allocations: 0 / 1.051 GB, free: 5.672 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000255/0.3709, allocations: 64.03 kB / 1.052 GB, free: 5.609 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.3709, allocations: 11.94 kB / 1.052 GB, free: 5.598 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.3711, allocations: 51.75 kB / 1.052 GB, free: 5.547 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.3712, allocations: 8 kB / 1.052 GB, free: 5.539 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.0001998/0.3714, allocations: 177.8 kB / 1.052 GB, free: 5.355 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.673e-05/0.3714, allocations: 47.47 kB / 1.052 GB, free: 5.309 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.485e-05/0.3715, allocations: 44.25 kB / 1.052 GB, free: 5.266 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.3715, allocations: 4 kB / 1.052 GB, free: 5.262 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.3716, allocations: 4 kB / 1.052 GB, free: 5.258 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.487e-05/0.3716, allocations: 3.984 kB / 1.052 GB, free: 5.254 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.3727, allocations: 0.8661 MB / 1.053 GB, free: 4.332 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3728, allocations: 3.938 kB / 1.053 GB, free: 4.328 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.373, allocations: 51.97 kB / 1.053 GB, free: 4.277 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.373, allocations: 0 / 1.053 GB, free: 4.277 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.373, allocations: 11.98 kB / 1.053 GB, free: 4.266 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.373, allocations: 0 / 1.053 GB, free: 4.266 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3731, allocations: 4 kB / 1.053 GB, free: 4.262 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008568/0.3739, allocations: 0.5732 MB / 1.053 GB, free: 3.672 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.3741, allocations: 140.6 kB / 1.053 GB, free: 3.516 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/0.3741, allocations: 11.98 kB / 1.053 GB, free: 3.504 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.3744, allocations: 27.98 kB / 1.054 GB, free: 3.477 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/0.3744, allocations: 32.02 kB / 1.054 GB, free: 3.445 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.3745, allocations: 4 kB / 1.054 GB, free: 3.441 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002726/0.3747, allocations: 251.2 kB / 1.054 GB, free: 3.195 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.3748, allocations: 0 / 1.054 GB, free: 3.195 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000365/0.3751, allocations: 87.69 kB / 1.054 GB, free: 3.109 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.0001527/0.3753, allocations: 125.3 kB / 1.054 GB, free: 2.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005778/0.3759, allocations: 292 kB / 1.054 GB, free: 2.695 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3759, allocations: 0 / 1.054 GB, free: 2.695 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.3762, allocations: 148.1 kB / 1.054 GB, free: 2.551 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005325/0.3767, allocations: 83.34 kB / 1.054 GB, free: 2.477 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.3783, allocations: 0.9738 MB / 1.055 GB, free: 1.477 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.3787, allocations: 0.8152 MB / 1.056 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001887/0.3789, allocations: 43.25 kB / 1.056 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.551e-05/0.379, allocations: 39.38 kB / 1.056 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of SimCode: time 6.11e-07/0.379, allocations: 0 / 1.056 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of Templates: time 0.3734/0.7524, allocations: 3.755 MB / 1.06 GB, free: 148 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)