Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.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.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008339/0.008339, allocations: 104.8 kB / 15.73 MB, free: 6.039 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.001684/0.001684, allocations: 193 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.732/1.732, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.648/1.648, allocations: 251.7 MB / 0.5094 GB, free: 3.082 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.001496/0.001496, allocations: 71.89 kB / 0.7258 GB, free: 8.945 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2967, allocations: 104.7 MB / 0.8281 GB, free: 144 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.007308/0.3041, allocations: 5.568 MB / 0.8335 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00498/0.3091, allocations: 1.834 MB / 0.8353 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.3103, allocations: 31.88 kB / 0.8354 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007249/0.3111, allocations: 257.3 kB / 0.8356 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000746/0.3119, allocations: 194 kB / 0.8358 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.3129, allocations: 0.5264 MB / 0.8363 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001582/0.3145, allocations: 1.538 MB / 0.8378 GB, free: 6.145 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.3156, allocations: 0.7145 MB / 0.8385 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006064/0.3163, allocations: 0.5094 MB / 0.839 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005422/0.3168, allocations: 0.575 MB / 0.8396 GB, free: 4.32 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001901/0.317, allocations: 148 kB / 0.8397 GB, free: 4.176 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.3172, allocations: 148 kB / 0.8399 GB, free: 4.031 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002584/0.3174, allocations: 318.8 kB / 0.8402 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004982/0.3179, allocations: 0.6213 MB / 0.8408 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001547/0.3195, allocations: 1.747 MB / 0.8425 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.3195, allocations: 4 kB / 0.8425 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3195, allocations: 0 / 0.8425 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.06e-05/0.3196, allocations: 4 kB / 0.8425 GB, free: 1.332 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.003093/0.3227, allocations: 1.689 MB / 0.8441 GB, free: 15.59 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.3227, allocations: 8.031 kB / 0.8441 GB, free: 15.58 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002366/0.323, allocations: 155.1 kB / 0.8443 GB, free: 15.43 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.3242, allocations: 0.7897 MB / 0.8451 GB, free: 14.59 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-05/0.3243, allocations: 82.45 kB / 0.8451 GB, free: 14.51 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.3245, allocations: 112.3 kB / 0.8452 GB, free: 14.4 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/0.3264, allocations: 1.087 MB / 0.8463 GB, free: 13.23 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/0.3264, allocations: 7.938 kB / 0.8463 GB, free: 13.23 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.634e-05/0.3265, allocations: 44 kB / 0.8464 GB, free: 13.18 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/0.3265, allocations: 28 kB / 0.8464 GB, free: 13.16 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.3284, allocations: 0.8197 MB / 0.8472 GB, free: 12.34 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005803/0.3342, allocations: 4.077 MB / 0.8512 GB, free: 8.125 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002319/0.3365, allocations: 0.9797 MB / 0.8521 GB, free: 7.137 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009327/0.3375, allocations: 475.4 kB / 0.8526 GB, free: 6.676 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 6.145e-05/0.3375, allocations: 12.98 kB / 0.8526 GB, free: 6.66 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/0.3386, allocations: 437 kB / 0.853 GB, free: 6.223 MB / 0.67 GB Notification: Performance of pre-optimization done (n=84): time 5.12e-06/0.3386, allocations: 0 / 0.853 GB, free: 6.223 MB / 0.67 GB Notification: Performance of matching and sorting (n=84): time 0.002699/0.3413, allocations: 1.061 MB / 0.854 GB, free: 5.156 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001786/0.3415, allocations: 218.6 kB / 0.8542 GB, free: 4.891 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.3429, allocations: 0.8822 MB / 0.8551 GB, free: 3.988 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.164e-05/0.343, allocations: 41.7 kB / 0.8551 GB, free: 3.941 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006533/0.3437, allocations: 0.5508 MB / 0.8557 GB, free: 3.383 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003067/0.344, allocations: 287.8 kB / 0.856 GB, free: 3.098 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002802/0.3443, allocations: 154.6 kB / 0.8561 GB, free: 2.941 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.3445, allocations: 337.9 kB / 0.8564 GB, free: 2.605 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007689/0.3452, allocations: 332.7 kB / 0.8567 GB, free: 2.277 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.3463, allocations: 0.5007 MB / 0.8572 GB, free: 1.715 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.3478, allocations: 0.7416 MB / 0.858 GB, free: 0.9453 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3478, allocations: 0 / 0.858 GB, free: 0.9453 MB / 0.67 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00201/0.3498, allocations: 0.953 MB / 0.8589 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.3498, allocations: 14.75 kB / 0.8589 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.639e-06/0.3499, allocations: 3.938 kB / 0.8589 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.3499, allocations: 8 kB / 0.8589 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008089/0.3507, allocations: 195.8 kB / 0.8591 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.11e-05/0.3507, allocations: 11.94 kB / 0.8591 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007206/0.3515, allocations: 139.1 kB / 0.8592 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.714e-05/0.3515, allocations: 32 kB / 0.8593 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008803/0.3524, allocations: 438 kB / 0.8597 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000694/0.3531, allocations: 443.3 kB / 0.8601 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001058/0.3542, allocations: 0.605 MB / 0.8607 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.204e-06/0.3542, allocations: 0 / 0.8607 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.001576/0.3558, allocations: 0.8085 MB / 0.8615 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.3558, allocations: 8 kB / 0.8615 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3558, allocations: 256 / 0.8615 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.3559, allocations: 12 kB / 0.8615 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006409/0.3565, allocations: 167.7 kB / 0.8617 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.3565, allocations: 4 kB / 0.8617 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005958/0.3571, allocations: 115.3 kB / 0.8618 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.018e-05/0.3572, allocations: 35.88 kB / 0.8618 GB, free: 12.88 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,noLimPID.I.trigger_internal,limPI.I.trigger_internal,limPIDOri.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 (109): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003709/0.3576, allocations: 236 kB / 0.8621 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.3578, allocations: 114.6 kB / 0.8622 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/0.358, allocations: 119.2 kB / 0.8623 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.3581, allocations: 8 kB / 0.8623 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/0.3581, allocations: 0 / 0.8623 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.3581, allocations: 3.984 kB / 0.8623 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.3595, allocations: 0.9714 MB / 0.8632 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3596, allocations: 7.938 kB / 0.8632 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000698/0.3603, allocations: 163.8 kB / 0.8634 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.3603, allocations: 4 kB / 0.8634 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.841e-05/0.3603, allocations: 19.98 kB / 0.8634 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.917e-05/0.3604, allocations: 4 kB / 0.8634 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3604, allocations: 3.984 kB / 0.8634 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00254/0.3629, allocations: 1.241 MB / 0.8646 GB, free: 9.922 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002217/0.3631, allocations: 191.6 kB / 0.8648 GB, free: 9.715 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.3633, allocations: 16 kB / 0.8648 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004393/0.3637, allocations: 59.94 kB / 0.8649 GB, free: 9.641 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.3639, allocations: 56.92 kB / 0.8649 GB, free: 9.586 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.625e-05/0.3639, allocations: 23.94 kB / 0.865 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008679/0.3648, allocations: 0.6074 MB / 0.8656 GB, free: 8.945 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3648, allocations: 0 / 0.8656 GB, free: 8.945 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001001/0.3658, allocations: 378.4 kB / 0.8659 GB, free: 8.574 MB / 0.6856 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: 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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003527/0.3662, allocations: 134.3 kB / 0.8661 GB, free: 8.434 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002615/0.3688, allocations: 1.155 MB / 0.8672 GB, free: 7.281 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.3688, allocations: 4 kB / 0.8672 GB, free: 7.277 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007728/0.3696, allocations: 385.5 kB / 0.8676 GB, free: 6.902 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.3708, allocations: 271.7 kB / 0.8678 GB, free: 6.648 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003456/0.3743, allocations: 1.872 MB / 0.8696 GB, free: 4.746 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007886/0.3751, allocations: 1.073 MB / 0.8707 GB, free: 3.637 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005637/0.3756, allocations: 128 kB / 0.8708 GB, free: 3.508 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.3759, allocations: 87.36 kB / 0.8709 GB, free: 3.426 MB / 0.6856 GB Notification: Performance of SimCode: time 1.012e-06/0.3759, allocations: 0 / 0.8709 GB, free: 3.426 MB / 0.6856 GB Notification: Performance of Templates: time 0.02376/0.3996, allocations: 11.44 MB / 0.8821 GB, free: 8.102 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)