Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.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.001499/0.001499, allocations: 106.4 kB / 17.03 MB, free: 5.656 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.001608/0.001608, allocations: 190.9 kB / 17.97 MB, free: 5.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7782/0.7782, allocations: 115.1 MB / 406.9 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 67.89 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4444/0.4458, allocations: 76.14 MB / 0.5576 GB, free: 36.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004283/0.4501, allocations: 3.125 MB / 0.5606 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.452, allocations: 0.9611 MB / 0.5615 GB, free: 33.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004406/0.4524, allocations: 10.94 kB / 0.5616 GB, free: 33.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002831/0.4527, allocations: 74.14 kB / 0.5616 GB, free: 33.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003223/0.4531, allocations: 93.66 kB / 0.5617 GB, free: 33.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006317/0.4537, allocations: 247.8 kB / 0.562 GB, free: 33.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006632/0.4544, allocations: 0.5485 MB / 0.5625 GB, free: 33.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004241/0.4548, allocations: 256.7 kB / 0.5627 GB, free: 33.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003069/0.4551, allocations: 206.4 kB / 0.5629 GB, free: 33.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.4555, allocations: 204.6 kB / 0.5631 GB, free: 32.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.4556, allocations: 51.25 kB / 0.5632 GB, free: 32.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.931e-05/0.4557, allocations: 52.47 kB / 0.5632 GB, free: 32.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.4558, allocations: 114.5 kB / 0.5633 GB, free: 32.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002312/0.4561, allocations: 232.1 kB / 0.5636 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007212/0.4568, allocations: 0.5922 MB / 0.5641 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4568, allocations: 0 / 0.5641 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.4568, allocations: 1.469 kB / 0.5641 GB, free: 32.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.257e-05/0.4569, allocations: 1.875 kB / 0.5641 GB, free: 32.39 MB / 446.1 MB 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.001442/0.4583, allocations: 0.7691 MB / 0.5649 GB, free: 31.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.4584, allocations: 10.22 kB / 0.5649 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.4585, allocations: 52.64 kB / 0.5649 GB, free: 31.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006878/0.4592, allocations: 419.4 kB / 0.5653 GB, free: 31.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.4592, allocations: 30.06 kB / 0.5654 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.205e-05/0.4593, allocations: 37.81 kB / 0.5654 GB, free: 31.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006192/0.46, allocations: 402.1 kB / 0.5658 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.46, allocations: 0.9375 kB / 0.5658 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.46, allocations: 15.86 kB / 0.5658 GB, free: 31.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.46, allocations: 11.12 kB / 0.5658 GB, free: 31.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005237/0.4606, allocations: 265.4 kB / 0.5661 GB, free: 31.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.4621, allocations: 1.301 MB / 0.5673 GB, free: 30.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006314/0.4628, allocations: 312.1 kB / 0.5676 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.463, allocations: 145.8 kB / 0.5678 GB, free: 29.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.4631, allocations: 5.484 kB / 0.5678 GB, free: 29.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003284/0.4634, allocations: 181.7 kB / 0.568 GB, free: 29.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 2.735e-06/0.4634, allocations: 0 / 0.568 GB, free: 29.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.0007613/0.4642, allocations: 374.8 kB / 0.5683 GB, free: 29.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.4643, allocations: 87.58 kB / 0.5684 GB, free: 29.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003671/0.4646, allocations: 354.1 kB / 0.5687 GB, free: 29.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.4647, allocations: 33.39 kB / 0.5688 GB, free: 29.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.4648, allocations: 232.1 kB / 0.569 GB, free: 29.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.289e-05/0.4649, allocations: 104.4 kB / 0.5691 GB, free: 29.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.465, allocations: 76.89 kB / 0.5692 GB, free: 29.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.925e-05/0.4651, allocations: 348.9 kB / 0.5695 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.4653, allocations: 102.1 kB / 0.5696 GB, free: 28.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.4655, allocations: 171.2 kB / 0.5698 GB, free: 28.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000406/0.4659, allocations: 266.4 kB / 0.57 GB, free: 28.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4659, allocations: 1 kB / 0.57 GB, free: 28.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005699/0.4665, allocations: 356.5 kB / 0.5704 GB, free: 28.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.4665, allocations: 5.672 kB / 0.5704 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4666, allocations: 6.094 kB / 0.5704 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.4666, allocations: 3.562 kB / 0.5704 GB, free: 28.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.4669, allocations: 65.73 kB / 0.5704 GB, free: 28.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.4669, allocations: 2.906 kB / 0.5704 GB, free: 28.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.4671, allocations: 38.03 kB / 0.5705 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.4671, allocations: 15.39 kB / 0.5705 GB, free: 28.27 MB / 446.1 MB 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.0001627/0.4673, allocations: 188.6 kB / 0.5707 GB, free: 28.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.594e-05/0.4673, allocations: 36.97 kB / 0.5707 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.133e-05/0.4674, allocations: 45.25 kB / 0.5707 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4674, allocations: 3.375 kB / 0.5707 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.4674, allocations: 0 / 0.5707 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.4675, allocations: 3.188 kB / 0.5708 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.4685, allocations: 0.8108 MB / 0.5715 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4685, allocations: 0 / 0.5715 GB, free: 27.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.4687, allocations: 48.56 kB / 0.5716 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.4688, allocations: 7.062 kB / 0.5716 GB, free: 27.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.4688, allocations: 6.359 kB / 0.5716 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.4688, allocations: 7.016 kB / 0.5716 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4688, allocations: 0 / 0.5716 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007508/0.4696, allocations: 0.5117 MB / 0.5721 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.4697, allocations: 138.8 kB / 0.5722 GB, free: 27.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.545e-05/0.4697, allocations: 6.844 kB / 0.5722 GB, free: 27.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.4699, allocations: 17.27 kB / 0.5723 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.707e-05/0.47, allocations: 25.64 kB / 0.5723 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.47, allocations: 11.67 kB / 0.5723 GB, free: 27.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002169/0.4703, allocations: 240.1 kB / 0.5725 GB, free: 26.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4703, allocations: 1.219 kB / 0.5725 GB, free: 26.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003544/0.4706, allocations: 94.12 kB / 0.5726 GB, free: 26.93 MB / 446.1 MB 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 9.401e-05/0.4707, allocations: 108.6 kB / 0.5727 GB, free: 26.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005251/0.4713, allocations: 264.2 kB / 0.573 GB, free: 26.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4713, allocations: 0.9375 kB / 0.573 GB, free: 26.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.4715, allocations: 136.3 kB / 0.5731 GB, free: 26.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005027/0.4721, allocations: 83.7 kB / 0.5732 GB, free: 26.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.4733, allocations: 0.8109 MB / 0.574 GB, free: 26.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.4736, allocations: 0.8119 MB / 0.5748 GB, free: 25.53 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001725/0.4738, allocations: 48.64 kB / 0.5748 GB, free: 25.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.582e-05/0.4738, allocations: 30.75 kB / 0.5748 GB, free: 25.5 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4739, allocations: 0 / 0.5748 GB, free: 25.5 MB / 446.1 MB Notification: Performance of Templates: time 0.008188/0.482, allocations: 3.646 MB / 0.5784 GB, free: 25.25 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)