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: 289.9 MB / 297.4 MB, free: 6.328 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.001251/0.001251, allocations: 172.8 kB / 366.7 MB, free: 1.641 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.876/1.876, allocations: 205.2 MB / 0.626 GB, free: 7.152 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.0009901/0.00099, allocations: 80.44 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.359e-05/2.414e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.75/0.75, allocations: 116.3 MB / 0.9733 GB, free: 76.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1879/0.938, allocations: 146 MB / 1.116 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/0.9382, allocations: 79.95 kB / 1.116 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01962/0.9579, allocations: 7.484 MB / 1.123 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.864e-06/0.9579, allocations: 0 / 1.123 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.392e-05/0.958, allocations: 8 kB / 1.123 GB, free: 12.53 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.001125/0.9591, allocations: 0.6405 MB / 1.124 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.9592, allocations: 8.031 kB / 1.124 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.9594, allocations: 55.34 kB / 1.124 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000725/0.9601, allocations: 408.1 kB / 1.124 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.9602, allocations: 17.88 kB / 1.124 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.864e-05/0.9602, allocations: 24 kB / 1.124 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005314/0.9608, allocations: 225.5 kB / 1.125 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000618/0.9614, allocations: 341.7 kB / 1.125 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.9614, allocations: 0 / 1.125 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.771e-05/0.9615, allocations: 6.938 kB / 1.125 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.9615, allocations: 12 kB / 1.125 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/0.9635, allocations: 1.295 MB / 1.126 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005793/0.9641, allocations: 286.7 kB / 1.127 GB, free: 9.055 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.9643, allocations: 116.4 kB / 1.127 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.043e-05/0.9644, allocations: 11.94 kB / 1.127 GB, free: 8.93 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002614/0.9646, allocations: 153.3 kB / 1.127 GB, free: 8.766 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 2.194e-06/0.9647, allocations: 0 / 1.127 GB, free: 8.766 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.0004875/0.9651, allocations: 263 kB / 1.127 GB, free: 8.504 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.706e-05/0.9652, allocations: 132.5 kB / 1.127 GB, free: 8.344 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/0.9655, allocations: 278.3 kB / 1.127 GB, free: 8.066 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.9656, allocations: 29.7 kB / 1.127 GB, free: 8.031 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.9658, allocations: 224.5 kB / 1.128 GB, free: 7.809 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.821e-05/0.9659, allocations: 107.1 kB / 1.128 GB, free: 7.703 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.428e-05/0.9659, allocations: 0 / 1.128 GB, free: 7.703 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.966, allocations: 349.2 kB / 1.128 GB, free: 7.355 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.9662, allocations: 84 kB / 1.128 GB, free: 7.273 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.9664, allocations: 163.1 kB / 1.128 GB, free: 7.09 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.9666, allocations: 89.61 kB / 1.128 GB, free: 7.004 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.9666, allocations: 4 kB / 1.128 GB, free: 7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004516/0.967, allocations: 298.2 kB / 1.129 GB, free: 6.703 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.9671, allocations: 9.219 kB / 1.129 GB, free: 6.695 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.9671, allocations: 7.984 kB / 1.129 GB, free: 6.688 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.9671, allocations: 8.203 kB / 1.129 GB, free: 6.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002901/0.9674, allocations: 63.89 kB / 1.129 GB, free: 6.617 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/0.9675, allocations: 7.938 kB / 1.129 GB, free: 6.609 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002414/0.9677, allocations: 43.67 kB / 1.129 GB, free: 6.566 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.9677, allocations: 16 kB / 1.129 GB, free: 6.551 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.0001135/0.9679, allocations: 116.9 kB / 1.129 GB, free: 6.43 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004078/0.9683, allocations: 253.1 kB / 1.129 GB, free: 6.176 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.028e-05/0.9683, allocations: 39.53 kB / 1.129 GB, free: 6.137 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.544e-05/0.9685, allocations: 40.5 kB / 1.129 GB, free: 6.094 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.9685, allocations: 4 kB / 1.129 GB, free: 6.09 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.9685, allocations: 7.922 kB / 1.129 GB, free: 6.082 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.9685, allocations: 0 / 1.129 GB, free: 6.082 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.9695, allocations: 0.7528 MB / 1.13 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.9695, allocations: 0 / 1.13 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000275/0.9698, allocations: 51.91 kB / 1.13 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.9698, allocations: 4 kB / 1.13 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.087e-05/0.9699, allocations: 3.984 kB / 1.13 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.9699, allocations: 0 / 1.13 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.9699, allocations: 0.75 kB / 1.13 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006582/0.9706, allocations: 490.9 kB / 1.131 GB, free: 4.73 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.9707, allocations: 144.6 kB / 1.131 GB, free: 4.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.035e-05/0.9708, allocations: 4 kB / 1.131 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.971, allocations: 23.97 kB / 1.131 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.9711, allocations: 28.03 kB / 1.131 GB, free: 4.516 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.9711, allocations: 15.98 kB / 1.131 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002176/0.9714, allocations: 208.6 kB / 1.131 GB, free: 4.297 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9714, allocations: 3.281 kB / 1.131 GB, free: 4.297 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003712/0.9718, allocations: 79.75 kB / 1.131 GB, free: 4.219 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.0009779/0.9727, allocations: 1.032 MB / 1.132 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004083/0.9732, allocations: 231.8 kB / 1.132 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9732, allocations: 0 / 1.132 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.9734, allocations: 123.9 kB / 1.132 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/0.9738, allocations: 67.3 kB / 1.132 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.9753, allocations: 0.6318 MB / 1.133 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.9757, allocations: 0.823 MB / 1.134 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001915/0.9759, allocations: 47.25 kB / 1.134 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.9762, allocations: 143.4 kB / 1.134 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of SimCode: time 4.51e-07/0.9762, allocations: 0 / 1.134 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02737/1.004, allocations: 6.614 MB / 1.141 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002429/1.004, allocations: 138.9 kB / 1.141 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.069/3.073, allocations: 0.625 kB / 1.141 GB, free: 10.4 MB / 0.7448 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)