Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.651/1.651, allocations: 288.2 MB / 303.2 MB, free: 8.16 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.001061/0.001061, allocations: 185.6 kB / 371.8 MB, free: 10.27 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.669/1.669, allocations: 205.4 MB / 0.6305 GB, free: 9.914 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008974/0.0008972, allocations: 95.62 kB / 0.7439 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003562, allocations: 15.36 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1899, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6515/0.8414, allocations: 145.8 MB / 1.122 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001917/0.8417, allocations: 85.84 kB / 1.122 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01726/0.8589, allocations: 7.562 MB / 1.129 GB, free: 31.06 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.733e-06/0.859, allocations: 0 / 1.129 GB, free: 31.06 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.419e-05/0.859, allocations: 15.53 kB / 1.129 GB, free: 31.05 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.001179/0.8602, allocations: 0.7052 MB / 1.13 GB, free: 30.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.8603, allocations: 15.52 kB / 1.13 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00012/0.8604, allocations: 71.94 kB / 1.13 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.8605, allocations: 50.5 kB / 1.13 GB, free: 30.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005924/0.8611, allocations: 402.7 kB / 1.131 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.8612, allocations: 26.59 kB / 1.131 GB, free: 30.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.608e-05/0.8612, allocations: 42.41 kB / 1.131 GB, free: 30.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006323/0.8619, allocations: 419.1 kB / 1.131 GB, free: 29.94 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.8619, allocations: 0 / 1.131 GB, free: 29.94 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.678e-05/0.8619, allocations: 16.41 kB / 1.131 GB, free: 29.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.862, allocations: 11.69 kB / 1.131 GB, free: 29.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005488/0.8625, allocations: 299.1 kB / 1.131 GB, free: 29.89 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.8642, allocations: 1.383 MB / 1.133 GB, free: 28.99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006296/0.8649, allocations: 357.1 kB / 1.133 GB, free: 28.93 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.8649, allocations: 3.844 kB / 1.133 GB, free: 28.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003396/0.8653, allocations: 195.6 kB / 1.133 GB, free: 28.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/0.8653, allocations: 0 / 1.133 GB, free: 28.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.0007555/0.866, allocations: 434.4 kB / 1.134 GB, free: 28.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.751e-05/0.8661, allocations: 136.1 kB / 1.134 GB, free: 28.58 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.8664, allocations: 319.2 kB / 1.134 GB, free: 28.44 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.438e-05/0.8665, allocations: 36.02 kB / 1.134 GB, free: 28.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.8666, allocations: 237.1 kB / 1.134 GB, free: 28.26 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.217e-05/0.8667, allocations: 99.47 kB / 1.134 GB, free: 28.19 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/0.8667, allocations: 10.69 kB / 1.134 GB, free: 28.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.8669, allocations: 350.9 kB / 1.135 GB, free: 27.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.8671, allocations: 113.6 kB / 1.135 GB, free: 27.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.8673, allocations: 186.9 kB / 1.135 GB, free: 27.76 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.8676, allocations: 127.1 kB / 1.135 GB, free: 27.74 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.8676, allocations: 3.953 kB / 1.135 GB, free: 27.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005481/0.8681, allocations: 371.7 kB / 1.135 GB, free: 27.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.8682, allocations: 3.531 kB / 1.136 GB, free: 27.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.8682, allocations: 0 / 1.136 GB, free: 27.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.8682, allocations: 3.969 kB / 1.136 GB, free: 27.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/0.8684, allocations: 71.56 kB / 1.136 GB, free: 27.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.8685, allocations: 0 / 1.136 GB, free: 27.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.8687, allocations: 57.78 kB / 1.136 GB, free: 27.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.8687, allocations: 14.22 kB / 1.136 GB, free: 27.6 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.0002061/0.869, allocations: 165.3 kB / 1.136 GB, free: 27.48 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.148e-05/0.869, allocations: 42.48 kB / 1.136 GB, free: 27.46 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.689e-05/0.8691, allocations: 51.98 kB / 1.136 GB, free: 27.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.8691, allocations: 4 kB / 1.136 GB, free: 27.44 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.8691, allocations: 7.781 kB / 1.136 GB, free: 27.44 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.8691, allocations: 0 / 1.136 GB, free: 27.44 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.8702, allocations: 0.8698 MB / 1.137 GB, free: 26.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.8702, allocations: 3.984 kB / 1.137 GB, free: 26.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/0.8705, allocations: 56.62 kB / 1.137 GB, free: 26.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.8705, allocations: 0 / 1.137 GB, free: 26.97 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.8705, allocations: 6.906 kB / 1.137 GB, free: 26.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.8705, allocations: 0 / 1.137 GB, free: 26.97 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8705, allocations: 0 / 1.137 GB, free: 26.97 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007988/0.8713, allocations: 0.5668 MB / 1.137 GB, free: 26.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.8715, allocations: 151.1 kB / 1.138 GB, free: 26.64 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.823e-05/0.8715, allocations: 7.188 kB / 1.138 GB, free: 26.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.8718, allocations: 29.2 kB / 1.138 GB, free: 26.63 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.051e-05/0.8718, allocations: 26.3 kB / 1.138 GB, free: 26.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.8719, allocations: 10.47 kB / 1.138 GB, free: 26.62 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002194/0.8721, allocations: 252.1 kB / 1.138 GB, free: 26.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8721, allocations: 7.938 kB / 1.138 GB, free: 26.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003415/0.8724, allocations: 91.64 kB / 1.138 GB, free: 26.48 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.001077/0.8735, allocations: 1.126 MB / 1.139 GB, free: 25.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005003/0.874, allocations: 292.7 kB / 1.139 GB, free: 25.69 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8741, allocations: 0 / 1.139 GB, free: 25.69 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.8743, allocations: 152 kB / 1.139 GB, free: 25.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.8747, allocations: 69.7 kB / 1.14 GB, free: 25.65 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003389/0.8781, allocations: 2.979 MB / 1.142 GB, free: 23.89 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.8785, allocations: 0.8292 MB / 1.143 GB, free: 23.12 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001885/0.8787, allocations: 38.03 kB / 1.143 GB, free: 23.11 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.879, allocations: 147.9 kB / 1.143 GB, free: 23.09 MB / 0.698 GB Notification: Performance of SimCode: time 6.91e-07/0.879, allocations: 0 / 1.143 GB, free: 23.09 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.8971, allocations: 7.449 MB / 1.151 GB, free: 19.66 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/0.8973, allocations: 201 kB / 1.151 GB, free: 19.42 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.016/2.913, allocations: 0 / 1.151 GB, free: 19.42 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)