Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.632/1.632, allocations: 292.6 MB / 307.6 MB, free: 5.199 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.001325/0.001325, allocations: 177 kB / 377.1 MB, free: 1.551 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.711/1.711, allocations: 205.4 MB / 0.6367 GB, free: 8.551 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.0009929/0.0009928, allocations: 90.44 kB / 0.751 GB, free: 63.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003908/0.000391, allocations: 12 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2881, allocations: 116.3 MB / 0.9884 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.787/1.075, allocations: 143.8 MB / 1.129 GB, free: 32.09 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/1.075, allocations: 91.08 kB / 1.129 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.06008/1.136, allocations: 24.57 MB / 1.153 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.523e-06/1.136, allocations: 0 / 1.153 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.741e-05/1.136, allocations: 35.98 kB / 1.153 GB, free: 14.23 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.002675/1.138, allocations: 1.557 MB / 1.154 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/1.138, allocations: 8.031 kB / 1.154 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002346/1.139, allocations: 164.1 kB / 1.155 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/1.14, allocations: 0.7853 MB / 1.155 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.736e-05/1.14, allocations: 86.17 kB / 1.155 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/1.14, allocations: 123.3 kB / 1.156 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/1.142, allocations: 1.112 MB / 1.157 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/1.142, allocations: 3.938 kB / 1.157 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.057e-05/1.142, allocations: 51.98 kB / 1.157 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/1.142, allocations: 24 kB / 1.157 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/1.144, allocations: 0.8785 MB / 1.158 GB, free: 9.27 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004751/1.148, allocations: 3.773 MB / 1.161 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/1.15, allocations: 1.103 MB / 1.162 GB, free: 4.289 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.347e-05/1.151, allocations: 24.92 kB / 1.162 GB, free: 4.266 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008479/1.151, allocations: 479.2 kB / 1.163 GB, free: 3.789 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=92): time 4.098e-06/1.151, allocations: 0 / 1.163 GB, free: 3.789 MB / 0.7292 GB Notification: Performance of matching and sorting (n=92): time 0.002059/1.153, allocations: 1.163 MB / 1.164 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.177e-05/1.154, allocations: 222.6 kB / 1.164 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009701/1.155, allocations: 0.83 MB / 1.165 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.114e-05/1.155, allocations: 41.7 kB / 1.165 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003939/1.155, allocations: 0.545 MB / 1.166 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/1.155, allocations: 307.5 kB / 1.166 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/1.155, allocations: 31.88 kB / 1.166 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.806e-05/1.155, allocations: 333.9 kB / 1.166 GB, free: 248 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006641/1.156, allocations: 357.8 kB / 1.167 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008767/1.157, allocations: 0.5148 MB / 1.167 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008132/1.158, allocations: 425 kB / 1.167 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.158, allocations: 0 / 1.167 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001986/1.16, allocations: 1.056 MB / 1.169 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003556/1.16, allocations: 0.6556 MB / 1.169 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.16, allocations: 4 kB / 1.169 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/1.16, allocations: 7.984 kB / 1.169 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007598/1.161, allocations: 191.8 kB / 1.169 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/1.161, allocations: 11.94 kB / 1.169 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007407/1.162, allocations: 187 kB / 1.17 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.503e-05/1.162, allocations: 39.98 kB / 1.17 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.676e-06/1.162, allocations: 4 kB / 1.17 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001203/1.163, allocations: 0.7475 MB / 1.17 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/1.163, allocations: 0 / 1.17 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/1.163, allocations: 12.89 kB / 1.17 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005565/1.164, allocations: 147.8 kB / 1.17 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/1.164, allocations: 16.86 kB / 1.17 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005738/1.164, allocations: 143.3 kB / 1.171 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-05/1.164, allocations: 32 kB / 1.171 GB, free: 11.6 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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.0006791/1.165, allocations: 341.6 kB / 1.171 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/1.165, allocations: 118.5 kB / 1.171 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/1.165, allocations: 136.5 kB / 1.171 GB, free: 11 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.991e-05/1.165, allocations: 11.98 kB / 1.171 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/1.165, allocations: 1.938 kB / 1.171 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/1.165, allocations: 5.016 kB / 1.171 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002873/1.168, allocations: 1.95 MB / 1.173 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/1.168, allocations: 0 / 1.173 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007298/1.169, allocations: 171.8 kB / 1.173 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/1.169, allocations: 11.95 kB / 1.173 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.214e-05/1.169, allocations: 23.98 kB / 1.173 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/1.169, allocations: 4 kB / 1.173 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/1.169, allocations: 0 / 1.173 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002407/1.172, allocations: 1.415 MB / 1.175 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002291/1.172, allocations: 203.4 kB / 1.175 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/1.172, allocations: 19.95 kB / 1.175 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004413/1.172, allocations: 81.16 kB / 1.175 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.939e-05/1.173, allocations: 48.94 kB / 1.175 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-05/1.173, allocations: 25.86 kB / 1.175 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0009499/1.174, allocations: 0.6486 MB / 1.176 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.01e-07/1.174, allocations: 0 / 1.176 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001138/1.175, allocations: 406.5 kB / 1.176 GB, free: 5.898 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 7 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002623/1.175, allocations: 155.5 kB / 1.176 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002499/1.177, allocations: 1.36 MB / 1.178 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/1.177, allocations: 0 / 1.178 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006991/1.178, allocations: 430.3 kB / 1.178 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/1.179, allocations: 230.2 kB / 1.178 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003562/1.183, allocations: 2.354 MB / 1.181 GB, free: 1.34 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007222/1.184, allocations: 1.125 MB / 1.182 GB, free: 192 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006006/1.184, allocations: 140.8 kB / 1.182 GB, free: 52 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/1.184, allocations: 83.47 kB / 1.182 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of SimCode: time 7.41e-07/1.184, allocations: 0 / 1.182 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of Templates: time 0.02357/1.208, allocations: 11.51 MB / 1.193 GB, free: 4.641 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)