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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009779/0.0009781, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008387/0.008387, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.337/1.337, allocations: 205.4 MB / 222.5 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.701/1.701, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.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.0005174/0.0005174, allocations: 12.97 kB / 0.6743 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2468, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.005751/0.2526, allocations: 5.062 MB / 0.7928 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003517/0.2562, allocations: 1.717 MB / 0.7945 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009698/0.2572, allocations: 31.88 kB / 0.7945 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006226/0.2578, allocations: 190.2 kB / 0.7947 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001054/0.2589, allocations: 146.8 kB / 0.7949 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.2604, allocations: 0.542 MB / 0.7954 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001781/0.2622, allocations: 1.522 MB / 0.7969 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.2632, allocations: 0.7895 MB / 0.7977 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004071/0.2636, allocations: 373.6 kB / 0.798 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003811/0.264, allocations: 460.7 kB / 0.7985 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.87e-05/0.2641, allocations: 44 kB / 0.7985 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.2642, allocations: 47.98 kB / 0.7985 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.2644, allocations: 182.9 kB / 0.7987 GB, free: 396 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003834/0.2648, allocations: 0.533 MB / 0.7992 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.266, allocations: 1.755 MB / 0.8009 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.266, allocations: 0 / 0.8009 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.883e-06/0.266, allocations: 3.938 kB / 0.801 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.422e-05/0.2661, allocations: 0 / 0.801 GB, free: 14.08 MB / 0.6231 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.002524/0.2686, allocations: 1.57 MB / 0.8025 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.2686, allocations: 12.03 kB / 0.8025 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/0.2689, allocations: 159.1 kB / 0.8026 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.2699, allocations: 0.8054 MB / 0.8034 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.659e-05/0.27, allocations: 86.55 kB / 0.8035 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.2702, allocations: 120.2 kB / 0.8036 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.272, allocations: 1.113 MB / 0.8047 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.272, allocations: 192 / 0.8047 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.912e-05/0.2721, allocations: 55.94 kB / 0.8048 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/0.2721, allocations: 28 kB / 0.8048 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/0.2738, allocations: 0.8512 MB / 0.8056 GB, free: 9.102 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004862/0.2786, allocations: 3.967 MB / 0.8095 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002082/0.2807, allocations: 1.037 MB / 0.8105 GB, free: 3.961 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007847/0.2815, allocations: 482.6 kB / 0.811 GB, free: 3.488 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.036e-05/0.2816, allocations: 8.656 kB / 0.811 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008199/0.2824, allocations: 447.4 kB / 0.8114 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=84): time 2.856e-06/0.2824, allocations: 0 / 0.8114 GB, free: 3.031 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84): time 0.002196/0.2846, allocations: 1.112 MB / 0.8125 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.2848, allocations: 218.6 kB / 0.8127 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.2858, allocations: 0.9194 MB / 0.8136 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.378e-05/0.2859, allocations: 49.69 kB / 0.8137 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004664/0.2864, allocations: 0.5819 MB / 0.8142 GB, free: 72 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.2866, allocations: 284 kB / 0.8145 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.2868, allocations: 85.67 kB / 0.8146 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.2869, allocations: 345.9 kB / 0.8149 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007321/0.2876, allocations: 365.8 kB / 0.8153 GB, free: 15 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009254/0.2886, allocations: 0.6029 MB / 0.8158 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.2901, allocations: 0.8947 MB / 0.8167 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.2901, allocations: 0 / 0.8167 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002079/0.2922, allocations: 1.119 MB / 0.8178 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001839/0.2924, allocations: 250.5 kB / 0.818 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.2924, allocations: 4 kB / 0.818 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.2925, allocations: 8 kB / 0.8181 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007744/0.2932, allocations: 215.6 kB / 0.8183 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.98e-05/0.2933, allocations: 15.92 kB / 0.8183 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00082/0.2941, allocations: 202.8 kB / 0.8185 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.814e-05/0.2942, allocations: 39.98 kB / 0.8185 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/0.2942, allocations: 4 kB / 0.8185 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001217/0.2954, allocations: 0.8176 MB / 0.8193 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.2954, allocations: 7.938 kB / 0.8193 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.2954, allocations: 8 kB / 0.8193 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005568/0.296, allocations: 175.7 kB / 0.8195 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.296, allocations: 8 kB / 0.8195 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006325/0.2967, allocations: 162.3 kB / 0.8197 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.284e-05/0.2967, allocations: 36 kB / 0.8197 GB, free: 10.2 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,noLimPID.noTri.y,limPI.noTri.y,limPIDOri.noTri.y,limPID.noTri.y,pulse.booPul.y,$PRE.pulse.booPul.y,limP.noTri.y,limPD.noTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 1 * 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.0005456/0.2973, allocations: 348.9 kB / 0.82 GB, free: 9.848 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.2974, allocations: 114.6 kB / 0.8201 GB, free: 9.734 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002041/0.2976, allocations: 115.7 kB / 0.8202 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.2976, allocations: 8 kB / 0.8203 GB, free: 9.613 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.2977, allocations: 0 / 0.8203 GB, free: 9.613 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.2977, allocations: 3.984 kB / 0.8203 GB, free: 9.609 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.2987, allocations: 1.003 MB / 0.8212 GB, free: 8.559 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2987, allocations: 7.938 kB / 0.8212 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006453/0.2994, allocations: 167.8 kB / 0.8214 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.2994, allocations: 4 kB / 0.8214 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.146e-05/0.2994, allocations: 19.98 kB / 0.8214 GB, free: 8.363 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.2994, allocations: 4 kB / 0.8214 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.2995, allocations: 4 kB / 0.8214 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00223/0.3017, allocations: 1.272 MB / 0.8227 GB, free: 7.066 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.3019, allocations: 191.5 kB / 0.8229 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.832e-05/0.302, allocations: 16 kB / 0.8229 GB, free: 6.844 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/0.3024, allocations: 79.94 kB / 0.8229 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.36e-05/0.3025, allocations: 44.94 kB / 0.823 GB, free: 6.719 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-05/0.3025, allocations: 27.98 kB / 0.823 GB, free: 6.691 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007805/0.3033, allocations: 0.624 MB / 0.8236 GB, free: 6.059 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3033, allocations: 0 / 0.8236 GB, free: 6.059 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001033/0.3043, allocations: 418.2 kB / 0.824 GB, free: 5.648 MB / 0.6387 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,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002241/0.3046, allocations: 135 kB / 0.8242 GB, free: 5.508 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002376/0.307, allocations: 1.405 MB / 0.8255 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.307, allocations: 0.5625 kB / 0.8255 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006792/0.3077, allocations: 405.6 kB / 0.8259 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.3087, allocations: 244.5 kB / 0.8261 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/0.3119, allocations: 2.482 MB / 0.8286 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005848/0.3125, allocations: 1.097 MB / 0.8296 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005184/0.313, allocations: 136.3 kB / 0.8298 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.3132, allocations: 75.42 kB / 0.8298 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of SimCode: time 8.72e-07/0.3133, allocations: 4 kB / 0.8298 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of Templates: time 0.01937/0.3326, allocations: 11.6 MB / 0.8412 GB, free: 4.129 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: