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: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.663/1.663, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001092/0.001092, allocations: 173.1 kB / 377.1 MB, free: 1.516 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.469/1.469, allocations: 205.4 MB / 0.6366 GB, free: 8.535 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.0008491/0.0008488, allocations: 99.42 kB / 0.7509 GB, free: 63.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003672, allocations: 16 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2645, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7297/0.9942, allocations: 146.8 MB / 1.132 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.9945, allocations: 79.48 kB / 1.132 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01919/1.014, allocations: 7.559 MB / 1.139 GB, free: 24.24 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.953e-06/1.014, allocations: 0.5625 kB / 1.139 GB, free: 24.24 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.07e-05/1.014, allocations: 16.12 kB / 1.139 GB, free: 24.22 MB / 0.7292 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.0009971/1.015, allocations: 0.7038 MB / 1.14 GB, free: 23.53 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/1.015, allocations: 12.02 kB / 1.14 GB, free: 23.52 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.244e-05/1.015, allocations: 75.98 kB / 1.14 GB, free: 23.44 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.02e-05/1.015, allocations: 53.5 kB / 1.14 GB, free: 23.39 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004973/1.016, allocations: 406.6 kB / 1.14 GB, free: 23 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/1.016, allocations: 31.39 kB / 1.14 GB, free: 22.97 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.203e-05/1.016, allocations: 36.8 kB / 1.14 GB, free: 22.93 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000669/1.016, allocations: 422.9 kB / 1.141 GB, free: 22.55 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/1.016, allocations: 0.6562 kB / 1.141 GB, free: 22.55 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/1.016, allocations: 16 kB / 1.141 GB, free: 22.54 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/1.016, allocations: 8.562 kB / 1.141 GB, free: 22.53 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005371/1.017, allocations: 298.6 kB / 1.141 GB, free: 22.27 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/1.019, allocations: 1.372 MB / 1.143 GB, free: 21.05 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006683/1.019, allocations: 361.1 kB / 1.143 GB, free: 20.72 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/1.019, allocations: 12.81 kB / 1.143 GB, free: 20.71 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003568/1.02, allocations: 191.5 kB / 1.143 GB, free: 20.54 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 1.994e-06/1.02, allocations: 4.938 kB / 1.143 GB, free: 20.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.0008492/1.021, allocations: 427.1 kB / 1.143 GB, free: 20.15 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/1.021, allocations: 137.2 kB / 1.144 GB, free: 19.99 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/1.021, allocations: 323.8 kB / 1.144 GB, free: 19.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/1.021, allocations: 38.39 kB / 1.144 GB, free: 19.66 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/1.021, allocations: 233.9 kB / 1.144 GB, free: 19.45 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.954e-05/1.021, allocations: 103.6 kB / 1.144 GB, free: 19.35 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.459e-05/1.021, allocations: 4 kB / 1.144 GB, free: 19.35 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.923e-05/1.021, allocations: 347.5 kB / 1.145 GB, free: 19.01 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/1.022, allocations: 121.3 kB / 1.145 GB, free: 18.91 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/1.022, allocations: 185.5 kB / 1.145 GB, free: 18.72 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/1.022, allocations: 123.1 kB / 1.145 GB, free: 18.61 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.022, allocations: 4.656 kB / 1.145 GB, free: 18.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005462/1.023, allocations: 370.8 kB / 1.145 GB, free: 18.26 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/1.023, allocations: 10.62 kB / 1.145 GB, free: 18.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/1.023, allocations: 0 / 1.145 GB, free: 18.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/1.023, allocations: 4 kB / 1.145 GB, free: 18.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/1.023, allocations: 73.66 kB / 1.145 GB, free: 18.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/1.023, allocations: 1.219 kB / 1.145 GB, free: 18.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/1.023, allocations: 49.55 kB / 1.146 GB, free: 18.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/1.023, allocations: 16.69 kB / 1.146 GB, free: 18.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 () * 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.0001642/1.023, allocations: 175.8 kB / 1.146 GB, free: 17.95 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.625e-05/1.023, allocations: 40.14 kB / 1.146 GB, free: 17.91 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.641e-05/1.024, allocations: 49.23 kB / 1.146 GB, free: 17.87 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/1.024, allocations: 4.938 kB / 1.146 GB, free: 17.86 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/1.024, allocations: 0.9375 kB / 1.146 GB, free: 17.86 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/1.024, allocations: 1.969 kB / 1.146 GB, free: 17.86 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/1.025, allocations: 0.8704 MB / 1.147 GB, free: 17.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.025, allocations: 0 / 1.147 GB, free: 17.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/1.025, allocations: 47.64 kB / 1.147 GB, free: 17.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/1.025, allocations: 4 kB / 1.147 GB, free: 17.02 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/1.025, allocations: 10.17 kB / 1.147 GB, free: 17.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/1.025, allocations: 4 kB / 1.147 GB, free: 17.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/1.025, allocations: 5.125 kB / 1.147 GB, free: 17.01 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007797/1.026, allocations: 0.5662 MB / 1.147 GB, free: 16.46 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001248/1.026, allocations: 143.5 kB / 1.147 GB, free: 16.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.721e-05/1.026, allocations: 8.703 kB / 1.147 GB, free: 16.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/1.026, allocations: 31.66 kB / 1.147 GB, free: 16.29 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.056e-05/1.026, allocations: 26.97 kB / 1.147 GB, free: 16.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/1.026, allocations: 15.09 kB / 1.147 GB, free: 16.26 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002226/1.027, allocations: 251.4 kB / 1.148 GB, free: 16.04 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/1.027, allocations: 3.938 kB / 1.148 GB, free: 16.04 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003241/1.027, allocations: 92.53 kB / 1.148 GB, free: 15.95 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) * 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.0009657/1.028, allocations: 1.126 MB / 1.149 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005577/1.029, allocations: 283.8 kB / 1.149 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.029, allocations: 320 / 1.149 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002579/1.029, allocations: 158.2 kB / 1.149 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/1.029, allocations: 70.12 kB / 1.149 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003514/1.033, allocations: 2.971 MB / 1.152 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/1.033, allocations: 0.8194 MB / 1.153 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002376/1.033, allocations: 48.81 kB / 1.153 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/1.034, allocations: 145 kB / 1.153 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of SimCode: time 4.3e-07/1.034, allocations: 0 / 1.153 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/1.055, allocations: 7.433 MB / 1.161 GB, free: 6.098 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/1.055, allocations: 196 kB / 1.161 GB, free: 5.848 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.237/3.292, allocations: 0 / 1.161 GB, free: 5.848 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)