Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.LimPIDWithReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_LimPIDWithReset",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.643/1.643, allocations: 288.2 MB / 303.2 MB, free: 8.223 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.001244/0.001244, allocations: 175.4 kB / 371.8 MB, free: 10.29 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.717/1.717, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008818/0.0008817, allocations: 102.8 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004151/0.0004151, allocations: 14.62 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2493, allocations: 115.3 MB / 0.9795 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7175/0.9668, allocations: 144.9 MB / 1.121 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.9671, allocations: 76.23 kB / 1.121 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02793/0.995, allocations: 12.54 MB / 1.133 GB, free: 29.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.264e-06/0.995, allocations: 0 / 1.133 GB, free: 29.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.885e-05/0.9951, allocations: 27.44 kB / 1.133 GB, free: 29.46 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001929/0.9971, allocations: 0.9538 MB / 1.134 GB, free: 28.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/0.9971, allocations: 15.67 kB / 1.134 GB, free: 28.74 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000215/0.9973, allocations: 101.7 kB / 1.134 GB, free: 28.69 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.9976, allocations: 85.45 kB / 1.134 GB, free: 28.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008765/0.9985, allocations: 0.5278 MB / 1.135 GB, free: 28.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.667e-05/0.9985, allocations: 49.17 kB / 1.135 GB, free: 28.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.9986, allocations: 58.91 kB / 1.135 GB, free: 28.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.9998, allocations: 0.6524 MB / 1.136 GB, free: 28.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/0.9998, allocations: 15.8 kB / 1.136 GB, free: 28.05 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.387e-05/0.9999, allocations: 23.16 kB / 1.136 GB, free: 28.05 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.9999, allocations: 19.39 kB / 1.136 GB, free: 28.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/1.001, allocations: 0.5132 MB / 1.136 GB, free: 27.98 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003016/1.004, allocations: 2.095 MB / 1.138 GB, free: 26.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/1.005, allocations: 0.541 MB / 1.139 GB, free: 26.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.889e-05/1.005, allocations: 4.156 kB / 1.139 GB, free: 26.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000626/1.006, allocations: 301.8 kB / 1.139 GB, free: 26.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=50): time 2.254e-06/1.006, allocations: 0 / 1.139 GB, free: 26.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=50): time 0.001316/1.007, allocations: 0.7091 MB / 1.14 GB, free: 26.58 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.365e-05/1.007, allocations: 158.5 kB / 1.14 GB, free: 26.39 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004054/1.007, allocations: 396.4 kB / 1.14 GB, free: 26.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.436e-05/1.008, allocations: 48.55 kB / 1.14 GB, free: 26.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/1.008, allocations: 316 kB / 1.141 GB, free: 26.01 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/1.008, allocations: 168.8 kB / 1.141 GB, free: 25.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-05/1.008, allocations: 10.62 kB / 1.141 GB, free: 25.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001665/1.008, allocations: 364.2 kB / 1.141 GB, free: 25.56 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003985/1.008, allocations: 200.8 kB / 1.141 GB, free: 25.54 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004527/1.009, allocations: 311.7 kB / 1.142 GB, free: 25.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004647/1.009, allocations: 256.8 kB / 1.142 GB, free: 25.35 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.009, allocations: 0 / 1.142 GB, free: 25.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001047/1.01, allocations: 0.6272 MB / 1.143 GB, free: 25.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/1.011, allocations: 29.36 kB / 1.143 GB, free: 25.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/1.011, allocations: 3.844 kB / 1.143 GB, free: 25.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/1.011, allocations: 3.625 kB / 1.143 GB, free: 25.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004657/1.011, allocations: 131.1 kB / 1.143 GB, free: 25.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/1.011, allocations: 7.828 kB / 1.143 GB, free: 25.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004302/1.011, allocations: 88.48 kB / 1.143 GB, free: 25.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.03e-05/1.012, allocations: 19.03 kB / 1.143 GB, free: 25.07 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * 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.0002789/1.012, allocations: 205.5 kB / 1.143 GB, free: 24.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.855e-05/1.012, allocations: 60.8 kB / 1.143 GB, free: 24.92 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/1.012, allocations: 66.73 kB / 1.143 GB, free: 24.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/1.012, allocations: 3.844 kB / 1.143 GB, free: 24.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.012, allocations: 7.938 kB / 1.143 GB, free: 24.89 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/1.012, allocations: 3.984 kB / 1.143 GB, free: 24.89 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/1.014, allocations: 1.323 MB / 1.144 GB, free: 24.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/1.014, allocations: 0 / 1.144 GB, free: 24.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004897/1.014, allocations: 104.1 kB / 1.145 GB, free: 24.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/1.014, allocations: 3.844 kB / 1.145 GB, free: 24.32 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.743e-05/1.014, allocations: 17.22 kB / 1.145 GB, free: 24.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/1.014, allocations: 0 / 1.145 GB, free: 24.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/1.014, allocations: 0 / 1.145 GB, free: 24.32 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/1.016, allocations: 0.8951 MB / 1.145 GB, free: 24.06 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/1.016, allocations: 182.5 kB / 1.146 GB, free: 23.91 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.309e-05/1.016, allocations: 11.22 kB / 1.146 GB, free: 23.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003872/1.016, allocations: 60.61 kB / 1.146 GB, free: 23.89 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.519e-05/1.017, allocations: 35.31 kB / 1.146 GB, free: 23.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/1.017, allocations: 14.84 kB / 1.146 GB, free: 23.88 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003025/1.017, allocations: 316.8 kB / 1.146 GB, free: 23.75 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.21e-07/1.017, allocations: 0 / 1.146 GB, free: 23.75 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004609/1.017, allocations: 143.5 kB / 1.146 GB, free: 23.73 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001671/1.019, allocations: 1.461 MB / 1.148 GB, free: 22.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009051/1.02, allocations: 0.553 MB / 1.148 GB, free: 22.79 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.02, allocations: 384 / 1.148 GB, free: 22.79 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004048/1.02, allocations: 261.8 kB / 1.148 GB, free: 22.75 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006281/1.021, allocations: 127.3 kB / 1.148 GB, free: 22.72 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006057/1.027, allocations: 4.824 MB / 1.153 GB, free: 19.96 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/1.028, allocations: 0.9044 MB / 1.154 GB, free: 19.16 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002867/1.028, allocations: 63.28 kB / 1.154 GB, free: 19.14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/1.028, allocations: 220.7 kB / 1.154 GB, free: 19.11 MB / 0.698 GB Notification: Performance of SimCode: time 3.51e-07/1.028, allocations: 0 / 1.154 GB, free: 19.11 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/1.054, allocations: 11.56 MB / 1.166 GB, free: 9.199 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002771/1.054, allocations: 197.3 kB / 1.166 GB, free: 8.953 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.33/3.384, allocations: 0 / 1.166 GB, free: 8.953 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_LimPIDWithReset.fmu > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)