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.001075/0.001075, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001774/0.001774, allocations: 197 kB / 16.53 MB, free: 6.664 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.556/1.556, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.639/1.639, allocations: 251.7 MB / 0.5092 GB, free: 3.145 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.00147/0.001471, allocations: 71.89 kB / 0.6223 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6302/0.6316, allocations: 104.7 MB / 0.7245 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.00571/0.6374, allocations: 3.141 MB / 0.7276 GB, free: 9.789 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00271/0.6402, allocations: 1.006 MB / 0.7286 GB, free: 8.773 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004529/0.6406, allocations: 15.94 kB / 0.7286 GB, free: 8.758 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003485/0.641, allocations: 75.19 kB / 0.7286 GB, free: 8.684 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002658/0.6413, allocations: 91.11 kB / 0.7287 GB, free: 8.594 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007146/0.6421, allocations: 246.7 kB / 0.729 GB, free: 8.355 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005696/0.6426, allocations: 0.5505 MB / 0.7295 GB, free: 7.805 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004751/0.6431, allocations: 253.4 kB / 0.7297 GB, free: 7.555 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/0.6434, allocations: 203.2 kB / 0.7299 GB, free: 7.355 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.6436, allocations: 206.8 kB / 0.7301 GB, free: 7.152 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.641e-05/0.6437, allocations: 52 kB / 0.7302 GB, free: 7.102 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.743e-05/0.6438, allocations: 52 kB / 0.7302 GB, free: 7.051 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.6439, allocations: 111.6 kB / 0.7303 GB, free: 6.941 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002115/0.6441, allocations: 242.7 kB / 0.7306 GB, free: 6.703 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006012/0.6447, allocations: 0.5451 MB / 0.7311 GB, free: 6.156 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.6447, allocations: 0 / 0.7311 GB, free: 6.156 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6448, allocations: 0 / 0.7311 GB, free: 6.156 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.6448, allocations: 0 / 0.7311 GB, free: 6.156 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.001421/0.6462, allocations: 0.7698 MB / 0.7319 GB, free: 5.332 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.293e-05/0.6463, allocations: 8.031 kB / 0.7319 GB, free: 5.324 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.6464, allocations: 56.28 kB / 0.7319 GB, free: 5.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006896/0.6471, allocations: 412.6 kB / 0.7323 GB, free: 4.828 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.821e-05/0.6472, allocations: 29.38 kB / 0.7323 GB, free: 4.801 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.733e-05/0.6473, allocations: 40.36 kB / 0.7324 GB, free: 4.762 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007559/0.648, allocations: 397.9 kB / 0.7328 GB, free: 4.352 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.6481, allocations: 3.938 kB / 0.7328 GB, free: 4.348 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.386e-05/0.6481, allocations: 16 kB / 0.7328 GB, free: 4.332 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.6481, allocations: 8 kB / 0.7328 GB, free: 4.324 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005845/0.6487, allocations: 271.8 kB / 0.733 GB, free: 4.059 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002072/0.6508, allocations: 1.309 MB / 0.7343 GB, free: 2.676 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007745/0.6516, allocations: 318.5 kB / 0.7346 GB, free: 2.355 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/0.6519, allocations: 148.8 kB / 0.7348 GB, free: 2.207 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.482e-05/0.6519, allocations: 4 kB / 0.7348 GB, free: 2.203 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005425/0.6525, allocations: 177.5 kB / 0.7349 GB, free: 2.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 2.254e-06/0.6525, allocations: 0 / 0.7349 GB, free: 2.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0009744/0.6535, allocations: 381.7 kB / 0.7353 GB, free: 1.641 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.97e-05/0.6536, allocations: 89.11 kB / 0.7354 GB, free: 1.535 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004702/0.6541, allocations: 349.5 kB / 0.7357 GB, free: 1.18 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.273e-05/0.6541, allocations: 37.69 kB / 0.7358 GB, free: 1.137 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.6544, allocations: 236.9 kB / 0.736 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.6545, allocations: 94.56 kB / 0.7361 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.6546, allocations: 74.06 kB / 0.7361 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002314/0.6549, allocations: 346.8 kB / 0.7365 GB, free: 388 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/0.6551, allocations: 104.7 kB / 0.7366 GB, free: 284 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.6554, allocations: 172.4 kB / 0.7367 GB, free: 88 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005272/0.6559, allocations: 255.9 kB / 0.737 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.656, allocations: 0 / 0.737 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007031/0.6567, allocations: 358 kB / 0.7373 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.6567, allocations: 8 kB / 0.7373 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.6567, allocations: 0 / 0.7373 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.364e-05/0.6568, allocations: 7.984 kB / 0.7373 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.6571, allocations: 59.91 kB / 0.7374 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.115e-05/0.6571, allocations: 7.938 kB / 0.7374 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.6573, allocations: 43.86 kB / 0.7374 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.6574, allocations: 12 kB / 0.7375 GB, free: 15.32 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.0002526/0.6576, allocations: 177.7 kB / 0.7376 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.635e-05/0.6577, allocations: 39.53 kB / 0.7377 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.6578, allocations: 48.17 kB / 0.7377 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.6578, allocations: 4 kB / 0.7377 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.6578, allocations: 0 / 0.7377 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.6579, allocations: 0 / 0.7377 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.6591, allocations: 0.8141 MB / 0.7385 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.6592, allocations: 0 / 0.7385 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.6594, allocations: 43.92 kB / 0.7386 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/0.6594, allocations: 7.984 kB / 0.7386 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.6595, allocations: 4 kB / 0.7386 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.6595, allocations: 4 kB / 0.7386 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6595, allocations: 0 / 0.7386 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008998/0.6604, allocations: 0.5119 MB / 0.7391 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.6605, allocations: 136.6 kB / 0.7392 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.107e-05/0.6606, allocations: 8 kB / 0.7392 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.6608, allocations: 15.98 kB / 0.7392 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.797e-05/0.6609, allocations: 27.95 kB / 0.7392 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.6609, allocations: 12.06 kB / 0.7393 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002604/0.6612, allocations: 243.2 kB / 0.7395 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6612, allocations: 0 / 0.7395 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003699/0.6616, allocations: 91.62 kB / 0.7396 GB, free: 13.05 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.0001493/0.6617, allocations: 112.1 kB / 0.7397 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007025/0.6624, allocations: 284.2 kB / 0.74 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.6625, allocations: 3.938 kB / 0.74 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002578/0.6627, allocations: 139.8 kB / 0.7401 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005571/0.6633, allocations: 93.39 kB / 0.7402 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.665, allocations: 0.8017 MB / 0.741 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.6655, allocations: 0.8152 MB / 0.7418 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000197/0.6657, allocations: 47.25 kB / 0.7418 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.798e-05/0.6658, allocations: 31.44 kB / 0.7418 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of SimCode: time 9.32e-07/0.6658, allocations: 0 / 0.7418 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of Templates: time 0.008572/0.6744, allocations: 3.64 MB / 0.7454 GB, free: 7.074 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)