Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.646/2.646, allocations: 287.5 MB / 302.4 MB, free: 8.344 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001594/0.001594, allocations: 177.2 kB / 371 MB, free: 10.79 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.056/2.056, allocations: 205.4 MB / 0.6297 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 96.3 kB / 0.743 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004774, allocations: 15.31 kB / 0.8658 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2145, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.948/1.163, allocations: 145.6 MB / 1.121 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/1.163, allocations: 86.36 kB / 1.121 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02779/1.191, allocations: 7.55 MB / 1.128 GB, free: 31.03 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.885e-06/1.191, allocations: 0 / 1.128 GB, free: 31.03 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.853e-05/1.191, allocations: 11.44 kB / 1.128 GB, free: 31.03 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.001536/1.192, allocations: 0.7027 MB / 1.129 GB, free: 30.51 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/1.192, allocations: 11.5 kB / 1.129 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/1.193, allocations: 52.88 kB / 1.129 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007063/1.193, allocations: 402.7 kB / 1.129 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.287e-05/1.193, allocations: 31.11 kB / 1.129 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.998e-05/1.193, allocations: 36.5 kB / 1.129 GB, free: 30.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009653/1.194, allocations: 422.1 kB / 1.13 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/1.194, allocations: 3.844 kB / 1.13 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-05/1.194, allocations: 18.03 kB / 1.13 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/1.194, allocations: 7.844 kB / 1.13 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008723/1.195, allocations: 297.8 kB / 1.13 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002549/1.198, allocations: 1.384 MB / 1.131 GB, free: 29.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/1.199, allocations: 355 kB / 1.132 GB, free: 29.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.805e-05/1.199, allocations: 3.875 kB / 1.132 GB, free: 29.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005744/1.2, allocations: 190.3 kB / 1.132 GB, free: 29.14 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 3.517e-06/1.2, allocations: 4 kB / 1.132 GB, free: 29.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.001278/1.201, allocations: 429.6 kB / 1.132 GB, free: 29.04 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.364e-05/1.201, allocations: 136.4 kB / 1.132 GB, free: 28.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004685/1.202, allocations: 321 kB / 1.133 GB, free: 28.74 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.777e-05/1.202, allocations: 36.14 kB / 1.133 GB, free: 28.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000188/1.202, allocations: 235.8 kB / 1.133 GB, free: 28.56 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.363e-05/1.202, allocations: 103.3 kB / 1.133 GB, free: 28.49 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/1.202, allocations: 6.25 kB / 1.133 GB, free: 28.49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001714/1.202, allocations: 350.2 kB / 1.133 GB, free: 28.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/1.203, allocations: 119.9 kB / 1.133 GB, free: 28.15 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004205/1.203, allocations: 183.2 kB / 1.134 GB, free: 28.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003962/1.203, allocations: 125.1 kB / 1.134 GB, free: 28.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/1.203, allocations: 0 / 1.134 GB, free: 28.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009883/1.204, allocations: 376.5 kB / 1.134 GB, free: 27.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/1.204, allocations: 7.594 kB / 1.134 GB, free: 27.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/1.204, allocations: 0 / 1.134 GB, free: 27.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/1.205, allocations: 3.969 kB / 1.134 GB, free: 27.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004888/1.205, allocations: 69.75 kB / 1.134 GB, free: 27.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/1.205, allocations: 7.719 kB / 1.134 GB, free: 27.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003899/1.205, allocations: 52.09 kB / 1.134 GB, free: 27.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/1.205, allocations: 10.97 kB / 1.134 GB, free: 27.91 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.0002868/1.206, allocations: 175.5 kB / 1.134 GB, free: 27.78 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.894e-05/1.206, allocations: 38.75 kB / 1.134 GB, free: 27.76 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/1.206, allocations: 50.12 kB / 1.135 GB, free: 27.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/1.206, allocations: 7.797 kB / 1.135 GB, free: 27.74 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.206, allocations: 0 / 1.135 GB, free: 27.74 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/1.206, allocations: 0 / 1.135 GB, free: 27.74 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/1.208, allocations: 0.8682 MB / 1.135 GB, free: 27.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/1.208, allocations: 0 / 1.135 GB, free: 27.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000459/1.208, allocations: 57.88 kB / 1.135 GB, free: 27.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/1.208, allocations: 0 / 1.135 GB, free: 27.28 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.072e-05/1.208, allocations: 15.33 kB / 1.135 GB, free: 27.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/1.208, allocations: 0 / 1.135 GB, free: 27.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.208, allocations: 3.984 kB / 1.135 GB, free: 27.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/1.21, allocations: 0.5681 MB / 1.136 GB, free: 27.06 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/1.21, allocations: 151.3 kB / 1.136 GB, free: 26.93 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.386e-05/1.21, allocations: 6.906 kB / 1.136 GB, free: 26.93 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/1.21, allocations: 29.39 kB / 1.136 GB, free: 26.92 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.863e-05/1.21, allocations: 27.23 kB / 1.136 GB, free: 26.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/1.21, allocations: 7.375 kB / 1.136 GB, free: 26.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003497/1.211, allocations: 251.1 kB / 1.136 GB, free: 26.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.31e-07/1.211, allocations: 0 / 1.136 GB, free: 26.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004891/1.211, allocations: 95.06 kB / 1.137 GB, free: 26.78 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.0002057/1.212, allocations: 116.5 kB / 1.137 GB, free: 26.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008626/1.212, allocations: 291 kB / 1.137 GB, free: 26.63 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.212, allocations: 0 / 1.137 GB, free: 26.63 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004086/1.213, allocations: 159.4 kB / 1.137 GB, free: 26.61 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006351/1.213, allocations: 72.23 kB / 1.137 GB, free: 26.59 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002002/1.216, allocations: 0.9726 MB / 1.138 GB, free: 25.96 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/1.216, allocations: 0.8315 MB / 1.139 GB, free: 25.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003099/1.216, allocations: 42.08 kB / 1.139 GB, free: 25.18 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/1.216, allocations: 34.02 kB / 1.139 GB, free: 25.16 MB / 0.698 GB Notification: Performance of SimCode: time 1.313e-06/1.216, allocations: 0 / 1.139 GB, free: 25.16 MB / 0.698 GB Notification: Performance of Templates: time 0.01111/1.228, allocations: 3.71 MB / 1.143 GB, free: 23.39 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)