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.617/1.617, allocations: 285.4 MB / 298 MB, free: 5.973 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.001082/0.001082, allocations: 180.8 kB / 366.4 MB, free: 2.062 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.56/1.56, allocations: 205.1 MB / 0.6248 GB, free: 7.734 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.0008534/0.0008534, allocations: 99.78 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.881e-05/2.89e-05, allocations: 0 / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6664/0.6665, allocations: 115.3 MB / 0.971 GB, free: 77.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2019/0.8684, allocations: 145.7 MB / 1.113 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.8688, allocations: 75.95 kB / 1.113 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02058/0.8894, allocations: 7.532 MB / 1.121 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.452e-06/0.8894, allocations: 0 / 1.121 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.8e-05/0.8894, allocations: 16.19 kB / 1.121 GB, free: 14.46 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.0009899/0.8904, allocations: 0.6443 MB / 1.121 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.8905, allocations: 8.031 kB / 1.121 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.323e-05/0.8906, allocations: 70.53 kB / 1.121 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.331e-05/0.8907, allocations: 55.34 kB / 1.121 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005685/0.8913, allocations: 409.3 kB / 1.122 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.8913, allocations: 32.78 kB / 1.122 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.557e-05/0.8914, allocations: 36 kB / 1.122 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006517/0.892, allocations: 394.5 kB / 1.122 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.8921, allocations: 8 kB / 1.122 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.136e-05/0.8921, allocations: 19.98 kB / 1.122 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.8921, allocations: 8.625 kB / 1.122 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004595/0.8926, allocations: 247 kB / 1.123 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.8946, allocations: 1.374 MB / 1.124 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005709/0.8952, allocations: 304.7 kB / 1.124 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.8954, allocations: 125.4 kB / 1.124 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.994e-05/0.8954, allocations: 4.547 kB / 1.124 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002898/0.8957, allocations: 176.3 kB / 1.125 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/0.8957, allocations: 0.5625 kB / 1.125 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.0004994/0.8962, allocations: 282.7 kB / 1.125 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/0.8963, allocations: 136.5 kB / 1.125 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003477/0.8967, allocations: 311.5 kB / 1.125 GB, free: 9.609 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.8967, allocations: 37.7 kB / 1.125 GB, free: 9.566 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.8969, allocations: 228.2 kB / 1.125 GB, free: 9.34 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.006e-05/0.897, allocations: 105.2 kB / 1.126 GB, free: 9.238 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.678e-05/0.897, allocations: 8 kB / 1.126 GB, free: 9.23 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.8972, allocations: 350.8 kB / 1.126 GB, free: 8.879 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.8973, allocations: 95.94 kB / 1.126 GB, free: 8.785 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.8975, allocations: 163.9 kB / 1.126 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.8977, allocations: 102.2 kB / 1.126 GB, free: 8.504 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.8977, allocations: 0 / 1.126 GB, free: 8.504 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005206/0.8983, allocations: 334.1 kB / 1.127 GB, free: 8.172 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.8983, allocations: 8 kB / 1.127 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.8983, allocations: 224 / 1.127 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.8983, allocations: 8.125 kB / 1.127 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.8986, allocations: 67.84 kB / 1.127 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.8986, allocations: 7.984 kB / 1.127 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.8989, allocations: 43.77 kB / 1.127 GB, free: 8.039 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.8989, allocations: 12 kB / 1.127 GB, free: 8.027 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.0001122/0.899, allocations: 132.8 kB / 1.127 GB, free: 7.891 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.545e-05/0.8991, allocations: 43.52 kB / 1.127 GB, free: 7.848 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.8992, allocations: 44.38 kB / 1.127 GB, free: 7.805 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.8992, allocations: 4 kB / 1.127 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.8992, allocations: 0 / 1.127 GB, free: 7.801 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.8992, allocations: 4.031 kB / 1.127 GB, free: 7.797 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.9003, allocations: 0.8378 MB / 1.128 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.9003, allocations: 0 / 1.128 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/0.9006, allocations: 55.91 kB / 1.128 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.9006, allocations: 0 / 1.128 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.9006, allocations: 11.98 kB / 1.128 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.9006, allocations: 1.188 kB / 1.128 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.9006, allocations: 0 / 1.128 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006995/0.9013, allocations: 0.5086 MB / 1.128 GB, free: 6.312 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.9015, allocations: 144.6 kB / 1.128 GB, free: 6.152 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.652e-05/0.9016, allocations: 4 kB / 1.128 GB, free: 6.148 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.9018, allocations: 31.97 kB / 1.128 GB, free: 6.117 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.378e-05/0.9019, allocations: 31.89 kB / 1.129 GB, free: 6.086 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.9019, allocations: 4 kB / 1.129 GB, free: 6.082 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002603/0.9022, allocations: 250.2 kB / 1.129 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9022, allocations: 0 / 1.129 GB, free: 5.836 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003512/0.9025, allocations: 87.75 kB / 1.129 GB, free: 5.75 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.000989/0.9035, allocations: 1.062 MB / 1.13 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004407/0.904, allocations: 251.9 kB / 1.13 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.904, allocations: 0 / 1.13 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.9042, allocations: 127.9 kB / 1.13 GB, free: 4.293 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.9047, allocations: 73.41 kB / 1.13 GB, free: 4.227 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.9061, allocations: 0.6674 MB / 1.131 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/0.9066, allocations: 0.823 MB / 1.132 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001825/0.9068, allocations: 47.25 kB / 1.132 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.907, allocations: 145.2 kB / 1.132 GB, free: 2.484 MB / 0.7292 GB Notification: Performance of SimCode: time 6.22e-07/0.907, allocations: 4 kB / 1.132 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02/0.927, allocations: 7.386 MB / 1.139 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/0.9273, allocations: 173.6 kB / 1.139 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.097/3.025, allocations: 0 / 1.139 GB, free: 11.15 MB / 0.7448 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)