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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.308/1.308, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001287/0.001287, allocations: 177.3 kB / 327.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.4 MB / 0.5785 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007239/0.0007244, allocations: 84.77 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003683, allocations: 14.66 kB / 0.7974 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1829, allocations: 106.3 MB / 0.9012 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1661/0.349, allocations: 139.9 MB / 1.038 GB, free: 3.621 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/0.3494, allocations: 79.95 kB / 1.038 GB, free: 3.543 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0462/0.3956, allocations: 17.03 MB / 1.055 GB, free: 2.461 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.993e-06/0.3957, allocations: 0 / 1.055 GB, free: 2.461 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.497e-05/0.3958, allocations: 19.94 kB / 1.055 GB, free: 2.441 MB / 0.698 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.002238/0.398, allocations: 1.06 MB / 1.056 GB, free: 1.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.3981, allocations: 15.97 kB / 1.056 GB, free: 1.305 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002891/0.3984, allocations: 95.81 kB / 1.056 GB, free: 1.211 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.3995, allocations: 0.6182 MB / 1.056 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.3996, allocations: 96.97 kB / 1.056 GB, free: 460 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.851e-05/0.3997, allocations: 56.38 kB / 1.056 GB, free: 404 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3672/0.767, allocations: 0.6545 MB / 1.057 GB, free: 145 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.767, allocations: 5.906 kB / 1.057 GB, free: 145 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.819e-05/0.7671, allocations: 25.73 kB / 1.057 GB, free: 145 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.7671, allocations: 12.03 kB / 1.057 GB, free: 145 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.7682, allocations: 497 kB / 1.058 GB, free: 145 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002548/0.7707, allocations: 2.216 MB / 1.06 GB, free: 144.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.7719, allocations: 0.5813 MB / 1.06 GB, free: 144.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004012/0.7723, allocations: 231.8 kB / 1.061 GB, free: 144 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.95e-05/0.7723, allocations: 13.62 kB / 1.061 GB, free: 144 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006223/0.773, allocations: 317.9 kB / 1.061 GB, free: 144 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 2.515e-06/0.773, allocations: 2.844 kB / 1.061 GB, free: 144 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.001395/0.7744, allocations: 0.7138 MB / 1.062 GB, free: 143.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.7744, allocations: 190.6 kB / 1.062 GB, free: 143.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006541/0.7751, allocations: 0.6211 MB / 1.062 GB, free: 143.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.477e-05/0.7752, allocations: 37.45 kB / 1.062 GB, free: 143.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.7754, allocations: 360.5 kB / 1.063 GB, free: 143.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.886e-05/0.7755, allocations: 159.4 kB / 1.063 GB, free: 143.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/0.7755, allocations: 9.75 kB / 1.063 GB, free: 143.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.331e-05/0.7756, allocations: 326.4 kB / 1.063 GB, free: 143 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00043/0.776, allocations: 213.3 kB / 1.063 GB, free: 143 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000482/0.7765, allocations: 345.8 kB / 1.064 GB, free: 142.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000845/0.7774, allocations: 0.5263 MB / 1.064 GB, free: 142.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.7774, allocations: 3 kB / 1.064 GB, free: 142.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001111/0.7785, allocations: 0.657 MB / 1.065 GB, free: 142.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.3e-05/0.7786, allocations: 194.2 kB / 1.065 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.7786, allocations: 0 / 1.065 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.7786, allocations: 5.969 kB / 1.065 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/0.7791, allocations: 120.2 kB / 1.065 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.7791, allocations: 10.41 kB / 1.065 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000426/0.7796, allocations: 94.69 kB / 1.065 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/0.7796, allocations: 19.84 kB / 1.065 GB, free: 142.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.033e-06/0.7796, allocations: 2.906 kB / 1.065 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009734/0.7806, allocations: 0.5502 MB / 1.066 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.7806, allocations: 4.156 kB / 1.066 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.7806, allocations: 6.359 kB / 1.066 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004031/0.781, allocations: 116 kB / 1.066 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.7811, allocations: 9.891 kB / 1.066 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003879/0.7815, allocations: 66.73 kB / 1.066 GB, free: 142.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/0.7815, allocations: 18.88 kB / 1.066 GB, free: 142.4 MB / 0.698 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.0003876/0.7819, allocations: 283.2 kB / 1.066 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.782, allocations: 78.45 kB / 1.066 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.7822, allocations: 76.97 kB / 1.067 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.7822, allocations: 4.781 kB / 1.067 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.7822, allocations: 2.453 kB / 1.067 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.7822, allocations: 4.344 kB / 1.067 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007916/0.783, allocations: 0.6527 MB / 1.067 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.783, allocations: 0 / 1.067 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004654/0.7835, allocations: 100.8 kB / 1.067 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.7835, allocations: 1.75 kB / 1.067 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/0.7835, allocations: 16 kB / 1.067 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.7835, allocations: 1.719 kB / 1.067 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.7836, allocations: 5.266 kB / 1.067 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.7853, allocations: 0.8405 MB / 1.068 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002307/0.7855, allocations: 202.7 kB / 1.068 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.471e-05/0.7856, allocations: 11.41 kB / 1.068 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000444/0.786, allocations: 65.97 kB / 1.068 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.7861, allocations: 31.62 kB / 1.068 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-05/0.7862, allocations: 18.52 kB / 1.068 GB, free: 141.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006063/0.7868, allocations: 433.9 kB / 1.069 GB, free: 141.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7868, allocations: 0 / 1.069 GB, free: 141.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000695/0.7875, allocations: 239 kB / 1.069 GB, free: 141.5 MB / 0.698 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.0001634/0.7877, allocations: 119.3 kB / 1.069 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001695/0.7894, allocations: 0.8923 MB / 1.07 GB, free: 141.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.7894, allocations: 1.031 kB / 1.07 GB, free: 141.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005286/0.7899, allocations: 247.2 kB / 1.07 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009269/0.7909, allocations: 183.7 kB / 1.07 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.7931, allocations: 1.401 MB / 1.072 GB, free: 140.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.7936, allocations: 0.9224 MB / 1.073 GB, free: 139.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004438/0.794, allocations: 92.97 kB / 1.073 GB, free: 139.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.7942, allocations: 50.53 kB / 1.073 GB, free: 139.8 MB / 0.698 GB Notification: Performance of SimCode: time 3.6e-07/0.7942, allocations: 0 / 1.073 GB, free: 139.8 MB / 0.698 GB Notification: Performance of Templates: time 0.01575/0.8099, allocations: 7.888 MB / 1.081 GB, free: 139.4 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPID.makefile (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)