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.681/1.681, allocations: 289.7 MB / 302.2 MB, free: 2.168 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.001192/0.001192, allocations: 182.4 kB / 371.6 MB, free: 3.383 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.585/1.585, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.0009399/0.0009402, allocations: 89.89 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.089e-05/4.092e-05, allocations: 0 / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2332, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7304/0.9637, allocations: 146.7 MB / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.9639, allocations: 84.75 kB / 1.123 GB, free: 38.83 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01767/0.9816, allocations: 7.531 MB / 1.131 GB, free: 34.82 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.724e-06/0.9817, allocations: 0 / 1.131 GB, free: 34.82 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.934e-05/0.9817, allocations: 8 kB / 1.131 GB, free: 34.81 MB / 0.7448 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.0008474/0.9825, allocations: 0.6466 MB / 1.131 GB, free: 34.21 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.9826, allocations: 12.03 kB / 1.131 GB, free: 34.2 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.764e-05/0.9827, allocations: 76.03 kB / 1.131 GB, free: 34.14 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.881e-05/0.9828, allocations: 60.25 kB / 1.131 GB, free: 34.09 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005057/0.9833, allocations: 397 kB / 1.132 GB, free: 33.77 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.9834, allocations: 29.53 kB / 1.132 GB, free: 33.75 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.238e-05/0.9834, allocations: 44.62 kB / 1.132 GB, free: 33.72 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005965/0.984, allocations: 385.4 kB / 1.132 GB, free: 33.47 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.984, allocations: 0 / 1.132 GB, free: 33.47 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/0.9841, allocations: 23.11 kB / 1.132 GB, free: 33.46 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.9841, allocations: 12 kB / 1.132 GB, free: 33.45 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004067/0.9845, allocations: 250.8 kB / 1.132 GB, free: 33.3 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.9861, allocations: 1.378 MB / 1.134 GB, free: 32.33 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005226/0.9867, allocations: 305.2 kB / 1.134 GB, free: 32.14 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.9868, allocations: 133.1 kB / 1.134 GB, free: 32.07 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.682e-05/0.9869, allocations: 4.547 kB / 1.134 GB, free: 32.07 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002543/0.9871, allocations: 172.5 kB / 1.134 GB, free: 31.95 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=33): time 2.455e-06/0.9872, allocations: 4.656 kB / 1.134 GB, free: 31.95 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33): time 0.0004543/0.9876, allocations: 278 kB / 1.135 GB, free: 31.75 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.9877, allocations: 132.5 kB / 1.135 GB, free: 31.59 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003065/0.988, allocations: 317.5 kB / 1.135 GB, free: 31.36 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.988, allocations: 33.2 kB / 1.135 GB, free: 31.33 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.9881, allocations: 222.9 kB / 1.135 GB, free: 31.19 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.246e-05/0.9882, allocations: 108.2 kB / 1.135 GB, free: 31.11 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.47e-05/0.9882, allocations: 4.406 kB / 1.135 GB, free: 31.11 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.911e-05/0.9883, allocations: 352 kB / 1.136 GB, free: 30.79 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.9885, allocations: 94.31 kB / 1.136 GB, free: 30.73 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.9887, allocations: 162.8 kB / 1.136 GB, free: 30.6 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.9888, allocations: 115.1 kB / 1.136 GB, free: 30.54 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.9888, allocations: 0 / 1.136 GB, free: 30.54 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004304/0.9893, allocations: 325.9 kB / 1.136 GB, free: 30.31 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.9893, allocations: 7.422 kB / 1.136 GB, free: 30.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.9893, allocations: 4 kB / 1.136 GB, free: 30.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.9893, allocations: 1.219 kB / 1.136 GB, free: 30.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.9896, allocations: 62.91 kB / 1.136 GB, free: 30.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.9897, allocations: 9.328 kB / 1.136 GB, free: 30.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/0.9899, allocations: 54.78 kB / 1.137 GB, free: 30.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.9899, allocations: 11.81 kB / 1.137 GB, free: 30.19 MB / 0.7448 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 9.685e-05/0.99, allocations: 137.2 kB / 1.137 GB, free: 30.07 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.59e-05/0.9901, allocations: 43.53 kB / 1.137 GB, free: 30.02 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.494e-05/0.9902, allocations: 41.47 kB / 1.137 GB, free: 30.01 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.9902, allocations: 4 kB / 1.137 GB, free: 30 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.9902, allocations: 2.953 kB / 1.137 GB, free: 30 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.9902, allocations: 3.328 kB / 1.137 GB, free: 30 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009122/0.9912, allocations: 0.8364 MB / 1.138 GB, free: 29.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.9912, allocations: 1.125 kB / 1.138 GB, free: 29.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.9914, allocations: 55.77 kB / 1.138 GB, free: 29.39 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.9915, allocations: 4 kB / 1.138 GB, free: 29.38 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.9915, allocations: 3.562 kB / 1.138 GB, free: 29.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.9915, allocations: 4 kB / 1.138 GB, free: 29.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.9915, allocations: 0 / 1.138 GB, free: 29.38 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006405/0.9922, allocations: 0.504 MB / 1.138 GB, free: 29.01 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.9923, allocations: 141.2 kB / 1.138 GB, free: 28.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.9e-05/0.9924, allocations: 15.62 kB / 1.138 GB, free: 28.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.9926, allocations: 36.86 kB / 1.138 GB, free: 28.85 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.56e-05/0.9927, allocations: 29.78 kB / 1.138 GB, free: 28.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.9927, allocations: 7.516 kB / 1.138 GB, free: 28.83 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002117/0.9929, allocations: 242 kB / 1.139 GB, free: 28.66 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9929, allocations: 0 / 1.139 GB, free: 28.66 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003254/0.9933, allocations: 94.42 kB / 1.139 GB, free: 28.57 MB / 0.7448 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.00077/0.994, allocations: 1.052 MB / 1.14 GB, free: 27.65 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003949/0.9944, allocations: 251.7 kB / 1.14 GB, free: 27.49 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.9945, allocations: 320 / 1.14 GB, free: 27.49 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.9946, allocations: 131.5 kB / 1.14 GB, free: 27.4 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004605/0.9951, allocations: 70.67 kB / 1.14 GB, free: 27.37 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.9965, allocations: 0.6583 MB / 1.141 GB, free: 26.82 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.9968, allocations: 0.8219 MB / 1.142 GB, free: 26.04 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001734/0.9969, allocations: 46.94 kB / 1.142 GB, free: 26 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.9971, allocations: 145.5 kB / 1.142 GB, free: 25.98 MB / 0.7448 GB Notification: Performance of SimCode: time 3.2e-07/0.9971, allocations: 0 / 1.142 GB, free: 25.98 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/1.023, allocations: 7.376 MB / 1.149 GB, free: 21.71 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002503/1.023, allocations: 157.1 kB / 1.149 GB, free: 21.48 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.053/3.077, allocations: 0 / 1.149 GB, free: 21.48 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)