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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.665/1.665, allocations: 293 MB / 309 MB, free: 4.816 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.000929/0.0009291, allocations: 174.5 kB / 378.7 MB, free: 1.008 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.517/1.517, allocations: 205.4 MB / 0.6383 GB, free: 8.227 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.0007749/0.0007746, allocations: 94.09 kB / 0.7527 GB, free: 62.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004146/0.0004149, allocations: 12 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2652, allocations: 116.4 MB / 0.9905 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7037/0.969, allocations: 143.9 MB / 1.131 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.9693, allocations: 91.59 kB / 1.131 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.05952/1.029, allocations: 24.62 MB / 1.155 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.164e-06/1.029, allocations: 4 kB / 1.155 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001313/1.029, allocations: 35.94 kB / 1.155 GB, free: 13.04 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.003413/1.032, allocations: 1.54 MB / 1.157 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/1.032, allocations: 12.03 kB / 1.157 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005076/1.033, allocations: 171.7 kB / 1.157 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/1.035, allocations: 0.8171 MB / 1.158 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-05/1.035, allocations: 90.55 kB / 1.158 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002511/1.035, allocations: 120.4 kB / 1.158 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/1.037, allocations: 1.12 MB / 1.159 GB, free: 8.996 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/1.037, allocations: 7.938 kB / 1.159 GB, free: 8.988 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.668e-05/1.037, allocations: 43.94 kB / 1.159 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/1.037, allocations: 28.56 kB / 1.159 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001728/1.039, allocations: 0.8804 MB / 1.16 GB, free: 8.031 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005057/1.044, allocations: 3.78 MB / 1.164 GB, free: 4.152 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002076/1.046, allocations: 1.089 MB / 1.165 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007013/1.047, allocations: 459.8 kB / 1.165 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.244e-05/1.047, allocations: 12.98 kB / 1.165 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008296/1.048, allocations: 489.6 kB / 1.166 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=92): time 3.547e-06/1.048, allocations: 0 / 1.166 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of matching and sorting (n=92): time 0.002055/1.05, allocations: 1.155 MB / 1.167 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.824e-05/1.05, allocations: 222.6 kB / 1.167 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/1.051, allocations: 0.9451 MB / 1.168 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/1.051, allocations: 45.7 kB / 1.168 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004865/1.052, allocations: 0.5596 MB / 1.168 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/1.052, allocations: 300.4 kB / 1.169 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/1.052, allocations: 16 kB / 1.169 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.052, allocations: 345.9 kB / 1.169 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007407/1.053, allocations: 353.8 kB / 1.169 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008812/1.054, allocations: 0.5264 MB / 1.17 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/1.055, allocations: 0.8041 MB / 1.171 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/1.055, allocations: 0 / 1.171 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001965/1.057, allocations: 1.052 MB / 1.172 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/1.057, allocations: 172.7 kB / 1.172 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/1.057, allocations: 1.031 kB / 1.172 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/1.057, allocations: 4 kB / 1.172 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007609/1.058, allocations: 207.7 kB / 1.172 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/1.058, allocations: 4 kB / 1.172 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007701/1.059, allocations: 194.9 kB / 1.172 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.088e-05/1.059, allocations: 31.98 kB / 1.172 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.607e-06/1.059, allocations: 4 kB / 1.172 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001178/1.06, allocations: 0.7523 MB / 1.173 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/1.06, allocations: 4 kB / 1.173 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.093e-06/1.06, allocations: 4.188 kB / 1.173 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005644/1.061, allocations: 157.8 kB / 1.173 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/1.061, allocations: 8.969 kB / 1.173 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006602/1.062, allocations: 143.2 kB / 1.173 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.747e-05/1.062, allocations: 35.98 kB / 1.173 GB, free: 9.875 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.0006719/1.062, allocations: 339.1 kB / 1.174 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/1.063, allocations: 118.5 kB / 1.174 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002724/1.063, allocations: 124.6 kB / 1.174 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/1.063, allocations: 8 kB / 1.174 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/1.063, allocations: 8 kB / 1.174 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/1.063, allocations: 11.86 kB / 1.174 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/1.066, allocations: 1.943 MB / 1.176 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/1.066, allocations: 0 / 1.176 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000716/1.067, allocations: 180.4 kB / 1.176 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/1.067, allocations: 7.938 kB / 1.176 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.366e-05/1.067, allocations: 16 kB / 1.176 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/1.067, allocations: 4 kB / 1.176 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.067, allocations: 2.062 kB / 1.176 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002407/1.069, allocations: 1.419 MB / 1.177 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002385/1.069, allocations: 199.4 kB / 1.178 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/1.07, allocations: 20.94 kB / 1.178 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004879/1.07, allocations: 75.94 kB / 1.178 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/1.07, allocations: 56.86 kB / 1.178 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.543e-05/1.07, allocations: 20 kB / 1.178 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001059/1.071, allocations: 0.6486 MB / 1.178 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.21e-07/1.071, allocations: 4 kB / 1.178 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001025/1.072, allocations: 410.5 kB / 1.179 GB, free: 4.18 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.0002621/1.073, allocations: 153.2 kB / 1.179 GB, free: 4.023 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002617/1.075, allocations: 1.361 MB / 1.18 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.413e-06/1.075, allocations: 7.938 kB / 1.18 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007734/1.076, allocations: 419 kB / 1.181 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/1.077, allocations: 246.9 kB / 1.181 GB, free: 1.992 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004045/1.081, allocations: 2.358 MB / 1.183 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009079/1.082, allocations: 1.102 MB / 1.184 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000685/1.083, allocations: 140.4 kB / 1.184 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/1.083, allocations: 91.41 kB / 1.185 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of SimCode: time 9.32e-07/1.083, allocations: 0 / 1.185 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of Templates: time 0.02352/1.107, allocations: 11.69 MB / 1.196 GB, free: 2.738 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)