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.528/2.528, allocations: 285 MB / 292.5 MB, free: 10.46 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.00147/0.00147, allocations: 188.2 kB / 360.7 MB, free: 7.215 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.128/2.128, allocations: 205.3 MB / 0.6192 GB, free: 12.11 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.001518/0.001518, allocations: 91.44 kB / 0.7322 GB, free: 44.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.762e-05/2.779e-05, allocations: 4 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8818/0.8819, allocations: 115.3 MB / 0.9634 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2428/1.125, allocations: 144.9 MB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/1.125, allocations: 78.59 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03608/1.161, allocations: 7.475 MB / 1.112 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.064e-06/1.161, allocations: 0 / 1.112 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.642e-05/1.161, allocations: 8 kB / 1.112 GB, free: 4.066 MB / 0.7136 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.002059/1.163, allocations: 0.6367 MB / 1.113 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.35e-05/1.163, allocations: 11.86 kB / 1.113 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002799/1.164, allocations: 63.33 kB / 1.113 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/1.165, allocations: 404.1 kB / 1.113 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.189e-05/1.165, allocations: 12.56 kB / 1.113 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/1.165, allocations: 31.98 kB / 1.113 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001072/1.166, allocations: 225.5 kB / 1.114 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/1.168, allocations: 341.7 kB / 1.114 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/1.168, allocations: 0 / 1.114 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.574e-05/1.168, allocations: 0 / 1.114 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/1.168, allocations: 9.688 kB / 1.114 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004028/1.172, allocations: 1.295 MB / 1.115 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/1.173, allocations: 293.2 kB / 1.116 GB, free: 0.5938 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004159/1.173, allocations: 112.8 kB / 1.116 GB, free: 492 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.754e-05/1.173, allocations: 4.5 kB / 1.116 GB, free: 488 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005313/1.174, allocations: 157.3 kB / 1.116 GB, free: 316 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 6.662e-06/1.174, allocations: 0 / 1.116 GB, free: 316 kB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.001048/1.175, allocations: 267 kB / 1.116 GB, free: 44 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001568/1.175, allocations: 132.5 kB / 1.116 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006636/1.176, allocations: 270.3 kB / 1.116 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.213e-05/1.176, allocations: 37.69 kB / 1.116 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003271/1.176, allocations: 221 kB / 1.117 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/1.177, allocations: 110.5 kB / 1.117 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/1.177, allocations: 0 / 1.117 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002317/1.177, allocations: 346.8 kB / 1.117 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00037/1.177, allocations: 84 kB / 1.117 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004872/1.178, allocations: 151.1 kB / 1.117 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004217/1.178, allocations: 101.5 kB / 1.117 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/1.178, allocations: 1.5 kB / 1.117 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001151/1.179, allocations: 302.2 kB / 1.118 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/1.179, allocations: 8 kB / 1.118 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/1.18, allocations: 0 / 1.118 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.746e-05/1.18, allocations: 4.219 kB / 1.118 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007664/1.18, allocations: 64.03 kB / 1.118 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/1.18, allocations: 11.92 kB / 1.118 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006551/1.181, allocations: 43.61 kB / 1.118 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.818e-05/1.181, allocations: 15.62 kB / 1.118 GB, free: 14.09 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.0002434/1.181, allocations: 129.5 kB / 1.118 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/1.182, allocations: 39.56 kB / 1.118 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/1.182, allocations: 44.5 kB / 1.118 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/1.182, allocations: 0 / 1.118 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/1.182, allocations: 4 kB / 1.118 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/1.182, allocations: 0 / 1.118 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/1.184, allocations: 0.7483 MB / 1.119 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.926e-06/1.184, allocations: 10.72 kB / 1.119 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006856/1.185, allocations: 47.97 kB / 1.119 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.398e-05/1.185, allocations: 3.984 kB / 1.119 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/1.185, allocations: 0 / 1.119 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.667e-06/1.185, allocations: 4 kB / 1.119 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.185, allocations: 0 / 1.119 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/1.187, allocations: 495.1 kB / 1.119 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000328/1.187, allocations: 140.7 kB / 1.119 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.42e-05/1.187, allocations: 0 / 1.119 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005664/1.188, allocations: 27.97 kB / 1.119 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/1.188, allocations: 27.95 kB / 1.12 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.35e-05/1.188, allocations: 8 kB / 1.12 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004902/1.188, allocations: 212.6 kB / 1.12 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.61e-07/1.188, allocations: 4 kB / 1.12 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008376/1.189, allocations: 75.75 kB / 1.12 GB, free: 12.02 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.0002559/1.189, allocations: 111.8 kB / 1.12 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009231/1.19, allocations: 231.8 kB / 1.12 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.19, allocations: 0 / 1.12 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004407/1.191, allocations: 123.9 kB / 1.12 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009778/1.192, allocations: 59.36 kB / 1.12 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/1.195, allocations: 0.5716 MB / 1.121 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006761/1.195, allocations: 0.8191 MB / 1.122 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00048/1.196, allocations: 51.19 kB / 1.122 GB, free: 10 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/1.196, allocations: 27.44 kB / 1.122 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of SimCode: time 1.303e-06/1.196, allocations: 0 / 1.122 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of Templates: time 0.01636/1.212, allocations: 3.375 MB / 1.125 GB, free: 6.695 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)