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.0009554/0.0009556, allocations: 88.98 kB / 16.67 MB, free: 6.594 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.0009778/0.000978, allocations: 183.3 kB / 17.58 MB, free: 6.188 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.274/1.274, allocations: 223.3 MB / 241.6 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6961/0.6961, allocations: 115.5 MB / 408.2 MB, free: 7.062 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003566, allocations: 8 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3564, allocations: 77.51 MB / 0.5606 GB, free: 36.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003471/0.3599, allocations: 2.771 MB / 0.5633 GB, free: 34.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.3619, allocations: 0.9234 MB / 0.5642 GB, free: 33.74 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003107/0.3622, allocations: 12.41 kB / 0.5642 GB, free: 33.74 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002281/0.3625, allocations: 49.61 kB / 0.5642 GB, free: 33.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002084/0.3627, allocations: 82.56 kB / 0.5643 GB, free: 33.65 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000575/0.3633, allocations: 217.5 kB / 0.5645 GB, free: 33.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005363/0.3638, allocations: 0.5058 MB / 0.565 GB, free: 33.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000416/0.3642, allocations: 236.6 kB / 0.5652 GB, free: 33.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.3645, allocations: 149.9 kB / 0.5654 GB, free: 33.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.3647, allocations: 150 kB / 0.5655 GB, free: 32.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.957e-05/0.3647, allocations: 17.72 kB / 0.5656 GB, free: 32.99 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.302e-05/0.3648, allocations: 13.94 kB / 0.5656 GB, free: 32.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.555e-05/0.3649, allocations: 64.91 kB / 0.5656 GB, free: 32.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.365, allocations: 210.5 kB / 0.5658 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005025/0.3655, allocations: 437.3 kB / 0.5662 GB, free: 32.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.3655, allocations: 0.8906 kB / 0.5662 GB, free: 32.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3656, allocations: 1.344 kB / 0.5662 GB, free: 32.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.3656, allocations: 0 / 0.5662 GB, free: 32.69 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.00108/0.3667, allocations: 0.6904 MB / 0.5669 GB, free: 32.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.3667, allocations: 13.72 kB / 0.5669 GB, free: 32.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.3668, allocations: 56.5 kB / 0.567 GB, free: 32.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005281/0.3674, allocations: 411.2 kB / 0.5674 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.884e-05/0.3674, allocations: 29.94 kB / 0.5674 GB, free: 31.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.604e-05/0.3675, allocations: 38.53 kB / 0.5674 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006973/0.3682, allocations: 406.5 kB / 0.5678 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.3682, allocations: 0 / 0.5678 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.739e-05/0.3683, allocations: 14.75 kB / 0.5678 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.3683, allocations: 8.75 kB / 0.5679 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005682/0.3689, allocations: 268.8 kB / 0.5681 GB, free: 31.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.3706, allocations: 1.333 MB / 0.5694 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006912/0.3713, allocations: 305.9 kB / 0.5697 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.3716, allocations: 154.2 kB / 0.5699 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.3717, allocations: 7.406 kB / 0.5699 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003717/0.372, allocations: 170 kB / 0.57 GB, free: 30.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 2.274e-06/0.3721, allocations: 1.031 kB / 0.57 GB, free: 30.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008353/0.3729, allocations: 386.9 kB / 0.5704 GB, free: 30.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.373, allocations: 82.48 kB / 0.5705 GB, free: 30 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003961/0.3734, allocations: 351.3 kB / 0.5708 GB, free: 29.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.3734, allocations: 37.39 kB / 0.5708 GB, free: 29.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001522/0.3736, allocations: 237.6 kB / 0.5711 GB, free: 29.58 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.298e-05/0.3736, allocations: 108.6 kB / 0.5712 GB, free: 29.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.878e-05/0.3737, allocations: 41.14 kB / 0.5712 GB, free: 29.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.041e-05/0.3738, allocations: 348.1 kB / 0.5715 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.374, allocations: 105.8 kB / 0.5716 GB, free: 29.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.3743, allocations: 173.9 kB / 0.5718 GB, free: 28.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004461/0.3748, allocations: 263 kB / 0.5721 GB, free: 28.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3748, allocations: 1.531 kB / 0.5721 GB, free: 28.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006154/0.3754, allocations: 359.1 kB / 0.5724 GB, free: 28.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.3754, allocations: 6.75 kB / 0.5724 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.3754, allocations: 1.281 kB / 0.5724 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.3755, allocations: 7.438 kB / 0.5724 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.3757, allocations: 68.14 kB / 0.5725 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.3758, allocations: 5.047 kB / 0.5725 GB, free: 28.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.376, allocations: 43.55 kB / 0.5725 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.376, allocations: 14.17 kB / 0.5725 GB, free: 28.64 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.0001741/0.3762, allocations: 176.7 kB / 0.5727 GB, free: 28.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/0.3763, allocations: 37.41 kB / 0.5727 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.45e-05/0.3764, allocations: 48 kB / 0.5728 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.3764, allocations: 3.188 kB / 0.5728 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.3764, allocations: 0.5156 kB / 0.5728 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.3764, allocations: 2.984 kB / 0.5728 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.3775, allocations: 0.8202 MB / 0.5736 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.3775, allocations: 0 / 0.5736 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.3778, allocations: 44.66 kB / 0.5736 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.3778, allocations: 2.828 kB / 0.5736 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.3778, allocations: 7.719 kB / 0.5737 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.3778, allocations: 1.922 kB / 0.5737 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3778, allocations: 0.9688 kB / 0.5737 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000791/0.3786, allocations: 0.5278 MB / 0.5742 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.3787, allocations: 134.4 kB / 0.5743 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.458e-05/0.3788, allocations: 9.562 kB / 0.5743 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.379, allocations: 22.03 kB / 0.5743 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/0.3791, allocations: 24.97 kB / 0.5744 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.3791, allocations: 11.42 kB / 0.5744 GB, free: 27.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002482/0.3794, allocations: 244.8 kB / 0.5746 GB, free: 27.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3794, allocations: 0 / 0.5746 GB, free: 27.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003755/0.3797, allocations: 91.41 kB / 0.5747 GB, free: 27.31 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 0.0001067/0.3799, allocations: 108.6 kB / 0.5748 GB, free: 27.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005531/0.3804, allocations: 271.7 kB / 0.575 GB, free: 27.13 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3804, allocations: 0 / 0.575 GB, free: 27.13 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002762/0.3807, allocations: 144.7 kB / 0.5752 GB, free: 27.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005491/0.3813, allocations: 83.53 kB / 0.5753 GB, free: 27.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.3828, allocations: 1.044 MB / 0.5763 GB, free: 26.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.383, allocations: 0.8109 MB / 0.5771 GB, free: 25.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.3831, allocations: 37.12 kB / 0.5771 GB, free: 25.67 MB / 446.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3831, allocations: 0 / 0.5771 GB, free: 25.67 MB / 446.1 MB Notification: Performance of Templates: time 0.009029/0.3922, allocations: 4.773 MB / 0.5818 GB, free: 24.93 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)