Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001321/0.001321, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001738/0.001738, allocations: 195.5 kB / 16.14 MB, free: 6.688 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.469/1.469, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.932/2.932, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 63.59 kB / 0.9114 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.4339, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005364/0.4393, allocations: 3.203 MB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001881/0.4412, allocations: 0.9427 MB / 1.072 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002764/0.4415, allocations: 15.94 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002646/0.4418, allocations: 47.58 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001886/0.442, allocations: 83.34 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005571/0.4425, allocations: 207.3 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004815/0.443, allocations: 0.5114 MB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000398/0.4434, allocations: 243.3 kB / 1.073 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002135/0.4437, allocations: 183 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.4439, allocations: 183 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.214e-05/0.4439, allocations: 24 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.958e-05/0.444, allocations: 24 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.653e-05/0.4441, allocations: 87.48 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.4443, allocations: 210.7 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005173/0.4448, allocations: 0.5452 MB / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.4448, allocations: 0 / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4448, allocations: 0 / 1.074 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.906e-06/0.4448, allocations: 0 / 1.074 GB, free: 4.414 MB / 0.8262 GB 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.001298/0.4461, allocations: 0.766 MB / 1.075 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.4462, allocations: 8.031 kB / 1.075 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.4463, allocations: 56.28 kB / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005777/0.4469, allocations: 412.7 kB / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/0.4469, allocations: 29.38 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.713e-05/0.447, allocations: 36.38 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006326/0.4476, allocations: 397.9 kB / 1.075 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.4477, allocations: 11.89 kB / 1.075 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/0.4477, allocations: 16 kB / 1.076 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.4477, allocations: 12 kB / 1.076 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00053/0.4483, allocations: 255.8 kB / 1.076 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.4499, allocations: 1.317 MB / 1.077 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006951/0.4506, allocations: 313.4 kB / 1.077 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/0.4509, allocations: 144.7 kB / 1.077 GB, free: 492 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.4509, allocations: 0 / 1.077 GB, free: 492 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004237/0.4514, allocations: 177.4 kB / 1.078 GB, free: 300 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.4514, allocations: 4 kB / 1.078 GB, free: 296 kB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.0008139/0.4522, allocations: 378.7 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.704e-05/0.4523, allocations: 85.11 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003703/0.4527, allocations: 349.6 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/0.4527, allocations: 37.7 kB / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.4529, allocations: 232.9 kB / 1.079 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.21e-05/0.453, allocations: 110.5 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.4531, allocations: 70.08 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4533, allocations: 350.8 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.4535, allocations: 104.6 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.4538, allocations: 168.6 kB / 1.079 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004331/0.4542, allocations: 259.8 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4542, allocations: 0 / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006006/0.4548, allocations: 350.1 kB / 1.08 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.4548, allocations: 8 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.4548, allocations: 0 / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.4549, allocations: 4.188 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.4551, allocations: 67.91 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.4552, allocations: 4 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.4554, allocations: 43.67 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.4554, allocations: 15.94 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB 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.0001997/0.4556, allocations: 181.9 kB / 1.08 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.249e-05/0.4557, allocations: 39.53 kB / 1.08 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.87e-05/0.4557, allocations: 48.25 kB / 1.08 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.4558, allocations: 4 kB / 1.08 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.4558, allocations: 0 / 1.08 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4558, allocations: 0 / 1.08 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.4569, allocations: 0.8075 MB / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.4569, allocations: 0 / 1.081 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.4571, allocations: 55.91 kB / 1.081 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.4571, allocations: 4 kB / 1.081 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.4572, allocations: 4 kB / 1.081 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.4572, allocations: 4 kB / 1.081 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4572, allocations: 0 / 1.081 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008234/0.458, allocations: 0.5144 MB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.4581, allocations: 136.6 kB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.018e-05/0.4582, allocations: 11.98 kB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.4584, allocations: 15.98 kB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.486e-05/0.4585, allocations: 23.97 kB / 1.082 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.4585, allocations: 11.98 kB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002428/0.4588, allocations: 239.2 kB / 1.082 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4588, allocations: 0 / 1.082 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003517/0.4591, allocations: 87.62 kB / 1.082 GB, free: 11.32 MB / 0.8419 GB 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.0001358/0.4593, allocations: 126 kB / 1.082 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005387/0.4598, allocations: 259.7 kB / 1.083 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4598, allocations: 0 / 1.083 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002464/0.4601, allocations: 136.7 kB / 1.083 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005413/0.4606, allocations: 87.2 kB / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.4622, allocations: 0.9625 MB / 1.084 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.4625, allocations: 0.8113 MB / 1.085 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001813/0.4627, allocations: 51.25 kB / 1.085 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.913e-05/0.4628, allocations: 27.44 kB / 1.085 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.4628, allocations: 0 / 1.085 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of Templates: time 0.007552/0.4704, allocations: 3.402 MB / 1.088 GB, free: 5.445 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)