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.001244/0.001244, allocations: 113.5 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.001188/0.001188, 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.27/1.27, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6747/0.6747, allocations: 115.1 MB / 406.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 63.89 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3565, allocations: 76.15 MB / 0.5576 GB, free: 36.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004678/0.3612, allocations: 3.119 MB / 0.5606 GB, free: 34.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.3631, allocations: 0.9605 MB / 0.5615 GB, free: 33.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002513/0.3633, allocations: 15.78 kB / 0.5616 GB, free: 33.65 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002366/0.3636, allocations: 69.72 kB / 0.5616 GB, free: 33.6 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001791/0.3638, allocations: 92.94 kB / 0.5617 GB, free: 33.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005083/0.3643, allocations: 245.9 kB / 0.562 GB, free: 33.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005083/0.3648, allocations: 0.55 MB / 0.5625 GB, free: 33.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004266/0.3652, allocations: 254.9 kB / 0.5627 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002484/0.3655, allocations: 203.8 kB / 0.5629 GB, free: 32.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002503/0.3658, allocations: 210.7 kB / 0.5631 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.222e-05/0.3659, allocations: 52.5 kB / 0.5632 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.456e-05/0.3659, allocations: 51.88 kB / 0.5632 GB, free: 32.74 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.366, allocations: 114.1 kB / 0.5633 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001964/0.3662, allocations: 237.2 kB / 0.5636 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005918/0.3668, allocations: 0.5911 MB / 0.5641 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3669, allocations: 0.5625 kB / 0.5641 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3669, allocations: 0.6875 kB / 0.5641 GB, free: 32.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.3669, allocations: 0 / 0.5641 GB, free: 32.23 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.001066/0.3679, allocations: 0.7682 MB / 0.5649 GB, free: 31.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.368, allocations: 8.688 kB / 0.5649 GB, free: 31.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.218e-05/0.3681, allocations: 53.42 kB / 0.5649 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006098/0.3687, allocations: 422.1 kB / 0.5654 GB, free: 31.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/0.3687, allocations: 29.28 kB / 0.5654 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.551e-05/0.3688, allocations: 42.62 kB / 0.5654 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006238/0.3695, allocations: 397.7 kB / 0.5658 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.3695, allocations: 1 kB / 0.5658 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.3695, allocations: 16.78 kB / 0.5658 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.3695, allocations: 7.938 kB / 0.5658 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005247/0.3701, allocations: 266.3 kB / 0.5661 GB, free: 30.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.3717, allocations: 1.305 MB / 0.5674 GB, free: 30.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006365/0.3723, allocations: 311.1 kB / 0.5676 GB, free: 29.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/0.3726, allocations: 139.6 kB / 0.5678 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.3726, allocations: 5.875 kB / 0.5678 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003107/0.3729, allocations: 176.8 kB / 0.568 GB, free: 29.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.964e-06/0.3729, allocations: 0 / 0.568 GB, free: 29.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.0007484/0.3737, allocations: 379.5 kB / 0.5683 GB, free: 29.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.3738, allocations: 87.39 kB / 0.5684 GB, free: 29.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/0.3741, allocations: 350 kB / 0.5687 GB, free: 29.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.3741, allocations: 34.3 kB / 0.5688 GB, free: 29.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.3743, allocations: 234.2 kB / 0.569 GB, free: 29.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.691e-05/0.3743, allocations: 101.6 kB / 0.5691 GB, free: 28.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.3745, allocations: 77.5 kB / 0.5692 GB, free: 28.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.336e-05/0.3745, allocations: 350 kB / 0.5695 GB, free: 28.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.3748, allocations: 103.4 kB / 0.5696 GB, free: 28.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002352/0.375, allocations: 171.4 kB / 0.5698 GB, free: 28.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003976/0.3754, allocations: 263 kB / 0.57 GB, free: 28.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3754, allocations: 0 / 0.57 GB, free: 28.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000555/0.376, allocations: 356.6 kB / 0.5703 GB, free: 28.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.376, allocations: 8.172 kB / 0.5704 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.376, allocations: 1.031 kB / 0.5704 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.376, allocations: 4.156 kB / 0.5704 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.3763, allocations: 71.23 kB / 0.5704 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.3763, allocations: 7.375 kB / 0.5704 GB, free: 28.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.3765, allocations: 45.25 kB / 0.5705 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.3765, allocations: 9.844 kB / 0.5705 GB, free: 28.11 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.0001514/0.3767, allocations: 184 kB / 0.5707 GB, free: 27.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.3767, allocations: 39.28 kB / 0.5707 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.433e-05/0.3768, allocations: 43.06 kB / 0.5707 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.3768, allocations: 3.906 kB / 0.5707 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.3769, allocations: 0 / 0.5707 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3769, allocations: 3.609 kB / 0.5707 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.3779, allocations: 0.8136 MB / 0.5715 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3779, allocations: 1.312 kB / 0.5715 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.3781, allocations: 51.05 kB / 0.5716 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3782, allocations: 1.891 kB / 0.5716 GB, free: 27.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.3782, allocations: 6.781 kB / 0.5716 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3782, allocations: 1.797 kB / 0.5716 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3782, allocations: 1.125 kB / 0.5716 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007289/0.3789, allocations: 0.5093 MB / 0.5721 GB, free: 27.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.3791, allocations: 140.2 kB / 0.5722 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.482e-05/0.3791, allocations: 6.953 kB / 0.5722 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.3793, allocations: 16.42 kB / 0.5723 GB, free: 26.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.16e-05/0.3794, allocations: 26.56 kB / 0.5723 GB, free: 26.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.3794, allocations: 11.52 kB / 0.5723 GB, free: 26.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002174/0.3796, allocations: 241.7 kB / 0.5725 GB, free: 26.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3796, allocations: 3.938 kB / 0.5725 GB, free: 26.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003392/0.38, allocations: 93.09 kB / 0.5726 GB, free: 26.77 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.942e-05/0.3801, allocations: 104.5 kB / 0.5727 GB, free: 26.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000512/0.3806, allocations: 263.9 kB / 0.573 GB, free: 26.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3806, allocations: 5 kB / 0.573 GB, free: 26.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.3809, allocations: 135.6 kB / 0.5731 GB, free: 26.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004852/0.3813, allocations: 98.36 kB / 0.5732 GB, free: 26.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.3826, allocations: 0.8011 MB / 0.574 GB, free: 26.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.3829, allocations: 0.8159 MB / 0.5748 GB, free: 25.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001564/0.3831, allocations: 45.56 kB / 0.5748 GB, free: 25.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.072e-05/0.3831, allocations: 29.73 kB / 0.5748 GB, free: 25.36 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3831, allocations: 0 / 0.5748 GB, free: 25.36 MB / 446.1 MB Notification: Performance of Templates: time 0.008569/0.3917, allocations: 3.638 MB / 0.5784 GB, free: 25.11 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)