Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.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.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 110.4 kB / 17.03 MB, free: 5.699 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.001155/0.001155, allocations: 196.1 kB / 17.97 MB, free: 5.074 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.284/1.284, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6806/0.6806, allocations: 115.1 MB / 406.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 67.84 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3559, allocations: 76.14 MB / 0.5576 GB, free: 37.06 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.003789/0.3598, allocations: 2.966 MB / 0.5605 GB, free: 35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.3612, allocations: 0.9081 MB / 0.5613 GB, free: 34.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002029/0.3614, allocations: 13.44 kB / 0.5614 GB, free: 34.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001961/0.3616, allocations: 69.11 kB / 0.5614 GB, free: 34.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001561/0.3618, allocations: 87.48 kB / 0.5615 GB, free: 34.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.3622, allocations: 212.4 kB / 0.5617 GB, free: 34.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004077/0.3626, allocations: 498 kB / 0.5622 GB, free: 33.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003132/0.363, allocations: 220.8 kB / 0.5624 GB, free: 33.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.3631, allocations: 170.8 kB / 0.5626 GB, free: 33.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.3633, allocations: 183.4 kB / 0.5627 GB, free: 33.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.681e-05/0.3634, allocations: 47.81 kB / 0.5628 GB, free: 33.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.278e-05/0.3635, allocations: 43.75 kB / 0.5628 GB, free: 33.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.511e-05/0.3635, allocations: 92.91 kB / 0.5629 GB, free: 33.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.3637, allocations: 207.4 kB / 0.5631 GB, free: 33.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004459/0.3641, allocations: 0.5071 MB / 0.5636 GB, free: 33.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3641, allocations: 0 / 0.5636 GB, free: 33.1 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3641, allocations: 1.344 kB / 0.5636 GB, free: 33.1 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.3641, allocations: 0 / 0.5636 GB, free: 33.1 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0009153/0.3651, allocations: 0.7119 MB / 0.5643 GB, free: 32.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.3651, allocations: 9 kB / 0.5643 GB, free: 32.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.303e-05/0.3652, allocations: 48.95 kB / 0.5644 GB, free: 32.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005447/0.3657, allocations: 401.9 kB / 0.5647 GB, free: 32.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.3658, allocations: 25.12 kB / 0.5648 GB, free: 32.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.033e-05/0.3658, allocations: 28.95 kB / 0.5648 GB, free: 32.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004987/0.3663, allocations: 337.4 kB / 0.5651 GB, free: 31.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.3664, allocations: 4.547 kB / 0.5651 GB, free: 31.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.3664, allocations: 11.88 kB / 0.5651 GB, free: 31.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.3664, allocations: 8.562 kB / 0.5651 GB, free: 31.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004247/0.3668, allocations: 211.8 kB / 0.5653 GB, free: 31.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.3681, allocations: 1.181 MB / 0.5665 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005093/0.3686, allocations: 237.5 kB / 0.5667 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.3688, allocations: 113.9 kB / 0.5668 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.3689, allocations: 2.188 kB / 0.5668 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.3689, allocations: 38.5 kB / 0.5669 GB, free: 30.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.3689, allocations: 1.25 kB / 0.5669 GB, free: 30.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005987/0.3695, allocations: 296.5 kB / 0.5671 GB, free: 30.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.3696, allocations: 105.8 kB / 0.5672 GB, free: 30.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.3699, allocations: 342.5 kB / 0.5676 GB, free: 30.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.3699, allocations: 30.83 kB / 0.5676 GB, free: 30.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.37, allocations: 219.3 kB / 0.5678 GB, free: 30.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.3701, allocations: 79.34 kB / 0.5679 GB, free: 30.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-05/0.3701, allocations: 49.06 kB / 0.5679 GB, free: 30.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.786e-05/0.3702, allocations: 346.2 kB / 0.5683 GB, free: 29.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.3704, allocations: 76.48 kB / 0.5683 GB, free: 29.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.3706, allocations: 141.4 kB / 0.5685 GB, free: 29.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003214/0.3709, allocations: 214.4 kB / 0.5687 GB, free: 29.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3709, allocations: 2.875 kB / 0.5687 GB, free: 29.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004414/0.3714, allocations: 286.1 kB / 0.569 GB, free: 29.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3714, allocations: 5.688 kB / 0.569 GB, free: 29.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3714, allocations: 6.094 kB / 0.569 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.3714, allocations: 3.438 kB / 0.569 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.3717, allocations: 52.25 kB / 0.569 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.3717, allocations: 4.625 kB / 0.569 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.3719, allocations: 32.64 kB / 0.5691 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.3719, allocations: 13.33 kB / 0.5691 GB, free: 29.34 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: 3 (con.hys.y,$PRE.con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001219/0.372, allocations: 163.2 kB / 0.5692 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.467e-05/0.3721, allocations: 40.48 kB / 0.5693 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.422e-05/0.3721, allocations: 36.94 kB / 0.5693 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3722, allocations: 3.891 kB / 0.5693 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3722, allocations: 0 / 0.5693 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.3722, allocations: 2.953 kB / 0.5693 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003675/0.3726, allocations: 403.7 kB / 0.5697 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3726, allocations: 5.188 kB / 0.5697 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.3728, allocations: 38 kB / 0.5697 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.3728, allocations: 1.969 kB / 0.5697 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.3728, allocations: 7.516 kB / 0.5697 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3728, allocations: 1.094 kB / 0.5697 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3728, allocations: 0.5 kB / 0.5697 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006021/0.3734, allocations: 425.9 kB / 0.5701 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.622e-05/0.3735, allocations: 136.3 kB / 0.5703 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.3736, allocations: 7.234 kB / 0.5703 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.3738, allocations: 13.34 kB / 0.5703 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.107e-05/0.3738, allocations: 19.77 kB / 0.5703 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.3738, allocations: 6.234 kB / 0.5703 GB, free: 28.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002048/0.3741, allocations: 241.4 kB / 0.5706 GB, free: 28.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3741, allocations: 0 / 0.5706 GB, free: 28.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003111/0.3744, allocations: 66.94 kB / 0.5706 GB, free: 28.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 9.057e-05/0.3745, allocations: 110.5 kB / 0.5707 GB, free: 28.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004077/0.3749, allocations: 197 kB / 0.5709 GB, free: 28.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3749, allocations: 0 / 0.5709 GB, free: 28.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.3751, allocations: 95.95 kB / 0.571 GB, free: 28.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.3756, allocations: 93.72 kB / 0.5711 GB, free: 28.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.3766, allocations: 0.6858 MB / 0.5718 GB, free: 27.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.3768, allocations: 0.7937 MB / 0.5725 GB, free: 26.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001343/0.377, allocations: 39.75 kB / 0.5726 GB, free: 26.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.907e-05/0.3771, allocations: 30.55 kB / 0.5726 GB, free: 26.97 MB / 446.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3771, allocations: 0 / 0.5726 GB, free: 26.97 MB / 446.1 MB Notification: Performance of Templates: time 0.006939/0.384, allocations: 3.181 MB / 0.5757 GB, free: 26.74 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & ./IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)