Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.198/2.198, allocations: 251.1 MB / 266.7 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001418/0.001417, allocations: 180.1 kB / 326.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.487/2.487, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009292/0.0009292, allocations: 89.17 kB / 0.6817 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001528, allocations: 14.72 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2196, allocations: 106.3 MB / 0.8995 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2323/0.452, allocations: 139.3 MB / 1.036 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/0.4523, allocations: 75.97 kB / 1.036 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03233/0.4847, allocations: 7.627 MB / 1.043 GB, free: 14.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.324e-06/0.4847, allocations: 0 / 1.043 GB, free: 14.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.919e-05/0.4848, allocations: 12 kB / 1.043 GB, free: 14.33 MB / 0.698 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.001647/0.4865, allocations: 0.6999 MB / 1.044 GB, free: 13.58 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.4865, allocations: 12.03 kB / 1.044 GB, free: 13.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.4867, allocations: 60.22 kB / 1.044 GB, free: 13.51 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.488, allocations: 397.1 kB / 1.044 GB, free: 13.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.118e-05/0.4881, allocations: 29.38 kB / 1.044 GB, free: 13.06 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.4883, allocations: 36.38 kB / 1.044 GB, free: 13.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/0.4903, allocations: 427 kB / 1.045 GB, free: 12.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.994e-05/0.4904, allocations: 3.938 kB / 1.045 GB, free: 12.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.4905, allocations: 16 kB / 1.045 GB, free: 12.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.475e-05/0.4905, allocations: 12 kB / 1.045 GB, free: 12.54 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.4925, allocations: 295.8 kB / 1.045 GB, free: 12.26 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005151/0.4977, allocations: 1.375 MB / 1.046 GB, free: 10.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002145/0.4999, allocations: 363.7 kB / 1.047 GB, free: 10.44 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007432/0.5007, allocations: 144.8 kB / 1.047 GB, free: 10.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.445e-05/0.5008, allocations: 4.484 kB / 1.047 GB, free: 10.29 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008667/0.5017, allocations: 197.5 kB / 1.047 GB, free: 10.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 4.338e-06/0.5017, allocations: 0 / 1.047 GB, free: 10.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.002216/0.504, allocations: 438.5 kB / 1.047 GB, free: 9.652 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/0.5041, allocations: 132.5 kB / 1.048 GB, free: 9.492 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009028/0.505, allocations: 361.6 kB / 1.048 GB, free: 9.133 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.5052, allocations: 37.7 kB / 1.048 GB, free: 9.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003409/0.5055, allocations: 224.2 kB / 1.048 GB, free: 8.863 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.5058, allocations: 102.5 kB / 1.048 GB, free: 8.762 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.5058, allocations: 15.94 kB / 1.048 GB, free: 8.746 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002375/0.5061, allocations: 346.8 kB / 1.049 GB, free: 8.398 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006632/0.5067, allocations: 116 kB / 1.049 GB, free: 8.285 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007875/0.5076, allocations: 191.1 kB / 1.049 GB, free: 8.074 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000687/0.5083, allocations: 126.2 kB / 1.049 GB, free: 7.953 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.5083, allocations: 0 / 1.049 GB, free: 7.953 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001795/0.5101, allocations: 374.2 kB / 1.049 GB, free: 7.582 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.5102, allocations: 5.562 kB / 1.049 GB, free: 7.578 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.5102, allocations: 4 kB / 1.049 GB, free: 7.574 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.779e-05/0.5103, allocations: 0 / 1.049 GB, free: 7.574 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008266/0.5111, allocations: 75.78 kB / 1.049 GB, free: 7.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.808e-05/0.5112, allocations: 4 kB / 1.049 GB, free: 7.496 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006839/0.5119, allocations: 51.72 kB / 1.049 GB, free: 7.445 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-05/0.5119, allocations: 16 kB / 1.05 GB, free: 7.43 MB / 0.698 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 () * Number of clocked 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 0.00044/0.5124, allocations: 165.8 kB / 1.05 GB, free: 7.258 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.5125, allocations: 43.47 kB / 1.05 GB, free: 7.215 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.5127, allocations: 44.25 kB / 1.05 GB, free: 7.172 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.5127, allocations: 4 kB / 1.05 GB, free: 7.168 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.5127, allocations: 0 / 1.05 GB, free: 7.168 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.5127, allocations: 7.984 kB / 1.05 GB, free: 7.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002096/0.5148, allocations: 0.8699 MB / 1.051 GB, free: 6.234 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.5149, allocations: 4 kB / 1.051 GB, free: 6.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005577/0.5155, allocations: 51.91 kB / 1.051 GB, free: 6.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/0.5155, allocations: 4 kB / 1.051 GB, free: 6.176 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/0.5155, allocations: 11.98 kB / 1.051 GB, free: 6.164 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.5155, allocations: 0 / 1.051 GB, free: 6.164 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5156, allocations: 0 / 1.051 GB, free: 6.164 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.5173, allocations: 0.5731 MB / 1.051 GB, free: 5.574 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003273/0.5176, allocations: 140.6 kB / 1.051 GB, free: 5.418 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.939e-05/0.5178, allocations: 11.98 kB / 1.051 GB, free: 5.406 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/0.5182, allocations: 32.05 kB / 1.051 GB, free: 5.375 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.5183, allocations: 27.95 kB / 1.051 GB, free: 5.348 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.5184, allocations: 8 kB / 1.051 GB, free: 5.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004765/0.5189, allocations: 247.2 kB / 1.052 GB, free: 5.098 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.51e-07/0.5189, allocations: 0 / 1.052 GB, free: 5.098 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006812/0.5196, allocations: 87.75 kB / 1.052 GB, free: 5.012 MB / 0.698 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) * 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 (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.0002507/0.5199, allocations: 129.1 kB / 1.052 GB, free: 4.879 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001103/0.521, allocations: 296 kB / 1.052 GB, free: 4.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.521, allocations: 0 / 1.052 GB, free: 4.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005032/0.5215, allocations: 147.8 kB / 1.052 GB, free: 4.445 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008958/0.5224, allocations: 81.44 kB / 1.052 GB, free: 4.367 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.5251, allocations: 0.9777 MB / 1.053 GB, free: 3.363 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000523/0.5257, allocations: 0.8152 MB / 1.054 GB, free: 2.516 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003445/0.5261, allocations: 43.27 kB / 1.054 GB, free: 2.473 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.5262, allocations: 27.44 kB / 1.054 GB, free: 2.445 MB / 0.698 GB Notification: Performance of SimCode: time 1.022e-06/0.5263, allocations: 0 / 1.054 GB, free: 2.445 MB / 0.698 GB Notification: Performance of Templates: time 0.6439/1.17, allocations: 3.72 MB / 1.058 GB, free: 148.7 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)