Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.671/1.671, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001028/0.001028, allocations: 164.9 kB / 361.4 MB, free: 6.875 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.672/1.672, allocations: 205.2 MB / 0.62 GB, free: 11.67 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.0008488/0.0008486, allocations: 92.88 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.64e-05/1.641e-05, allocations: 4 kB / 0.8517 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7445/0.7445, allocations: 115.3 MB / 0.9643 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2188/0.9634, allocations: 145.4 MB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.9637, allocations: 79.95 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04625/1.01, allocations: 16.82 MB / 1.123 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.837e-06/1.01, allocations: 4 kB / 1.123 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.252e-05/1.01, allocations: 23.92 kB / 1.123 GB, free: 9.609 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001622/1.012, allocations: 0.9353 MB / 1.124 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/1.012, allocations: 12.03 kB / 1.124 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/1.012, allocations: 94.83 kB / 1.124 GB, free: 8.512 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009349/1.013, allocations: 0.5901 MB / 1.124 GB, free: 7.883 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/1.013, allocations: 80.72 kB / 1.125 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.69e-05/1.013, allocations: 39.98 kB / 1.125 GB, free: 7.754 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006751/1.014, allocations: 330.6 kB / 1.125 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008573/1.015, allocations: 0.5161 MB / 1.125 GB, free: 6.863 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/1.015, allocations: 0 / 1.125 GB, free: 6.863 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.148e-05/1.015, allocations: 7.984 kB / 1.125 GB, free: 6.855 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/1.015, allocations: 15.95 kB / 1.125 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002881/1.018, allocations: 2.1 MB / 1.127 GB, free: 4.672 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008585/1.019, allocations: 433.2 kB / 1.128 GB, free: 4.234 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002666/1.019, allocations: 160.8 kB / 1.128 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.211e-05/1.019, allocations: 7.984 kB / 1.128 GB, free: 4.066 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004848/1.019, allocations: 242.2 kB / 1.128 GB, free: 3.816 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=45): time 1.754e-06/1.019, allocations: 4 kB / 1.128 GB, free: 3.812 MB / 0.7292 GB Notification: Performance of matching and sorting (n=45): time 0.0007503/1.02, allocations: 381.4 kB / 1.129 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/1.02, allocations: 187.9 kB / 1.129 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006495/1.021, allocations: 471.8 kB / 1.129 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.111e-05/1.021, allocations: 29.7 kB / 1.129 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003564/1.021, allocations: 376.6 kB / 1.13 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/1.022, allocations: 145.8 kB / 1.13 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/1.022, allocations: 0 / 1.13 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003006/1.022, allocations: 382.8 kB / 1.13 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/1.022, allocations: 141.1 kB / 1.13 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003751/1.023, allocations: 268.9 kB / 1.131 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/1.023, allocations: 172.7 kB / 1.131 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/1.023, allocations: 0 / 1.131 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.000919/1.024, allocations: 475.1 kB / 1.131 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000731/1.025, allocations: 0.9908 MB / 1.132 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/1.025, allocations: 8 kB / 1.132 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.543e-05/1.025, allocations: 4 kB / 1.132 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006481/1.025, allocations: 119.8 kB / 1.132 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/1.025, allocations: 9.094 kB / 1.132 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005768/1.026, allocations: 71.55 kB / 1.132 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.094e-05/1.026, allocations: 16 kB / 1.132 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/1.026, allocations: 4.625 kB / 1.132 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007429/1.027, allocations: 382.4 kB / 1.133 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/1.027, allocations: 4 kB / 1.133 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.695e-06/1.027, allocations: 4 kB / 1.133 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004603/1.027, allocations: 115.8 kB / 1.133 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/1.027, allocations: 11.92 kB / 1.133 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004343/1.028, allocations: 66.52 kB / 1.133 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.396e-05/1.028, allocations: 20 kB / 1.133 GB, free: 14.83 MB / 0.7448 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 () * 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.000225/1.028, allocations: 122.3 kB / 1.133 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/1.028, allocations: 67.16 kB / 1.133 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/1.028, allocations: 74.92 kB / 1.133 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/1.028, allocations: 4 kB / 1.133 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/1.028, allocations: 4 kB / 1.133 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/1.028, allocations: 0 / 1.133 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000899/1.029, allocations: 0.5833 MB / 1.134 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.029, allocations: 0 / 1.134 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005354/1.03, allocations: 95.88 kB / 1.134 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/1.03, allocations: 0 / 1.134 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.945e-05/1.03, allocations: 9.812 kB / 1.134 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/1.03, allocations: 4 kB / 1.134 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.03, allocations: 0 / 1.134 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/1.031, allocations: 0.6302 MB / 1.134 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002858/1.031, allocations: 197.9 kB / 1.135 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.221e-05/1.031, allocations: 0 / 1.135 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004804/1.032, allocations: 59.94 kB / 1.135 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/1.032, allocations: 35.7 kB / 1.135 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/1.032, allocations: 15.98 kB / 1.135 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004556/1.033, allocations: 363.2 kB / 1.135 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.2e-07/1.033, allocations: 0 / 1.135 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007057/1.033, allocations: 223.1 kB / 1.135 GB, free: 12.29 MB / 0.7448 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) * 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.0002237/1.034, allocations: 107 kB / 1.135 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001113/1.035, allocations: 0.706 MB / 1.136 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.035, allocations: 3.938 kB / 1.136 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000287/1.035, allocations: 179.9 kB / 1.136 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008806/1.036, allocations: 182.5 kB / 1.136 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/1.038, allocations: 0.8673 MB / 1.137 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005238/1.038, allocations: 0.9308 MB / 1.138 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005813/1.039, allocations: 130.8 kB / 1.138 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/1.039, allocations: 39.42 kB / 1.138 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of SimCode: time 4e-07/1.039, allocations: 0 / 1.138 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of Templates: time 0.01412/1.053, allocations: 8.157 MB / 1.146 GB, free: 1.109 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)