Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.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.PIDHysteresis,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresis",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 2.276/2.276, allocations: 285.6 MB / 293.1 MB, free: 10.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.001175/0.001175, allocations: 176.9 kB / 361.4 MB, free: 6.832 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.14/2.14, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.001106/0.001106, allocations: 100.6 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.268e-05/3.262e-05, allocations: 0 / 0.8518 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.073/1.073, allocations: 115.3 MB / 0.9644 GB, free: 78.6 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3263/1.399, allocations: 144 MB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003674/1.4, allocations: 79.95 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02366/1.423, allocations: 6.86 MB / 1.112 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.665e-06/1.423, allocations: 0 / 1.112 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.578e-05/1.424, allocations: 8 kB / 1.112 GB, free: 4.871 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001535/1.425, allocations: 0.5964 MB / 1.112 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.493e-05/1.425, allocations: 16.02 kB / 1.112 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002999/1.425, allocations: 48.47 kB / 1.112 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009412/1.426, allocations: 380.2 kB / 1.113 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.07e-05/1.427, allocations: 11.83 kB / 1.113 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.575e-05/1.427, allocations: 26.81 kB / 1.113 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000544/1.427, allocations: 181.5 kB / 1.113 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000649/1.428, allocations: 302.1 kB / 1.113 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/1.428, allocations: 0 / 1.113 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.261e-05/1.428, allocations: 3.938 kB / 1.113 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/1.428, allocations: 15.98 kB / 1.113 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002227/1.43, allocations: 1.174 MB / 1.115 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/1.431, allocations: 220.4 kB / 1.115 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/1.431, allocations: 97.22 kB / 1.115 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.595e-05/1.431, allocations: 4.188 kB / 1.115 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.702e-05/1.431, allocations: 38.75 kB / 1.115 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 2.936e-06/1.431, allocations: 0 / 1.115 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22): time 0.0005264/1.432, allocations: 197.9 kB / 1.115 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/1.432, allocations: 166.1 kB / 1.115 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/1.432, allocations: 270.4 kB / 1.115 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/1.432, allocations: 25.7 kB / 1.115 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/1.432, allocations: 216 kB / 1.116 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.141e-05/1.432, allocations: 74.84 kB / 1.116 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.257e-05/1.432, allocations: 0 / 1.116 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002465/1.433, allocations: 342.8 kB / 1.116 GB, free: 272 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/1.433, allocations: 67.98 kB / 1.116 GB, free: 204 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/1.433, allocations: 137 kB / 1.116 GB, free: 40 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/1.433, allocations: 79.94 kB / 1.116 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.433, allocations: 0 / 1.116 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000444/1.434, allocations: 241.3 kB / 1.117 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/1.434, allocations: 8 kB / 1.117 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/1.434, allocations: 0 / 1.117 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/1.434, allocations: 4 kB / 1.117 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/1.434, allocations: 56.03 kB / 1.117 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/1.434, allocations: 4 kB / 1.117 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002765/1.434, allocations: 35.81 kB / 1.117 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.064e-05/1.434, allocations: 15.95 kB / 1.117 GB, free: 15.6 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: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001273/1.435, allocations: 113.1 kB / 1.117 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003598/1.435, allocations: 195.5 kB / 1.117 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.479e-05/1.435, allocations: 35.56 kB / 1.117 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/1.435, allocations: 35.06 kB / 1.117 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/1.435, allocations: 4 kB / 1.117 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/1.435, allocations: 6.016 kB / 1.117 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/1.435, allocations: 0 / 1.117 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005344/1.436, allocations: 365.7 kB / 1.117 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/1.436, allocations: 0 / 1.117 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/1.436, allocations: 55.95 kB / 1.117 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/1.436, allocations: 3.984 kB / 1.117 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/1.436, allocations: 0 / 1.117 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.436, allocations: 0 / 1.117 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/1.436, allocations: 4 kB / 1.118 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005923/1.437, allocations: 402.2 kB / 1.118 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/1.437, allocations: 132.7 kB / 1.118 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.02e-05/1.437, allocations: 11.98 kB / 1.118 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/1.437, allocations: 24.05 kB / 1.118 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.106e-05/1.437, allocations: 15.97 kB / 1.118 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/1.437, allocations: 8 kB / 1.118 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003018/1.438, allocations: 208.6 kB / 1.118 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.6e-07/1.438, allocations: 0 / 1.118 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004654/1.438, allocations: 71.69 kB / 1.118 GB, free: 13.86 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.001726/1.44, allocations: 0.944 MB / 1.119 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000583/1.44, allocations: 171.9 kB / 1.119 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/1.44, allocations: 0 / 1.119 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002414/1.441, allocations: 99.05 kB / 1.12 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008758/1.442, allocations: 67.73 kB / 1.12 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/1.444, allocations: 0.5575 MB / 1.12 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/1.446, allocations: 0.8049 MB / 1.121 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003805/1.446, allocations: 41.33 kB / 1.121 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003487/1.447, allocations: 126.5 kB / 1.121 GB, free: 11 MB / 0.7292 GB Notification: Performance of SimCode: time 2.494e-06/1.447, allocations: 0 / 1.121 GB, free: 11 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04477/1.491, allocations: 5.836 MB / 1.127 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003393/1.492, allocations: 149 kB / 1.127 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.044/4.536, allocations: 0 / 1.127 GB, free: 5.109 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresis_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresis.fmu > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)