Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.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.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.622/2.622, allocations: 285 MB / 292.5 MB, free: 10.56 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.002073/0.002072, allocations: 192.8 kB / 360.7 MB, free: 7.258 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.308/2.308, 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.001079/0.001079, allocations: 90.58 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.262e-05/2.272e-05, allocations: 4 kB / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8737/0.8737, allocations: 115.2 MB / 0.9634 GB, free: 78.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2425/1.116, allocations: 143.8 MB / 1.104 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/1.117, allocations: 76.64 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04085/1.158, allocations: 6.861 MB / 1.111 GB, free: 5.73 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.743e-06/1.158, allocations: 4 kB / 1.111 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.905e-05/1.158, allocations: 12 kB / 1.111 GB, free: 5.715 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001219/1.159, allocations: 0.5845 MB / 1.111 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/1.159, allocations: 8.031 kB / 1.111 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/1.159, allocations: 47.44 kB / 1.111 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008873/1.16, allocations: 388.2 kB / 1.112 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/1.16, allocations: 15.94 kB / 1.112 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.348e-05/1.16, allocations: 16.22 kB / 1.112 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006386/1.161, allocations: 181.5 kB / 1.112 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007459/1.162, allocations: 306 kB / 1.112 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/1.162, allocations: 0 / 1.112 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.855e-05/1.162, allocations: 4 kB / 1.112 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/1.162, allocations: 4 kB / 1.112 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002758/1.164, allocations: 1.178 MB / 1.113 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007031/1.165, allocations: 224.1 kB / 1.114 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/1.165, allocations: 97.22 kB / 1.114 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.563e-05/1.166, allocations: 8.172 kB / 1.114 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/1.166, allocations: 30.75 kB / 1.114 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 5.19e-06/1.166, allocations: 0 / 1.114 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22): time 0.0006222/1.166, allocations: 213.2 kB / 1.114 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/1.166, allocations: 158.2 kB / 1.114 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004612/1.167, allocations: 270.4 kB / 1.114 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.434e-05/1.167, allocations: 25.7 kB / 1.114 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002688/1.167, allocations: 212 kB / 1.115 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/1.167, allocations: 79.78 kB / 1.115 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.811e-05/1.167, allocations: 0 / 1.115 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001786/1.168, allocations: 338.8 kB / 1.115 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/1.168, allocations: 68 kB / 1.115 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/1.168, allocations: 140.5 kB / 1.115 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/1.168, allocations: 73.61 kB / 1.115 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/1.168, allocations: 8 kB / 1.115 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006107/1.169, allocations: 241 kB / 1.115 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/1.169, allocations: 4 kB / 1.115 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/1.169, allocations: 3.281 kB / 1.115 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/1.169, allocations: 4 kB / 1.115 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004734/1.169, allocations: 51.91 kB / 1.115 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/1.169, allocations: 4 kB / 1.115 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003991/1.17, allocations: 43.89 kB / 1.116 GB, free: 472 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/1.17, allocations: 12 kB / 1.116 GB, free: 460 kB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001435/1.17, allocations: 112.7 kB / 1.116 GB, free: 340 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/1.17, allocations: 31.62 kB / 1.116 GB, free: 308 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/1.17, allocations: 39.06 kB / 1.116 GB, free: 264 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/1.17, allocations: 4 kB / 1.116 GB, free: 260 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.17, allocations: 3.938 kB / 1.116 GB, free: 256 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/1.17, allocations: 3.984 kB / 1.116 GB, free: 252 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006615/1.171, allocations: 361.8 kB / 1.116 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.171, allocations: 0 / 1.116 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004499/1.172, allocations: 51.91 kB / 1.116 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/1.172, allocations: 4 kB / 1.116 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/1.172, allocations: 0 / 1.116 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/1.172, allocations: 0 / 1.116 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.172, allocations: 4.047 kB / 1.116 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008329/1.173, allocations: 410.2 kB / 1.117 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/1.173, allocations: 132.7 kB / 1.117 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.727e-05/1.173, allocations: 0 / 1.117 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/1.173, allocations: 31.98 kB / 1.117 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.905e-05/1.173, allocations: 19.97 kB / 1.117 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/1.173, allocations: 7.984 kB / 1.117 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003122/1.174, allocations: 208.6 kB / 1.117 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.61e-07/1.174, allocations: 0 / 1.117 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005011/1.174, allocations: 67.69 kB / 1.117 GB, free: 14.91 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0001867/1.174, allocations: 99.25 kB / 1.117 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005006/1.175, allocations: 179.9 kB / 1.117 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.175, allocations: 0 / 1.117 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002428/1.175, allocations: 91.94 kB / 1.117 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006812/1.176, allocations: 65.06 kB / 1.117 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/1.177, allocations: 0.5012 MB / 1.118 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/1.178, allocations: 0.799 MB / 1.119 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002914/1.178, allocations: 35.28 kB / 1.119 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/1.178, allocations: 23.44 kB / 1.119 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of SimCode: time 1.022e-06/1.178, allocations: 3.938 kB / 1.119 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of Templates: time 0.01108/1.19, allocations: 2.993 MB / 1.122 GB, free: 10.17 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)