Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.612/2.612, allocations: 285 MB / 292.5 MB, free: 10.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00147/0.00147, allocations: 188.9 kB / 360.7 MB, free: 7.223 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.161/2.161, allocations: 205.2 MB / 0.6192 GB, free: 12.13 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001452/0.001452, allocations: 90.14 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.856e-05/2.86e-05, allocations: 4 kB / 0.8509 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8234/0.8235, allocations: 115.2 MB / 0.9634 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2526/1.076, allocations: 144 MB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/1.077, allocations: 76.84 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06327/1.14, allocations: 12.41 MB / 1.116 GB, free: 136 kB / 0.7136 GB Notification: Performance of FrontEnd: time 2.945e-06/1.14, allocations: 0 / 1.116 GB, free: 136 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001044/1.14, allocations: 16 kB / 1.116 GB, free: 120 kB / 0.7136 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.003678/1.144, allocations: 0.8763 MB / 1.117 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 7.14e-05/1.144, allocations: 8.031 kB / 1.117 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004684/1.144, allocations: 88.23 kB / 1.117 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/1.146, allocations: 0.5313 MB / 1.118 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.009e-05/1.146, allocations: 16 kB / 1.118 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002013/1.147, allocations: 43.94 kB / 1.118 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001785/1.148, allocations: 396.1 kB / 1.118 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/1.151, allocations: 0.5177 MB / 1.119 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.788e-05/1.151, allocations: 3.938 kB / 1.119 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/1.151, allocations: 7.953 kB / 1.119 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/1.151, allocations: 12 kB / 1.119 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007504/1.158, allocations: 1.984 MB / 1.121 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/1.16, allocations: 404.8 kB / 1.121 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004992/1.16, allocations: 212.3 kB / 1.121 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.303e-05/1.16, allocations: 8.438 kB / 1.121 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006396/1.161, allocations: 240.4 kB / 1.121 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=50): time 3.978e-06/1.161, allocations: 0 / 1.121 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of matching and sorting (n=50): time 0.001225/1.162, allocations: 395.5 kB / 1.122 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/1.162, allocations: 162.7 kB / 1.122 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006521/1.163, allocations: 346 kB / 1.122 GB, free: 9.672 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.81e-05/1.163, allocations: 29.7 kB / 1.122 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003549/1.163, allocations: 324.3 kB / 1.123 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/1.163, allocations: 165.5 kB / 1.123 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/1.164, allocations: 0 / 1.123 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001925/1.164, allocations: 366.8 kB / 1.123 GB, free: 8.785 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004165/1.164, allocations: 141.1 kB / 1.123 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005325/1.165, allocations: 254.4 kB / 1.123 GB, free: 8.367 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004632/1.165, allocations: 162.1 kB / 1.124 GB, free: 8.207 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.165, allocations: 8 kB / 1.124 GB, free: 8.199 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001342/1.167, allocations: 462.3 kB / 1.124 GB, free: 7.742 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.535e-05/1.167, allocations: 41.64 kB / 1.124 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/1.167, allocations: 3.094 kB / 1.124 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/1.167, allocations: 4 kB / 1.124 GB, free: 7.691 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009933/1.168, allocations: 132 kB / 1.124 GB, free: 7.562 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/1.168, allocations: 7 kB / 1.124 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008035/1.169, allocations: 67.58 kB / 1.124 GB, free: 7.492 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.926e-05/1.169, allocations: 20 kB / 1.124 GB, free: 7.473 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.0002014/1.169, allocations: 118.3 kB / 1.124 GB, free: 7.352 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/1.169, allocations: 51.34 kB / 1.125 GB, free: 7.301 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002159/1.169, allocations: 65.14 kB / 1.125 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.487e-05/1.169, allocations: 8 kB / 1.125 GB, free: 7.23 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/1.169, allocations: 0 / 1.125 GB, free: 7.23 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/1.169, allocations: 3.984 kB / 1.125 GB, free: 7.227 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002558/1.172, allocations: 1.104 MB / 1.126 GB, free: 6.078 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/1.172, allocations: 0 / 1.126 GB, free: 6.078 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/1.173, allocations: 107.9 kB / 1.126 GB, free: 5.973 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.968e-05/1.173, allocations: 7.953 kB / 1.126 GB, free: 5.965 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-05/1.173, allocations: 3.984 kB / 1.126 GB, free: 5.961 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/1.173, allocations: 4 kB / 1.126 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/1.173, allocations: 0 / 1.126 GB, free: 5.957 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/1.175, allocations: 0.7095 MB / 1.126 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003655/1.175, allocations: 184.4 kB / 1.127 GB, free: 5.031 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/1.175, allocations: 7.953 kB / 1.127 GB, free: 5.023 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006869/1.176, allocations: 43.95 kB / 1.127 GB, free: 4.98 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/1.176, allocations: 44.31 kB / 1.127 GB, free: 4.938 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-05/1.176, allocations: 8 kB / 1.127 GB, free: 4.93 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005054/1.177, allocations: 271 kB / 1.127 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.41e-07/1.177, allocations: 4 kB / 1.127 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008365/1.178, allocations: 139.5 kB / 1.127 GB, free: 4.527 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.0002373/1.178, allocations: 107.9 kB / 1.127 GB, free: 4.414 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001106/1.179, allocations: 439.2 kB / 1.128 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/1.179, allocations: 0 / 1.128 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005035/1.18, allocations: 201.5 kB / 1.128 GB, free: 3.773 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/1.181, allocations: 120.8 kB / 1.128 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004632/1.185, allocations: 1.25 MB / 1.129 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006196/1.186, allocations: 0.9018 MB / 1.13 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0005654/1.187, allocations: 56.36 kB / 1.13 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/1.187, allocations: 39.44 kB / 1.13 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of SimCode: time 9.22e-07/1.187, allocations: 0 / 1.13 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of Templates: time 0.01984/1.207, allocations: 5.51 MB / 1.136 GB, free: 12.01 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)