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.001461/0.001462, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00199/0.00199, allocations: 191.3 kB / 16.14 MB, free: 6.703 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.575/1.575, allocations: 205.1 MB / 222 MB, free: 4.746 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.754/1.754, allocations: 251.6 MB / 0.5088 GB, free: 3.289 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.001448/0.001448, allocations: 63.91 kB / 0.6216 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6522/0.6537, allocations: 104.7 MB / 0.7238 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005245/0.659, allocations: 3.179 MB / 0.7269 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002145/0.6612, allocations: 0.9825 MB / 0.7279 GB, free: 9.074 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004261/0.6616, allocations: 11.94 kB / 0.7279 GB, free: 9.062 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.662, allocations: 51.52 kB / 0.7279 GB, free: 9.012 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.6622, allocations: 79.41 kB / 0.728 GB, free: 8.934 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006674/0.6629, allocations: 223.6 kB / 0.7282 GB, free: 8.719 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005471/0.6635, allocations: 0.5036 MB / 0.7287 GB, free: 8.215 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004179/0.6639, allocations: 237.3 kB / 0.7289 GB, free: 7.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.6641, allocations: 179 kB / 0.7291 GB, free: 7.805 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.6644, allocations: 190.9 kB / 0.7293 GB, free: 7.617 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.247e-05/0.6644, allocations: 24 kB / 0.7293 GB, free: 7.594 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.318e-05/0.6645, allocations: 24 kB / 0.7293 GB, free: 7.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.069e-05/0.6646, allocations: 91.55 kB / 0.7294 GB, free: 7.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.6648, allocations: 206.7 kB / 0.7296 GB, free: 7.277 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005011/0.6653, allocations: 0.5178 MB / 0.7301 GB, free: 6.758 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.6653, allocations: 4 kB / 0.7301 GB, free: 6.754 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.685e-06/0.6653, allocations: 7.938 kB / 0.7301 GB, free: 6.746 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.6653, allocations: 3.938 kB / 0.7301 GB, free: 6.742 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.00132/0.6667, allocations: 0.7582 MB / 0.7309 GB, free: 5.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.6667, allocations: 12.03 kB / 0.7309 GB, free: 5.918 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.6668, allocations: 56.28 kB / 0.7309 GB, free: 5.863 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005696/0.6674, allocations: 412.5 kB / 0.7313 GB, free: 5.426 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.6674, allocations: 33.38 kB / 0.7314 GB, free: 5.395 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.85e-05/0.6675, allocations: 40.31 kB / 0.7314 GB, free: 5.355 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006547/0.6682, allocations: 405.9 kB / 0.7318 GB, free: 4.934 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.6682, allocations: 0 / 0.7318 GB, free: 4.934 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.659e-05/0.6682, allocations: 16 kB / 0.7318 GB, free: 4.918 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.6682, allocations: 8 kB / 0.7318 GB, free: 4.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005483/0.6688, allocations: 263.8 kB / 0.7321 GB, free: 4.652 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.6705, allocations: 1.309 MB / 0.7333 GB, free: 3.27 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006696/0.6712, allocations: 314.6 kB / 0.7336 GB, free: 2.953 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002527/0.6714, allocations: 141.5 kB / 0.7338 GB, free: 2.812 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.658e-05/0.6715, allocations: 4 kB / 0.7338 GB, free: 2.809 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004419/0.6719, allocations: 173.5 kB / 0.7339 GB, free: 2.629 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.794e-06/0.6719, allocations: 0 / 0.7339 GB, free: 2.629 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0008147/0.6727, allocations: 389.7 kB / 0.7343 GB, free: 2.242 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/0.6728, allocations: 89.09 kB / 0.7344 GB, free: 2.137 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003515/0.6732, allocations: 345.6 kB / 0.7347 GB, free: 1.789 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.6732, allocations: 33.7 kB / 0.7348 GB, free: 1.75 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.6734, allocations: 240.9 kB / 0.735 GB, free: 1.512 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.86e-05/0.6735, allocations: 102.5 kB / 0.7351 GB, free: 1.41 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.6736, allocations: 74.06 kB / 0.7352 GB, free: 1.328 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.6737, allocations: 346.8 kB / 0.7355 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.674, allocations: 100.7 kB / 0.7356 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.6742, allocations: 176.4 kB / 0.7358 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004382/0.6747, allocations: 263.8 kB / 0.736 GB, free: 420 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6747, allocations: 0 / 0.736 GB, free: 420 kB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005733/0.6753, allocations: 354 kB / 0.7363 GB, free: 60 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.6753, allocations: 4.188 kB / 0.7364 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.6753, allocations: 8 kB / 0.7364 GB, free: 48 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.6753, allocations: 0 / 0.7364 GB, free: 48 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.6756, allocations: 71.89 kB / 0.7364 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.6756, allocations: 7.938 kB / 0.7364 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.6758, allocations: 35.67 kB / 0.7365 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.6759, allocations: 16 kB / 0.7365 GB, free: 15.92 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.0001864/0.6761, allocations: 177.7 kB / 0.7367 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.6761, allocations: 35.53 kB / 0.7367 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.075e-05/0.6762, allocations: 48.25 kB / 0.7367 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.6762, allocations: 3.938 kB / 0.7367 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.6762, allocations: 7.984 kB / 0.7367 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6763, allocations: 0 / 0.7367 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.6774, allocations: 0.8103 MB / 0.7375 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.6774, allocations: 0 / 0.7375 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.6776, allocations: 47.92 kB / 0.7376 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.6776, allocations: 4 kB / 0.7376 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.6777, allocations: 11.98 kB / 0.7376 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.6777, allocations: 0 / 0.7376 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6777, allocations: 0 / 0.7376 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008283/0.6785, allocations: 0.5157 MB / 0.7381 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.6787, allocations: 140.6 kB / 0.7382 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.6787, allocations: 4 kB / 0.7382 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.6789, allocations: 19.92 kB / 0.7383 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.679, allocations: 27.95 kB / 0.7383 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.679, allocations: 8 kB / 0.7383 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00025/0.6793, allocations: 243.2 kB / 0.7385 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6793, allocations: 4.062 kB / 0.7385 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003655/0.6797, allocations: 91.69 kB / 0.7386 GB, free: 13.63 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.000156/0.6798, allocations: 107.2 kB / 0.7387 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005767/0.6804, allocations: 268 kB / 0.739 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6804, allocations: 384 / 0.739 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002962/0.6807, allocations: 127.9 kB / 0.7391 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005728/0.6813, allocations: 78.06 kB / 0.7392 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.6834, allocations: 0.9735 MB / 0.7401 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.6839, allocations: 0.8113 MB / 0.7409 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000197/0.6841, allocations: 47.25 kB / 0.741 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.854e-05/0.6842, allocations: 35.42 kB / 0.741 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of SimCode: time 1.512e-06/0.6842, allocations: 0 / 0.741 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of Templates: time 0.008017/0.6922, allocations: 3.387 MB / 0.7443 GB, free: 7.773 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (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)