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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5023/0.5023, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 222.9 MB / 349.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 100.8 kB / 420 MB, free: 8.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001043/0.001043, allocations: 55.92 kB / 0.4891 GB, free: 7.691 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5505/0.5516, allocations: 70.05 MB / 0.5575 GB, free: 44.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.006546/0.5582, allocations: 3.158 MB / 0.5606 GB, free: 42.04 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.5605, allocations: 0.9298 MB / 0.5615 GB, free: 41.1 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004363/0.561, allocations: 11.94 kB / 0.5615 GB, free: 41.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003046/0.5613, allocations: 54.53 kB / 0.5615 GB, free: 41.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.5616, allocations: 75.42 kB / 0.5616 GB, free: 40.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006857/0.5623, allocations: 219.6 kB / 0.5618 GB, free: 40.75 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005444/0.5629, allocations: 0.5191 MB / 0.5623 GB, free: 40.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004774/0.5634, allocations: 235.3 kB / 0.5626 GB, free: 40 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002364/0.5636, allocations: 175.1 kB / 0.5627 GB, free: 39.83 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.5639, allocations: 190.9 kB / 0.5629 GB, free: 39.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.891e-05/0.5639, allocations: 24 kB / 0.5629 GB, free: 39.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.467e-05/0.564, allocations: 28 kB / 0.563 GB, free: 39.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.634e-05/0.5641, allocations: 83.59 kB / 0.563 GB, free: 39.51 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001839/0.5643, allocations: 210.7 kB / 0.5632 GB, free: 39.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005104/0.5648, allocations: 0.5432 MB / 0.5638 GB, free: 38.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.5648, allocations: 0 / 0.5638 GB, free: 38.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5649, allocations: 0 / 0.5638 GB, free: 38.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.5649, allocations: 0 / 0.5638 GB, free: 38.76 MB / 410.7 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.001477/0.5664, allocations: 0.7723 MB / 0.5645 GB, free: 37.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.5664, allocations: 8.031 kB / 0.5645 GB, free: 37.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.5666, allocations: 56.28 kB / 0.5646 GB, free: 37.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006698/0.5672, allocations: 408.6 kB / 0.565 GB, free: 37.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.75e-05/0.5673, allocations: 29.38 kB / 0.565 GB, free: 37.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.26e-05/0.5674, allocations: 40.38 kB / 0.565 GB, free: 37.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007837/0.5682, allocations: 405.8 kB / 0.5654 GB, free: 36.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.5682, allocations: 0 / 0.5654 GB, free: 36.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.469e-05/0.5682, allocations: 12 kB / 0.5654 GB, free: 36.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.5683, allocations: 8 kB / 0.5654 GB, free: 36.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007478/0.569, allocations: 271.8 kB / 0.5657 GB, free: 36.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/0.5711, allocations: 1.316 MB / 0.567 GB, free: 35.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008721/0.572, allocations: 304.2 kB / 0.5673 GB, free: 34.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003314/0.5723, allocations: 152.7 kB / 0.5674 GB, free: 34.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.25e-05/0.5724, allocations: 8.438 kB / 0.5674 GB, free: 34.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005337/0.5729, allocations: 173.4 kB / 0.5676 GB, free: 34.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.384e-06/0.573, allocations: 0 / 0.5676 GB, free: 34.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.001026/0.574, allocations: 380.7 kB / 0.568 GB, free: 34.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.5741, allocations: 85.09 kB / 0.568 GB, free: 34.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004194/0.5745, allocations: 349.6 kB / 0.5684 GB, free: 33.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.5745, allocations: 37.7 kB / 0.5684 GB, free: 33.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.5747, allocations: 240.8 kB / 0.5686 GB, free: 33.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.363e-05/0.5748, allocations: 102.5 kB / 0.5687 GB, free: 33.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.5749, allocations: 70.06 kB / 0.5688 GB, free: 33.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.35e-05/0.575, allocations: 354.8 kB / 0.5691 GB, free: 32.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/0.5754, allocations: 96.7 kB / 0.5692 GB, free: 32.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.5757, allocations: 172.3 kB / 0.5694 GB, free: 32.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005774/0.5763, allocations: 259.8 kB / 0.5696 GB, free: 32.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5763, allocations: 4 kB / 0.5697 GB, free: 32.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007842/0.5771, allocations: 358.1 kB / 0.57 GB, free: 32.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.5771, allocations: 9.875 kB / 0.57 GB, free: 32.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.5771, allocations: 0 / 0.57 GB, free: 32.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.792e-05/0.5772, allocations: 4 kB / 0.57 GB, free: 32.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/0.5776, allocations: 67.89 kB / 0.5701 GB, free: 31.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.5776, allocations: 4 kB / 0.5701 GB, free: 31.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.5779, allocations: 47.77 kB / 0.5701 GB, free: 31.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.5779, allocations: 12 kB / 0.5701 GB, free: 31.92 MB / 410.7 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.0002219/0.5782, allocations: 170.3 kB / 0.5703 GB, free: 31.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-05/0.5782, allocations: 35.62 kB / 0.5703 GB, free: 31.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.5784, allocations: 48.23 kB / 0.5704 GB, free: 31.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.5784, allocations: 7.938 kB / 0.5704 GB, free: 31.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.5784, allocations: 0 / 0.5704 GB, free: 31.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.5784, allocations: 4 kB / 0.5704 GB, free: 31.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001343/0.5798, allocations: 0.8075 MB / 0.5712 GB, free: 30.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.5798, allocations: 0 / 0.5712 GB, free: 30.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003259/0.5801, allocations: 43.92 kB / 0.5712 GB, free: 30.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.852e-06/0.5801, allocations: 7.984 kB / 0.5712 GB, free: 30.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.5802, allocations: 4 kB / 0.5712 GB, free: 30.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.5802, allocations: 11.94 kB / 0.5712 GB, free: 30.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.5802, allocations: 0 / 0.5712 GB, free: 30.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005088/0.5853, allocations: 2.811 MB / 0.574 GB, free: 27.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.5854, allocations: 140.5 kB / 0.5741 GB, free: 27.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.913e-05/0.5855, allocations: 8 kB / 0.5741 GB, free: 27.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.5857, allocations: 28.03 kB / 0.5742 GB, free: 27.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.75e-05/0.5858, allocations: 19.97 kB / 0.5742 GB, free: 27.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.5859, allocations: 12 kB / 0.5742 GB, free: 27.55 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002542/0.5861, allocations: 243.2 kB / 0.5744 GB, free: 27.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5862, allocations: 0 / 0.5744 GB, free: 27.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006391/0.5868, allocations: 115.7 kB / 0.5745 GB, free: 27.2 MB / 410.7 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.0001303/0.5869, allocations: 112.5 kB / 0.5746 GB, free: 27.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00061/0.5876, allocations: 268.5 kB / 0.5749 GB, free: 26.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5876, allocations: 0 / 0.5749 GB, free: 26.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002832/0.5879, allocations: 139.8 kB / 0.575 GB, free: 26.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007279/0.5886, allocations: 81.81 kB / 0.5751 GB, free: 26.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.5906, allocations: 1.198 MB / 0.5763 GB, free: 25.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.5909, allocations: 0.8237 MB / 0.5771 GB, free: 24.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002784/0.5912, allocations: 51.27 kB / 0.5771 GB, free: 24.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.5913, allocations: 35.42 kB / 0.5772 GB, free: 24.43 MB / 410.7 MB Notification: Performance of SimCode: time 8.02e-07/0.5913, allocations: 0 / 0.5772 GB, free: 24.43 MB / 410.7 MB Notification: Performance of Templates: time 0.01103/0.6024, allocations: 4.148 MB / 0.5812 GB, free: 20.32 MB / 410.7 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)