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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009635/0.0009635, allocations: 99.78 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.721/1.721, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.571/1.571, allocations: 251.9 MB / 0.51 GB, free: 4.75 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005578/0.0005579, allocations: 16 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6518/0.6524, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.00474/0.6572, allocations: 3.423 MB / 0.7313 GB, free: 7.984 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002791/0.66, allocations: 1.298 MB / 0.7326 GB, free: 6.676 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000391/0.6604, allocations: 19.88 kB / 0.7326 GB, free: 6.656 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001323/0.6606, allocations: 55.42 kB / 0.7326 GB, free: 6.602 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006692/0.6613, allocations: 223.3 kB / 0.7329 GB, free: 6.383 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007704/0.662, allocations: 292.1 kB / 0.7331 GB, free: 6.102 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007673/0.6628, allocations: 0.5938 MB / 0.7337 GB, free: 5.508 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005321/0.6634, allocations: 315.4 kB / 0.734 GB, free: 5.184 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003505/0.6637, allocations: 234.9 kB / 0.7342 GB, free: 4.953 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003854/0.6641, allocations: 242.6 kB / 0.7345 GB, free: 4.715 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.518e-05/0.6642, allocations: 20 kB / 0.7345 GB, free: 4.695 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.708e-05/0.6643, allocations: 24 kB / 0.7345 GB, free: 4.672 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.6644, allocations: 99.53 kB / 0.7346 GB, free: 4.574 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.6646, allocations: 153.3 kB / 0.7347 GB, free: 4.418 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.6656, allocations: 0.7966 MB / 0.7355 GB, free: 3.621 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6657, allocations: 0 / 0.7355 GB, free: 3.621 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.963e-06/0.6657, allocations: 0 / 0.7355 GB, free: 3.621 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.6657, allocations: 0 / 0.7355 GB, free: 3.621 MB / 0.545 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.002264/0.668, allocations: 0.9631 MB / 0.7365 GB, free: 2.602 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.803e-05/0.668, allocations: 12.03 kB / 0.7365 GB, free: 2.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.6682, allocations: 82.97 kB / 0.7366 GB, free: 2.508 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000998/0.6692, allocations: 0.5408 MB / 0.7371 GB, free: 1.926 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.706e-05/0.6693, allocations: 45.25 kB / 0.7371 GB, free: 1.883 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.6694, allocations: 60 kB / 0.7372 GB, free: 1.824 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.6707, allocations: 0.5998 MB / 0.7378 GB, free: 1.199 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.6708, allocations: 3.906 kB / 0.7378 GB, free: 1.195 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.732e-05/0.6708, allocations: 24 kB / 0.7378 GB, free: 1.172 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.6709, allocations: 12 kB / 0.7378 GB, free: 1.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.6719, allocations: 473 kB / 0.7383 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003582/0.6755, allocations: 2.024 MB / 0.7402 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.6766, allocations: 450.4 kB / 0.7407 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.698e-05/0.6766, allocations: 8.438 kB / 0.7407 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006635/0.6773, allocations: 265.2 kB / 0.7409 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=49): time 3.076e-06/0.6773, allocations: 0 / 0.7409 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49): time 0.001378/0.6787, allocations: 0.6 MB / 0.7415 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.6788, allocations: 55.84 kB / 0.7416 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005423/0.6793, allocations: 442 kB / 0.742 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.154e-05/0.6794, allocations: 37.7 kB / 0.742 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002754/0.6797, allocations: 325 kB / 0.7423 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.6798, allocations: 165.6 kB / 0.7425 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.6798, allocations: 12 kB / 0.7425 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001952/0.68, allocations: 362.8 kB / 0.7429 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003774/0.6804, allocations: 169 kB / 0.743 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004321/0.6809, allocations: 257.7 kB / 0.7433 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004334/0.6813, allocations: 227.8 kB / 0.7435 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.6813, allocations: 0 / 0.7435 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001011/0.6823, allocations: 0.5624 MB / 0.744 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.904e-05/0.6824, allocations: 37.94 kB / 0.7441 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.6824, allocations: 11.95 kB / 0.7441 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.6825, allocations: 4 kB / 0.7441 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004907/0.683, allocations: 115.8 kB / 0.7442 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.683, allocations: 4 kB / 0.7442 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000362/0.6833, allocations: 71.5 kB / 0.7443 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.6834, allocations: 20 kB / 0.7443 GB, free: 10.35 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,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 (65): * Single equations (assignments): 64 * 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.0002784/0.6837, allocations: 209.1 kB / 0.7445 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.349e-05/0.6837, allocations: 51.34 kB / 0.7445 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.6839, allocations: 69.58 kB / 0.7446 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.6839, allocations: 7.953 kB / 0.7446 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.6839, allocations: 0 / 0.7446 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.6839, allocations: 7.984 kB / 0.7446 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.6857, allocations: 1.185 MB / 0.7458 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.6857, allocations: 4 kB / 0.7458 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004437/0.6861, allocations: 91.89 kB / 0.7459 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.6861, allocations: 7.953 kB / 0.7459 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.6862, allocations: 15.98 kB / 0.7459 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.6862, allocations: 0 / 0.7459 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6862, allocations: 0 / 0.7459 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.6875, allocations: 0.7719 MB / 0.7466 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.6877, allocations: 168.3 kB / 0.7468 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.395e-05/0.6878, allocations: 23.89 kB / 0.7468 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000296/0.6881, allocations: 39.88 kB / 0.7469 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.6882, allocations: 36.38 kB / 0.7469 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.6883, allocations: 12 kB / 0.7469 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000354/0.6886, allocations: 302.9 kB / 0.7472 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6886, allocations: 0 / 0.7472 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00046/0.6891, allocations: 147.5 kB / 0.7473 GB, free: 7.129 MB / 0.5606 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.trigger.y,$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 (49): * Single equations (assignments): 47 * 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.0001655/0.6893, allocations: 113.9 kB / 0.7474 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009032/0.6902, allocations: 489.5 kB / 0.7479 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.6902, allocations: 0 / 0.7479 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004146/0.6906, allocations: 226.3 kB / 0.7481 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006714/0.6913, allocations: 131.9 kB / 0.7482 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.694, allocations: 1.617 MB / 0.7498 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004795/0.6945, allocations: 0.9057 MB / 0.7507 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002751/0.6948, allocations: 68.56 kB / 0.7508 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.6949, allocations: 43.38 kB / 0.7508 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of SimCode: time 1.082e-06/0.6949, allocations: 0 / 0.7508 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of Templates: time 0.01115/0.7061, allocations: 5.337 MB / 0.756 GB, free: 14.21 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile Environment - environmentSimulation: (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 & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) Environment - environmentSimulation: