Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.494/1.494, allocations: 249.3 MB / 261.9 MB, free: 5.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 180.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008069/0.0008068, allocations: 90.48 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.243e-05/3.255e-05, allocations: 0 / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2021, allocations: 106.3 MB / 0.8919 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7316/0.9338, allocations: 138.5 MB / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/0.9342, allocations: 77.95 kB / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03515/0.9694, allocations: 12.6 MB / 1.04 GB, free: 1.727 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9694, allocations: 4 kB / 1.04 GB, free: 1.723 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.166e-05/0.9695, allocations: 16 kB / 1.04 GB, free: 1.707 MB / 0.6511 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.001774/0.9713, allocations: 0.8595 MB / 1.04 GB, free: 0.8359 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.307e-05/0.9714, allocations: 12.03 kB / 1.04 GB, free: 0.8242 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001318/0.9715, allocations: 106.6 kB / 1.04 GB, free: 0.7461 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.9716, allocations: 94.66 kB / 1.041 GB, free: 0.6562 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008851/0.9725, allocations: 0.5194 MB / 1.041 GB, free: 208 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.838e-05/0.9726, allocations: 39.75 kB / 1.041 GB, free: 184 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.9727, allocations: 65.75 kB / 1.041 GB, free: 140 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.9738, allocations: 0.6024 MB / 1.042 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.9738, allocations: 3.938 kB / 1.042 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.87e-05/0.9739, allocations: 28.52 kB / 1.042 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/0.9739, allocations: 16 kB / 1.042 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008089/0.9747, allocations: 422.2 kB / 1.042 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003137/0.9779, allocations: 2.104 MB / 1.044 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007929/0.9787, allocations: 434.3 kB / 1.045 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.979, allocations: 214.5 kB / 1.045 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.435e-05/0.9791, allocations: 12.38 kB / 1.045 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000478/0.9796, allocations: 252.5 kB / 1.045 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=50): time 3.257e-06/0.9796, allocations: 3.938 kB / 1.045 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of matching and sorting (n=50): time 0.0007966/0.9804, allocations: 431.6 kB / 1.046 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.577e-05/0.9805, allocations: 161.6 kB / 1.046 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004896/0.981, allocations: 396.8 kB / 1.046 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.411e-05/0.9811, allocations: 35.58 kB / 1.046 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.9813, allocations: 321.4 kB / 1.046 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.9814, allocations: 172 kB / 1.047 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/0.9815, allocations: 7.125 kB / 1.047 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.9816, allocations: 366.2 kB / 1.047 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/0.9819, allocations: 155.5 kB / 1.047 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/0.9823, allocations: 257.7 kB / 1.047 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003126/0.9826, allocations: 213.4 kB / 1.048 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.9826, allocations: 0 / 1.048 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008058/0.9834, allocations: 0.5318 MB / 1.048 GB, free: 10.85 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.724e-05/0.9835, allocations: 37.88 kB / 1.048 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.9835, allocations: 4 kB / 1.048 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.9835, allocations: 4 kB / 1.048 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005055/0.984, allocations: 119.2 kB / 1.048 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.984, allocations: 7.984 kB / 1.048 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004303/0.9845, allocations: 86.73 kB / 1.048 GB, free: 10.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/0.9845, allocations: 27.81 kB / 1.048 GB, free: 10.57 MB / 0.6667 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 () * 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.0001411/0.9847, allocations: 135.8 kB / 1.048 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.014e-05/0.9848, allocations: 67.28 kB / 1.049 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.9849, allocations: 62 kB / 1.049 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.9849, allocations: 4 kB / 1.049 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.985, allocations: 4 kB / 1.049 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.985, allocations: 3.984 kB / 1.049 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/0.9866, allocations: 1.216 MB / 1.05 GB, free: 9.441 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.9866, allocations: 7.984 kB / 1.05 GB, free: 9.434 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005202/0.9871, allocations: 110.9 kB / 1.05 GB, free: 9.328 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.9871, allocations: 4 kB / 1.05 GB, free: 9.324 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.505e-05/0.9872, allocations: 11.56 kB / 1.05 GB, free: 9.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.9872, allocations: 0 / 1.05 GB, free: 9.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.9872, allocations: 0 / 1.05 GB, free: 9.32 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.9883, allocations: 0.7518 MB / 1.051 GB, free: 8.789 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002441/0.9885, allocations: 181.5 kB / 1.051 GB, free: 8.625 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.317e-05/0.9886, allocations: 13.38 kB / 1.051 GB, free: 8.621 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003831/0.989, allocations: 47.09 kB / 1.051 GB, free: 8.582 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.9891, allocations: 35.75 kB / 1.051 GB, free: 8.551 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-05/0.9892, allocations: 15 kB / 1.051 GB, free: 8.539 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003602/0.9895, allocations: 318.2 kB / 1.051 GB, free: 8.301 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9895, allocations: 0 / 1.051 GB, free: 8.301 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005115/0.9901, allocations: 156 kB / 1.051 GB, free: 8.164 MB / 0.6667 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) * 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.001438/0.9915, allocations: 1.312 MB / 1.053 GB, free: 7.066 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0007202/0.9922, allocations: 470.1 kB / 1.053 GB, free: 6.738 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.9923, allocations: 0 / 1.053 GB, free: 6.738 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003315/0.9926, allocations: 206.2 kB / 1.053 GB, free: 6.602 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007193/0.9933, allocations: 127.6 kB / 1.053 GB, free: 6.512 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003213/0.9965, allocations: 1.388 MB / 1.055 GB, free: 5.211 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000525/0.9971, allocations: 0.9021 MB / 1.056 GB, free: 4.281 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003131/0.9974, allocations: 64.53 kB / 1.056 GB, free: 4.215 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/0.9977, allocations: 223.1 kB / 1.056 GB, free: 4.156 MB / 0.6667 GB Notification: Performance of SimCode: time 1.343e-06/0.9977, allocations: 4 kB / 1.056 GB, free: 4.152 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02764/1.025, allocations: 11.49 MB / 1.067 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000252/1.026, allocations: 172.6 kB / 1.067 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.448/3.473, allocations: 0 / 1.067 GB, free: 8.613 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_LimPIDWithReset.fmu > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)