Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001577/0.001577, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002383/0.002383, allocations: 191.6 kB / 16.14 MB, free: 6.711 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.519/1.519, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.024/3.024, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 71.03 kB / 0.9113 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3982, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005857/0.4041, allocations: 3.195 MB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002444/0.4066, allocations: 0.9505 MB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006823/0.4073, allocations: 12 kB / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004158/0.4078, allocations: 55.5 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000478/0.4083, allocations: 75.42 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007935/0.4091, allocations: 207.8 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0008443/0.41, allocations: 0.5075 MB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005297/0.4105, allocations: 243.3 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003905/0.4109, allocations: 175 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003443/0.4113, allocations: 190.9 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.197e-05/0.4114, allocations: 24 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.576e-05/0.4115, allocations: 24 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.026e-05/0.4116, allocations: 87.53 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002317/0.4118, allocations: 206.8 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005973/0.4124, allocations: 0.5414 MB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.4124, allocations: 0 / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4124, allocations: 3.938 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.846e-05/0.4125, allocations: 0 / 1.074 GB, free: 4.391 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.001778/0.4142, allocations: 0.77 MB / 1.075 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.4143, allocations: 11.97 kB / 1.075 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.4145, allocations: 60.27 kB / 1.075 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007148/0.4152, allocations: 404.7 kB / 1.075 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.519e-05/0.4153, allocations: 29.38 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.756e-05/0.4153, allocations: 40.31 kB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007599/0.4161, allocations: 405.9 kB / 1.075 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.4161, allocations: 7.906 kB / 1.075 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/0.4162, allocations: 8 kB / 1.076 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.4162, allocations: 12 kB / 1.076 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006095/0.4168, allocations: 263.8 kB / 1.076 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002081/0.4189, allocations: 1.313 MB / 1.077 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007478/0.4197, allocations: 309.2 kB / 1.077 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/0.4199, allocations: 150.5 kB / 1.077 GB, free: 460 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.744e-05/0.42, allocations: 4 kB / 1.077 GB, free: 456 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004385/0.4204, allocations: 173.5 kB / 1.078 GB, free: 268 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=33): time 2.695e-06/0.4205, allocations: 0 / 1.078 GB, free: 268 kB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.0008407/0.4213, allocations: 378.6 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.78e-05/0.4214, allocations: 85.66 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004025/0.4218, allocations: 353.6 kB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.4219, allocations: 37.7 kB / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.422, allocations: 236.3 kB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.365e-05/0.4221, allocations: 102.5 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.4223, allocations: 70.06 kB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.4224, allocations: 350.8 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.4227, allocations: 96.7 kB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.423, allocations: 172.6 kB / 1.079 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004628/0.4234, allocations: 259.8 kB / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4234, allocations: 0 / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006668/0.4241, allocations: 354.2 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.4241, allocations: 4 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.4242, allocations: 3.984 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.4242, allocations: 4 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.4245, allocations: 71.84 kB / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.4245, allocations: 0 / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.4247, allocations: 43.66 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.4247, allocations: 12 kB / 1.08 GB, free: 13.57 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.0002007/0.425, allocations: 186 kB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-05/0.425, allocations: 35.53 kB / 1.08 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.845e-05/0.4251, allocations: 44.25 kB / 1.08 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.4251, allocations: 4 kB / 1.08 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.4251, allocations: 0 / 1.08 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.4252, allocations: 3.984 kB / 1.08 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.4264, allocations: 0.8191 MB / 1.081 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4264, allocations: 0 / 1.081 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.4266, allocations: 47.91 kB / 1.081 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.4266, allocations: 0 / 1.081 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.4267, allocations: 19.98 kB / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.4267, allocations: 0 / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4267, allocations: 0 / 1.081 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008288/0.4275, allocations: 0.5144 MB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.4277, allocations: 132.6 kB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.859e-05/0.4277, allocations: 12 kB / 1.082 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.4279, allocations: 15.98 kB / 1.082 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.462e-05/0.428, allocations: 23.95 kB / 1.082 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.428, allocations: 12.06 kB / 1.082 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002611/0.4283, allocations: 247.2 kB / 1.082 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4283, allocations: 0 / 1.082 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003612/0.4287, allocations: 87.62 kB / 1.082 GB, free: 11.29 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.0001446/0.4288, allocations: 115.7 kB / 1.082 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006188/0.4295, allocations: 264.1 kB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4295, allocations: 0 / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002559/0.4297, allocations: 132.5 kB / 1.083 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005448/0.4303, allocations: 75.91 kB / 1.083 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.4319, allocations: 0.9624 MB / 1.084 GB, free: 9.719 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.4324, allocations: 0.8191 MB / 1.085 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002038/0.4326, allocations: 47.25 kB / 1.085 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.469e-05/0.4327, allocations: 39.42 kB / 1.085 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.4327, allocations: 0 / 1.085 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of Templates: time 0.008567/0.4413, allocations: 3.396 MB / 1.088 GB, free: 5.418 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_1.6_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)