Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009914/0.0009913, allocations: 99.86 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.001135/0.001135, 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.745/1.745, allocations: 205.4 MB / 222.1 MB, free: 5.547 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.563/1.563, allocations: 251.9 MB / 0.51 GB, free: 4.906 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.0005852/0.0005854, allocations: 15.12 kB / 0.6241 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6254/0.626, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.004321/0.6304, allocations: 3.149 MB / 0.731 GB, free: 8.277 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00297/0.6334, allocations: 1.267 MB / 0.7323 GB, free: 7 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004681/0.6339, allocations: 27.81 kB / 0.7323 GB, free: 6.973 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.634, allocations: 51.38 kB / 0.7323 GB, free: 6.922 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006286/0.6347, allocations: 191.4 kB / 0.7325 GB, free: 6.734 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001094/0.6358, allocations: 465 kB / 0.733 GB, free: 6.289 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008948/0.6367, allocations: 0.6061 MB / 0.7336 GB, free: 5.68 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004423/0.6371, allocations: 262.9 kB / 0.7338 GB, free: 5.41 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003962/0.6375, allocations: 290.6 kB / 0.7341 GB, free: 5.125 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003724/0.6379, allocations: 266.4 kB / 0.7343 GB, free: 4.863 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.314e-05/0.638, allocations: 20 kB / 0.7344 GB, free: 4.844 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.783e-05/0.6381, allocations: 20 kB / 0.7344 GB, free: 4.824 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.6382, allocations: 107.4 kB / 0.7345 GB, free: 4.719 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.6384, allocations: 137.3 kB / 0.7346 GB, free: 4.578 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007772/0.6392, allocations: 0.6254 MB / 0.7352 GB, free: 3.953 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.6392, allocations: 0 / 0.7352 GB, free: 3.953 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.352e-06/0.6392, allocations: 0 / 0.7352 GB, free: 3.953 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.6392, allocations: 3.938 kB / 0.7352 GB, free: 3.949 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002366/0.6416, allocations: 1.063 MB / 0.7363 GB, free: 2.828 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.661e-05/0.6417, allocations: 12.03 kB / 0.7363 GB, free: 2.816 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002007/0.6419, allocations: 98.81 kB / 0.7364 GB, free: 2.719 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.643, allocations: 0.5823 MB / 0.7369 GB, free: 2.094 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.6432, allocations: 100.4 kB / 0.737 GB, free: 1.984 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-05/0.6433, allocations: 52 kB / 0.7371 GB, free: 1.934 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.6446, allocations: 0.6002 MB / 0.7377 GB, free: 1.285 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.6446, allocations: 7.922 kB / 0.7377 GB, free: 1.277 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.381e-05/0.6447, allocations: 20 kB / 0.7377 GB, free: 1.258 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.6447, allocations: 16 kB / 0.7377 GB, free: 1.242 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.6458, allocations: 435.7 kB / 0.7381 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003333/0.6491, allocations: 2.133 MB / 0.7402 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.6505, allocations: 0.5322 MB / 0.7407 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.897e-05/0.6506, allocations: 7.984 kB / 0.7407 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007582/0.6513, allocations: 290 kB / 0.741 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=45): time 3.135e-06/0.6513, allocations: 0 / 0.741 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.001543/0.6529, allocations: 0.6424 MB / 0.7416 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.167e-05/0.653, allocations: 84.86 kB / 0.7417 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007776/0.6538, allocations: 0.614 MB / 0.7423 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.713e-05/0.6538, allocations: 37.64 kB / 0.7424 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003136/0.6542, allocations: 360.8 kB / 0.7427 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.6543, allocations: 162.8 kB / 0.7429 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.6544, allocations: 12 kB / 0.7429 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.6545, allocations: 329.9 kB / 0.7432 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004341/0.655, allocations: 181 kB / 0.7434 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005081/0.6555, allocations: 284.2 kB / 0.7436 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004891/0.656, allocations: 234.4 kB / 0.7439 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.656, allocations: 0 / 0.7439 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001168/0.6572, allocations: 0.6177 MB / 0.7445 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004657/0.6577, allocations: 0.9869 MB / 0.7454 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.6577, allocations: 4 kB / 0.7454 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.6577, allocations: 4 kB / 0.7454 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004722/0.6582, allocations: 115.8 kB / 0.7455 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.6582, allocations: 4 kB / 0.7455 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003741/0.6586, allocations: 75.34 kB / 0.7456 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.6586, allocations: 20 kB / 0.7456 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.6586, allocations: 7.984 kB / 0.7456 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009137/0.6596, allocations: 0.4959 MB / 0.7461 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.6596, allocations: 12.27 kB / 0.7461 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.24e-06/0.6596, allocations: 8 kB / 0.7461 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004068/0.66, allocations: 107.8 kB / 0.7463 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.66, allocations: 4 kB / 0.7463 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003133/0.6603, allocations: 55.56 kB / 0.7463 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.6604, allocations: 24 kB / 0.7463 GB, free: 8.121 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0003447/0.6607, allocations: 275.7 kB / 0.7466 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.372e-05/0.6608, allocations: 75.06 kB / 0.7467 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.661, allocations: 87.28 kB / 0.7467 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.661, allocations: 4 kB / 0.7468 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.661, allocations: 0 / 0.7468 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.661, allocations: 0 / 0.7468 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007281/0.6618, allocations: 0.6258 MB / 0.7474 GB, free: 7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.6618, allocations: 0 / 0.7474 GB, free: 7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004386/0.6622, allocations: 87.89 kB / 0.7474 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.6622, allocations: 4 kB / 0.7475 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.6623, allocations: 7.984 kB / 0.7475 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.6623, allocations: 7.953 kB / 0.7475 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.6623, allocations: 0 / 0.7475 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.6638, allocations: 0.7473 MB / 0.7482 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002437/0.664, allocations: 196 kB / 0.7484 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.147e-05/0.6641, allocations: 12 kB / 0.7484 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/0.6645, allocations: 47.95 kB / 0.7484 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.6646, allocations: 39.84 kB / 0.7485 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/0.6647, allocations: 15.98 kB / 0.7485 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004967/0.6652, allocations: 427 kB / 0.7489 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6652, allocations: 7.938 kB / 0.7489 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006121/0.6658, allocations: 207.4 kB / 0.7491 GB, free: 5.18 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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.0001784/0.666, allocations: 115.2 kB / 0.7492 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001559/0.6676, allocations: 0.801 MB / 0.75 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.6676, allocations: 4.125 kB / 0.75 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004523/0.668, allocations: 231.6 kB / 0.7502 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008441/0.6689, allocations: 175.4 kB / 0.7504 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002801/0.6717, allocations: 1.387 MB / 0.7517 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007022/0.6724, allocations: 0.9339 MB / 0.7527 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006131/0.673, allocations: 93.19 kB / 0.7527 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.6733, allocations: 43.44 kB / 0.7528 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of SimCode: time 7.31e-07/0.6733, allocations: 3.938 kB / 0.7528 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of Templates: time 0.02031/0.6936, allocations: 6.886 MB / 0.7595 GB, free: 10.52 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1) Environment - environmentSimulation: