Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.622/1.622, allocations: 289.7 MB / 302.2 MB, free: 2.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009537/0.0009537, allocations: 180.3 kB / 371.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009269/0.0009271, allocations: 94.11 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.172e-05/5.174e-05, allocations: 0 / 0.8662 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3283, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.942/1.27, allocations: 146.7 MB / 1.123 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/1.271, allocations: 75.08 kB / 1.123 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01779/1.288, allocations: 7.529 MB / 1.13 GB, free: 34.91 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.362e-06/1.289, allocations: 0 / 1.13 GB, free: 34.91 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.066e-05/1.289, allocations: 8 kB / 1.13 GB, free: 34.9 MB / 0.7448 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.001038/1.29, allocations: 0.6437 MB / 1.131 GB, free: 34.3 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/1.29, allocations: 8.031 kB / 1.131 GB, free: 34.29 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/1.29, allocations: 61.06 kB / 1.131 GB, free: 34.23 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006099/1.29, allocations: 406.6 kB / 1.132 GB, free: 33.91 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/1.291, allocations: 28.22 kB / 1.132 GB, free: 33.89 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.19e-05/1.291, allocations: 39.19 kB / 1.132 GB, free: 33.86 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006387/1.291, allocations: 397 kB / 1.132 GB, free: 33.6 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/1.291, allocations: 3.562 kB / 1.132 GB, free: 33.6 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.794e-05/1.291, allocations: 14.88 kB / 1.132 GB, free: 33.6 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/1.291, allocations: 8 kB / 1.132 GB, free: 33.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004366/1.292, allocations: 250.3 kB / 1.132 GB, free: 33.44 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/1.294, allocations: 1.373 MB / 1.134 GB, free: 32.47 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005353/1.294, allocations: 315.3 kB / 1.134 GB, free: 32.29 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/1.294, allocations: 121.8 kB / 1.134 GB, free: 32.21 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.676e-05/1.294, allocations: 4 kB / 1.134 GB, free: 32.21 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/1.295, allocations: 176.4 kB / 1.134 GB, free: 32.09 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=33): time 2.345e-06/1.295, allocations: 0 / 1.134 GB, free: 32.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33): time 0.000486/1.295, allocations: 280.4 kB / 1.134 GB, free: 31.89 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.211e-05/1.295, allocations: 136 kB / 1.135 GB, free: 31.73 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/1.296, allocations: 311.5 kB / 1.135 GB, free: 31.51 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/1.296, allocations: 36.95 kB / 1.135 GB, free: 31.48 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/1.296, allocations: 232.8 kB / 1.135 GB, free: 31.32 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.884e-05/1.296, allocations: 103.3 kB / 1.135 GB, free: 31.25 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/1.296, allocations: 11.31 kB / 1.135 GB, free: 31.24 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.672e-05/1.296, allocations: 344.4 kB / 1.136 GB, free: 30.92 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/1.296, allocations: 93.67 kB / 1.136 GB, free: 30.87 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/1.296, allocations: 162.8 kB / 1.136 GB, free: 30.74 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/1.296, allocations: 108.5 kB / 1.136 GB, free: 30.68 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/1.297, allocations: 7.953 kB / 1.136 GB, free: 30.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004369/1.297, allocations: 315.8 kB / 1.136 GB, free: 30.46 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/1.297, allocations: 8 kB / 1.136 GB, free: 30.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/1.297, allocations: 8.859 kB / 1.136 GB, free: 30.44 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/1.297, allocations: 8.156 kB / 1.136 GB, free: 30.44 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/1.297, allocations: 69.67 kB / 1.136 GB, free: 30.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/1.297, allocations: 0 / 1.136 GB, free: 30.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/1.298, allocations: 53.27 kB / 1.136 GB, free: 30.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/1.298, allocations: 14.94 kB / 1.136 GB, free: 30.33 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.679e-05/1.298, allocations: 123.4 kB / 1.137 GB, free: 30.21 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.947e-05/1.298, allocations: 50.56 kB / 1.137 GB, free: 30.17 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.74e-05/1.298, allocations: 42.72 kB / 1.137 GB, free: 30.15 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/1.298, allocations: 4 kB / 1.137 GB, free: 30.15 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/1.298, allocations: 1.75 kB / 1.137 GB, free: 30.15 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/1.298, allocations: 10.28 kB / 1.137 GB, free: 30.14 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008728/1.299, allocations: 0.8345 MB / 1.137 GB, free: 29.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.299, allocations: 0 / 1.137 GB, free: 29.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/1.299, allocations: 58.58 kB / 1.137 GB, free: 29.53 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/1.299, allocations: 0 / 1.137 GB, free: 29.53 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/1.299, allocations: 7.625 kB / 1.137 GB, free: 29.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/1.299, allocations: 1.016 kB / 1.137 GB, free: 29.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.15e-05/1.299, allocations: 0 / 1.137 GB, free: 29.52 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005953/1.3, allocations: 0.5066 MB / 1.138 GB, free: 29.15 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/1.3, allocations: 144.1 kB / 1.138 GB, free: 29.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.977e-05/1.3, allocations: 10.91 kB / 1.138 GB, free: 29.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/1.3, allocations: 27.05 kB / 1.138 GB, free: 29 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-05/1.3, allocations: 30.12 kB / 1.138 GB, free: 28.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/1.3, allocations: 14.88 kB / 1.138 GB, free: 28.97 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002464/1.301, allocations: 244.2 kB / 1.138 GB, free: 28.8 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.71e-07/1.301, allocations: 0 / 1.138 GB, free: 28.8 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003377/1.301, allocations: 85.5 kB / 1.139 GB, free: 28.72 MB / 0.7448 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.and3.u1) * Number of discrete states: 1 (con.hys.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001443/1.301, allocations: 110.8 kB / 1.139 GB, free: 28.61 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003931/1.301, allocations: 248.8 kB / 1.139 GB, free: 28.45 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.301, allocations: 256 / 1.139 GB, free: 28.45 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001787/1.302, allocations: 140.5 kB / 1.139 GB, free: 28.35 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/1.302, allocations: 80.06 kB / 1.139 GB, free: 28.31 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/1.303, allocations: 0.572 MB / 1.14 GB, free: 27.84 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/1.303, allocations: 0.8182 MB / 1.14 GB, free: 27.05 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001946/1.304, allocations: 49.95 kB / 1.14 GB, free: 27.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.753e-05/1.304, allocations: 31.44 kB / 1.14 GB, free: 27 MB / 0.7448 GB Notification: Performance of SimCode: time 3.81e-07/1.304, allocations: 0 / 1.14 GB, free: 27 MB / 0.7448 GB Notification: Performance of Templates: time 0.008973/1.313, allocations: 3.724 MB / 1.144 GB, free: 24.91 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)