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.781/1.781, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001053/0.001053, allocations: 172.9 kB / 361.4 MB, free: 6.84 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.954/1.954, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.001237/0.001237, allocations: 98.55 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.636e-05/2.639e-05, allocations: 4 kB / 0.8518 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079/1.079, allocations: 115.3 MB / 0.9644 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.299/1.378, allocations: 144.1 MB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/1.379, allocations: 77.36 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04356/1.422, allocations: 12.42 MB / 1.117 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.154e-06/1.422, allocations: 0.6562 kB / 1.117 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.243e-05/1.422, allocations: 20 kB / 1.117 GB, free: 15.21 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002599/1.425, allocations: 0.8683 MB / 1.118 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/1.425, allocations: 8.031 kB / 1.118 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003893/1.425, allocations: 95.45 kB / 1.118 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/1.427, allocations: 0.5311 MB / 1.119 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/1.427, allocations: 19.94 kB / 1.119 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001519/1.427, allocations: 37.41 kB / 1.119 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001309/1.428, allocations: 390.6 kB / 1.119 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/1.43, allocations: 0.5254 MB / 1.12 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.075e-05/1.43, allocations: 0 / 1.12 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.823e-05/1.43, allocations: 4 kB / 1.12 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/1.43, allocations: 15.95 kB / 1.12 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004766/1.435, allocations: 1.981 MB / 1.122 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/1.436, allocations: 420.1 kB / 1.122 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004637/1.436, allocations: 202.5 kB / 1.122 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.586e-05/1.436, allocations: 8.438 kB / 1.122 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006249/1.437, allocations: 244.4 kB / 1.123 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=50): time 3.226e-06/1.437, allocations: 0 / 1.123 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of matching and sorting (n=50): time 0.001032/1.438, allocations: 398.2 kB / 1.123 GB, free: 9.297 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/1.438, allocations: 166.6 kB / 1.123 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006373/1.439, allocations: 346 kB / 1.123 GB, free: 8.754 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.293e-05/1.439, allocations: 29.7 kB / 1.123 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003901/1.439, allocations: 316.3 kB / 1.124 GB, free: 8.406 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/1.44, allocations: 169.5 kB / 1.124 GB, free: 8.238 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/1.44, allocations: 0 / 1.124 GB, free: 8.238 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002075/1.44, allocations: 362.8 kB / 1.124 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003738/1.44, allocations: 141.1 kB / 1.124 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005667/1.441, allocations: 254.5 kB / 1.125 GB, free: 7.453 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004554/1.441, allocations: 170.1 kB / 1.125 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.441, allocations: 0 / 1.125 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001226/1.443, allocations: 466.3 kB / 1.125 GB, free: 6.828 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.407e-05/1.443, allocations: 38.47 kB / 1.125 GB, free: 6.785 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.443, allocations: 3.953 kB / 1.125 GB, free: 6.781 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.134e-05/1.443, allocations: 4 kB / 1.125 GB, free: 6.777 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007763/1.443, allocations: 128 kB / 1.125 GB, free: 6.652 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/1.443, allocations: 7.938 kB / 1.125 GB, free: 6.645 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006828/1.444, allocations: 67.64 kB / 1.126 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.507e-05/1.444, allocations: 16.69 kB / 1.126 GB, free: 6.562 MB / 0.7292 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.0002244/1.444, allocations: 123.5 kB / 1.126 GB, free: 6.438 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009808/1.445, allocations: 395.5 kB / 1.126 GB, free: 6.047 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/1.446, allocations: 55.3 kB / 1.126 GB, free: 5.992 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/1.446, allocations: 65.19 kB / 1.126 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/1.446, allocations: 4 kB / 1.126 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/1.446, allocations: 0 / 1.126 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/1.446, allocations: 9.859 kB / 1.126 GB, free: 5.918 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002431/1.448, allocations: 1.108 MB / 1.127 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.448, allocations: 0 / 1.127 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007691/1.449, allocations: 107.9 kB / 1.127 GB, free: 4.656 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.489e-05/1.449, allocations: 5.312 kB / 1.127 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.153e-05/1.449, allocations: 7.984 kB / 1.127 GB, free: 4.645 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/1.449, allocations: 4 kB / 1.127 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/1.449, allocations: 0 / 1.127 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/1.451, allocations: 0.7095 MB / 1.128 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003977/1.451, allocations: 180.3 kB / 1.128 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/1.451, allocations: 7.938 kB / 1.128 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005575/1.452, allocations: 43.95 kB / 1.128 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/1.452, allocations: 40.38 kB / 1.128 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-05/1.452, allocations: 14.25 kB / 1.128 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000517/1.453, allocations: 271 kB / 1.129 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.71e-07/1.453, allocations: 0 / 1.129 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008376/1.454, allocations: 135.5 kB / 1.129 GB, free: 3.219 MB / 0.7292 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.001924/1.456, allocations: 1.277 MB / 1.13 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001091/1.457, allocations: 436.9 kB / 1.13 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/1.457, allocations: 384 / 1.13 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004675/1.457, allocations: 201.6 kB / 1.131 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/1.458, allocations: 125.6 kB / 1.131 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004723/1.463, allocations: 1.337 MB / 1.132 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006889/1.464, allocations: 0.9057 MB / 1.133 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004802/1.464, allocations: 60.36 kB / 1.133 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005004/1.465, allocations: 227.3 kB / 1.133 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of SimCode: time 2.204e-06/1.465, allocations: 0 / 1.133 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05596/1.521, allocations: 10.35 MB / 1.143 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002971/1.521, allocations: 160.6 kB / 1.143 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.774/4.295, allocations: 0 / 1.143 GB, free: 4.27 MB / 0.7448 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)