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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000787/0.0007868, allocations: 97.95 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006195/0.006196, allocations: 170.8 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.4 MB / 222.4 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.526/1.526, allocations: 252 MB / 0.5105 GB, free: 4.688 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005188/0.0005188, allocations: 12 kB / 0.6249 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5479/0.5484, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003507/0.552, allocations: 2.786 MB / 0.7314 GB, free: 8.449 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001684/0.5537, allocations: 0.9864 MB / 0.7324 GB, free: 7.453 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002675/0.554, allocations: 11.94 kB / 0.7324 GB, free: 7.441 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002154/0.5542, allocations: 51.52 kB / 0.7325 GB, free: 7.391 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.5544, allocations: 75.42 kB / 0.7325 GB, free: 7.316 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005265/0.555, allocations: 222.6 kB / 0.7327 GB, free: 7.102 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004775/0.5554, allocations: 0.4997 MB / 0.7332 GB, free: 6.602 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003867/0.5558, allocations: 233.3 kB / 0.7334 GB, free: 6.371 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.556, allocations: 147.1 kB / 0.7336 GB, free: 6.227 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.5562, allocations: 162.9 kB / 0.7337 GB, free: 6.066 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.596e-05/0.5563, allocations: 12 kB / 0.7338 GB, free: 6.055 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.61e-05/0.5563, allocations: 16 kB / 0.7338 GB, free: 6.039 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.408e-05/0.5564, allocations: 67.56 kB / 0.7338 GB, free: 5.973 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.5566, allocations: 204.5 kB / 0.734 GB, free: 5.766 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000429/0.557, allocations: 0.4981 MB / 0.7345 GB, free: 5.266 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.557, allocations: 0 / 0.7345 GB, free: 5.266 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.557, allocations: 0 / 0.7345 GB, free: 5.266 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.557, allocations: 0 / 0.7345 GB, free: 5.266 MB / 0.545 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.001135/0.5582, allocations: 0.6959 MB / 0.7352 GB, free: 4.516 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.5582, allocations: 8.031 kB / 0.7352 GB, free: 4.508 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.822e-05/0.5583, allocations: 60.27 kB / 0.7353 GB, free: 4.449 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005355/0.5589, allocations: 412.6 kB / 0.7357 GB, free: 4.012 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/0.5589, allocations: 29.38 kB / 0.7357 GB, free: 3.984 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.896e-05/0.559, allocations: 36.38 kB / 0.7357 GB, free: 3.949 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006544/0.5597, allocations: 401.9 kB / 0.7361 GB, free: 3.531 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.5597, allocations: 3.938 kB / 0.7361 GB, free: 3.527 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.744e-05/0.5597, allocations: 16 kB / 0.7361 GB, free: 3.512 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.5597, allocations: 8 kB / 0.7361 GB, free: 3.504 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005305/0.5603, allocations: 271.8 kB / 0.7364 GB, free: 3.238 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.5619, allocations: 1.328 MB / 0.7377 GB, free: 1.836 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006431/0.5626, allocations: 314.6 kB / 0.738 GB, free: 1.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.5628, allocations: 142 kB / 0.7381 GB, free: 1.379 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.5629, allocations: 7.984 kB / 0.7381 GB, free: 1.371 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003601/0.5632, allocations: 173.5 kB / 0.7383 GB, free: 1.191 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.5633, allocations: 4 kB / 0.7383 GB, free: 1.188 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.000752/0.564, allocations: 385.7 kB / 0.7387 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.5641, allocations: 85.11 kB / 0.7387 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000337/0.5644, allocations: 353.6 kB / 0.7391 GB, free: 356 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.5645, allocations: 33.7 kB / 0.7391 GB, free: 316 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.5646, allocations: 240.3 kB / 0.7393 GB, free: 72 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.5648, allocations: 102.5 kB / 0.7394 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.5648, allocations: 41.7 kB / 0.7395 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.565, allocations: 354.7 kB / 0.7398 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.5652, allocations: 104.7 kB / 0.7399 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.5655, allocations: 168.4 kB / 0.7401 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004457/0.5659, allocations: 267.8 kB / 0.7403 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.5659, allocations: 0 / 0.7403 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006762/0.5666, allocations: 358.5 kB / 0.7407 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.5666, allocations: 4 kB / 0.7407 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.5666, allocations: 4 kB / 0.7407 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.5667, allocations: 0 / 0.7407 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/0.5669, allocations: 71.84 kB / 0.7408 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.5669, allocations: 4 kB / 0.7408 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.5671, allocations: 43.86 kB / 0.7408 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.5672, allocations: 16 kB / 0.7408 GB, free: 14.49 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001992/0.5674, allocations: 173.7 kB / 0.741 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.899e-05/0.5674, allocations: 35.53 kB / 0.741 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.5676, allocations: 52.25 kB / 0.7411 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.5676, allocations: 7.984 kB / 0.7411 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.5676, allocations: 0 / 0.7411 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.5676, allocations: 4 kB / 0.7411 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.5687, allocations: 0.818 MB / 0.7419 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.5687, allocations: 0 / 0.7419 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.569, allocations: 51.91 kB / 0.7419 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.569, allocations: 8 kB / 0.7419 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.569, allocations: 4 kB / 0.7419 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.569, allocations: 0 / 0.7419 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.569, allocations: 0 / 0.7419 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008368/0.5699, allocations: 0.5197 MB / 0.7424 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.57, allocations: 136.6 kB / 0.7426 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.796e-05/0.5701, allocations: 15.92 kB / 0.7426 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.5703, allocations: 19.98 kB / 0.7426 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.068e-05/0.5704, allocations: 23.97 kB / 0.7426 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.5704, allocations: 11.98 kB / 0.7426 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002409/0.5706, allocations: 239.2 kB / 0.7429 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5706, allocations: 4.062 kB / 0.7429 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003371/0.571, allocations: 87.62 kB / 0.743 GB, free: 12.2 MB / 0.5606 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.greaterEqualThreshold.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001492/0.5711, allocations: 117.2 kB / 0.7431 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005485/0.5717, allocations: 268.4 kB / 0.7433 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5717, allocations: 4 kB / 0.7433 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003034/0.572, allocations: 127.9 kB / 0.7434 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005572/0.5726, allocations: 83.47 kB / 0.7435 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.5742, allocations: 1.013 MB / 0.7445 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.5747, allocations: 0.8152 MB / 0.7453 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001761/0.5749, allocations: 47.25 kB / 0.7454 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.452e-05/0.575, allocations: 27.44 kB / 0.7454 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.575, allocations: 3.938 kB / 0.7454 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of Templates: time 0.007555/0.5825, allocations: 3.357 MB / 0.7487 GB, free: 6.312 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: