Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.616/2.616, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001496/0.001497, allocations: 184.8 kB / 360.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.159/2.159, allocations: 205.3 MB / 0.6191 GB, free: 12.23 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.001057/0.001056, allocations: 96.98 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.269e-05/3.269e-05, allocations: 4 kB / 0.8508 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7831/0.7831, allocations: 115.3 MB / 0.9634 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2463/1.029, allocations: 144.9 MB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/1.03, allocations: 77.81 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03124/1.061, allocations: 7.477 MB / 1.112 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.254e-06/1.061, allocations: 0 / 1.112 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.214e-05/1.061, allocations: 12 kB / 1.112 GB, free: 4.113 MB / 0.7136 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.001609/1.063, allocations: 0.6445 MB / 1.113 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/1.063, allocations: 13.34 kB / 1.113 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002373/1.063, allocations: 55.56 kB / 1.113 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009546/1.064, allocations: 404.1 kB / 1.113 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.561e-05/1.064, allocations: 19.94 kB / 1.113 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.964e-05/1.064, allocations: 20 kB / 1.113 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007288/1.065, allocations: 229.5 kB / 1.114 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000818/1.066, allocations: 337.7 kB / 1.114 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/1.066, allocations: 4 kB / 1.114 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.893e-05/1.066, allocations: 0 / 1.114 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/1.066, allocations: 8 kB / 1.114 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002752/1.069, allocations: 1.303 MB / 1.115 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008018/1.07, allocations: 289.2 kB / 1.115 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/1.07, allocations: 113.3 kB / 1.116 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/1.07, allocations: 12.5 kB / 1.116 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003843/1.07, allocations: 154.2 kB / 1.116 GB, free: 352 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.926e-06/1.07, allocations: 0 / 1.116 GB, free: 352 kB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.0007403/1.071, allocations: 259 kB / 1.116 GB, free: 88 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/1.071, allocations: 136.5 kB / 1.116 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004448/1.072, allocations: 278.3 kB / 1.116 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.117e-05/1.072, allocations: 25.7 kB / 1.116 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/1.072, allocations: 229 kB / 1.117 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/1.072, allocations: 106.5 kB / 1.117 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.217e-05/1.072, allocations: 0 / 1.117 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001585/1.072, allocations: 349.6 kB / 1.117 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/1.073, allocations: 80 kB / 1.117 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/1.073, allocations: 167.1 kB / 1.117 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/1.073, allocations: 89.61 kB / 1.117 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.073, allocations: 3.938 kB / 1.117 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007326/1.074, allocations: 302.2 kB / 1.118 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/1.074, allocations: 5.25 kB / 1.118 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/1.074, allocations: 4.125 kB / 1.118 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/1.074, allocations: 4 kB / 1.118 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005248/1.075, allocations: 63.91 kB / 1.118 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/1.075, allocations: 4 kB / 1.118 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004256/1.075, allocations: 43.66 kB / 1.118 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.739e-05/1.075, allocations: 19.94 kB / 1.118 GB, free: 14.13 MB / 0.7292 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 0.0001531/1.075, allocations: 120.9 kB / 1.118 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006274/1.076, allocations: 265 kB / 1.118 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.499e-05/1.076, allocations: 35.53 kB / 1.118 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/1.076, allocations: 40.5 kB / 1.118 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/1.076, allocations: 5.625 kB / 1.118 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.076, allocations: 0 / 1.118 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.078e-06/1.076, allocations: 3.984 kB / 1.118 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/1.078, allocations: 0.7526 MB / 1.119 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/1.078, allocations: 0 / 1.119 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004731/1.078, allocations: 52.02 kB / 1.119 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/1.078, allocations: 3.984 kB / 1.119 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/1.078, allocations: 0 / 1.119 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/1.078, allocations: 7.938 kB / 1.119 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/1.078, allocations: 0 / 1.119 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/1.079, allocations: 491.2 kB / 1.12 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002077/1.08, allocations: 148.6 kB / 1.12 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.787e-05/1.08, allocations: 3.75 kB / 1.12 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003905/1.08, allocations: 25.86 kB / 1.12 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/1.08, allocations: 28.02 kB / 1.12 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/1.08, allocations: 12 kB / 1.12 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003163/1.081, allocations: 208.6 kB / 1.12 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.31e-07/1.081, allocations: 4 kB / 1.12 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005418/1.081, allocations: 71.75 kB / 1.12 GB, free: 11.8 MB / 0.7292 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.001355/1.082, allocations: 1.034 MB / 1.121 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006341/1.083, allocations: 232 kB / 1.121 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/1.083, allocations: 0 / 1.121 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003032/1.083, allocations: 123.9 kB / 1.121 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006693/1.084, allocations: 68.28 kB / 1.121 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/1.086, allocations: 0.6313 MB / 1.122 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/1.087, allocations: 0.823 MB / 1.123 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003288/1.087, allocations: 47.5 kB / 1.123 GB, free: 8.762 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003357/1.087, allocations: 147.4 kB / 1.123 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of SimCode: time 8.71e-07/1.087, allocations: 0 / 1.123 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04729/1.135, allocations: 6.602 MB / 1.129 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003117/1.135, allocations: 147 kB / 1.13 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.804/3.939, allocations: 0 / 1.13 GB, free: 1.973 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)