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.775/2.775, allocations: 284.8 MB / 297.3 MB, free: 6.336 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.00141/0.00141, allocations: 176.9 kB / 365.7 MB, free: 2.605 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.114/2.114, allocations: 205.1 MB / 0.6241 GB, free: 8.18 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001072/0.001071, allocations: 95.39 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.487e-05/3.499e-05, allocations: 0 / 0.8574 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8425/0.8426, allocations: 115.2 MB / 0.97 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2698/1.112, allocations: 145.5 MB / 1.112 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/1.113, allocations: 79.97 kB / 1.112 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03745/1.15, allocations: 7.54 MB / 1.12 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.863e-06/1.15, allocations: 0 / 1.12 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.495e-05/1.15, allocations: 12.19 kB / 1.12 GB, free: 15.34 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.001452/1.152, allocations: 0.6365 MB / 1.12 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/1.152, allocations: 8.031 kB / 1.12 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/1.152, allocations: 59.56 kB / 1.12 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008571/1.153, allocations: 404.1 kB / 1.121 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.852e-05/1.153, allocations: 32.72 kB / 1.121 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.212e-05/1.153, allocations: 36 kB / 1.121 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009671/1.154, allocations: 400.5 kB / 1.121 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/1.154, allocations: 0 / 1.121 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.163e-05/1.154, allocations: 16 kB / 1.121 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/1.154, allocations: 8 kB / 1.121 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007271/1.155, allocations: 251 kB / 1.121 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002938/1.158, allocations: 1.378 MB / 1.123 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009187/1.159, allocations: 305.1 kB / 1.123 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000323/1.159, allocations: 124.8 kB / 1.123 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.824e-05/1.159, allocations: 8 kB / 1.123 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004463/1.16, allocations: 178 kB / 1.123 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 2.985e-06/1.16, allocations: 0 / 1.123 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.000815/1.161, allocations: 278.8 kB / 1.124 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/1.161, allocations: 132.5 kB / 1.124 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005507/1.161, allocations: 311.5 kB / 1.124 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.311e-05/1.161, allocations: 39.58 kB / 1.124 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/1.162, allocations: 224.2 kB / 1.124 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/1.162, allocations: 106.5 kB / 1.124 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/1.162, allocations: 8 kB / 1.124 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001781/1.162, allocations: 354.8 kB / 1.125 GB, free: 9.836 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/1.162, allocations: 88 kB / 1.125 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003689/1.163, allocations: 171.8 kB / 1.125 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/1.163, allocations: 102.2 kB / 1.125 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/1.163, allocations: 0 / 1.125 GB, free: 9.461 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008934/1.164, allocations: 330.2 kB / 1.125 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/1.164, allocations: 4.125 kB / 1.125 GB, free: 9.129 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/1.164, allocations: 4 kB / 1.125 GB, free: 9.125 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/1.164, allocations: 4 kB / 1.125 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005608/1.165, allocations: 65.22 kB / 1.125 GB, free: 9.059 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/1.165, allocations: 4 kB / 1.125 GB, free: 9.055 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004522/1.165, allocations: 59.59 kB / 1.125 GB, free: 8.996 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.822e-05/1.165, allocations: 12 kB / 1.125 GB, free: 8.984 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 () * 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.0001751/1.165, allocations: 131.6 kB / 1.126 GB, free: 8.852 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.862e-05/1.165, allocations: 35.53 kB / 1.126 GB, free: 8.816 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/1.166, allocations: 48.38 kB / 1.126 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/1.166, allocations: 6.438 kB / 1.126 GB, free: 8.766 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/1.166, allocations: 3.938 kB / 1.126 GB, free: 8.762 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/1.166, allocations: 8.016 kB / 1.126 GB, free: 8.754 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/1.168, allocations: 0.8339 MB / 1.126 GB, free: 7.863 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/1.168, allocations: 2.438 kB / 1.126 GB, free: 7.863 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005254/1.168, allocations: 55.91 kB / 1.127 GB, free: 7.809 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/1.168, allocations: 0 / 1.127 GB, free: 7.809 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/1.168, allocations: 8 kB / 1.127 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/1.168, allocations: 0 / 1.127 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.168, allocations: 0 / 1.127 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/1.169, allocations: 0.5106 MB / 1.127 GB, free: 7.273 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002373/1.17, allocations: 144.6 kB / 1.127 GB, free: 7.113 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.147e-05/1.17, allocations: 8 kB / 1.127 GB, free: 7.105 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004085/1.17, allocations: 23.98 kB / 1.127 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/1.17, allocations: 35.95 kB / 1.127 GB, free: 7.047 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/1.17, allocations: 8 kB / 1.127 GB, free: 7.039 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000434/1.171, allocations: 246.2 kB / 1.127 GB, free: 6.797 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.61e-07/1.171, allocations: 0 / 1.127 GB, free: 6.797 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005247/1.171, allocations: 87.75 kB / 1.128 GB, free: 6.711 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) * 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.0002007/1.172, allocations: 118.4 kB / 1.128 GB, free: 6.59 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007227/1.172, allocations: 243.9 kB / 1.128 GB, free: 6.352 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.172, allocations: 4.25 kB / 1.128 GB, free: 6.348 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000344/1.173, allocations: 128.4 kB / 1.128 GB, free: 6.223 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007239/1.173, allocations: 75.59 kB / 1.128 GB, free: 6.152 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/1.175, allocations: 0.5798 MB / 1.129 GB, free: 5.551 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/1.176, allocations: 0.823 MB / 1.129 GB, free: 4.699 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003418/1.176, allocations: 53.98 kB / 1.13 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/1.176, allocations: 27.44 kB / 1.13 GB, free: 4.625 MB / 0.7292 GB Notification: Performance of SimCode: time 1.352e-06/1.176, allocations: 0 / 1.13 GB, free: 4.625 MB / 0.7292 GB Notification: Performance of Templates: time 0.01334/1.19, allocations: 3.722 MB / 1.133 GB, free: 0.9922 MB / 0.7292 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)