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.001258/0.001258, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.425/1.425, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.673/1.673, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001399/0.001399, allocations: 69.09 kB / 0.6715 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2434, allocations: 114.5 MB / 0.7834 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.007028/0.2504, allocations: 5.65 MB / 0.7889 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004035/0.2545, allocations: 1.791 MB / 0.7907 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008958/0.2554, allocations: 27.94 kB / 0.7907 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006757/0.2561, allocations: 261.2 kB / 0.7909 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006957/0.2569, allocations: 213.9 kB / 0.7911 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.2581, allocations: 0.6193 MB / 0.7917 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001372/0.2595, allocations: 1.663 MB / 0.7934 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.2606, allocations: 0.8285 MB / 0.7942 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005278/0.2611, allocations: 0.5445 MB / 0.7947 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005285/0.2616, allocations: 0.61 MB / 0.7953 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001927/0.2618, allocations: 164 kB / 0.7955 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002353/0.2621, allocations: 180 kB / 0.7956 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002219/0.2623, allocations: 330.8 kB / 0.7959 GB, free: 488 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004866/0.2628, allocations: 0.668 MB / 0.7966 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.2643, allocations: 1.912 MB / 0.7985 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2643, allocations: 0 / 0.7985 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2643, allocations: 0 / 0.7985 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.915e-05/0.2643, allocations: 4 kB / 0.7985 GB, free: 13.88 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.002965/0.2673, allocations: 1.765 MB / 0.8002 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.2673, allocations: 8.031 kB / 0.8002 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002452/0.2676, allocations: 163 kB / 0.8004 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.2686, allocations: 0.8092 MB / 0.8011 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.41e-05/0.2687, allocations: 86.55 kB / 0.8012 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.2689, allocations: 120.4 kB / 0.8013 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.2705, allocations: 1.081 MB / 0.8024 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.2706, allocations: 8.062 kB / 0.8024 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-05/0.2707, allocations: 63.91 kB / 0.8025 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.2707, allocations: 28 kB / 0.8025 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.2722, allocations: 0.8004 MB / 0.8033 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00476/0.277, allocations: 3.916 MB / 0.8071 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/0.279, allocations: 0.9444 MB / 0.808 GB, free: 3.773 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007343/0.2797, allocations: 454.6 kB / 0.8085 GB, free: 3.324 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.016e-05/0.2798, allocations: 8.656 kB / 0.8085 GB, free: 3.316 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008133/0.2806, allocations: 423.3 kB / 0.8089 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=84): time 3.156e-06/0.2806, allocations: 4 kB / 0.8089 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of matching and sorting (n=84): time 0.002077/0.2827, allocations: 1.03 MB / 0.8099 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.2828, allocations: 222.6 kB / 0.8101 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.2839, allocations: 0.9271 MB / 0.811 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.616e-05/0.284, allocations: 45.7 kB / 0.811 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000404/0.2844, allocations: 0.5819 MB / 0.8116 GB, free: 0 / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001942/0.2846, allocations: 287.8 kB / 0.8119 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/0.2849, allocations: 178.5 kB / 0.812 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.285, allocations: 345.9 kB / 0.8124 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007047/0.2857, allocations: 348.7 kB / 0.8127 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008309/0.2865, allocations: 0.5794 MB / 0.8133 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.2879, allocations: 0.8439 MB / 0.8141 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.2879, allocations: 4 kB / 0.8141 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001869/0.2898, allocations: 1.072 MB / 0.8152 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.321e-05/0.2898, allocations: 37.7 kB / 0.8152 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.2899, allocations: 7.984 kB / 0.8152 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.2899, allocations: 12 kB / 0.8152 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007252/0.2906, allocations: 195.7 kB / 0.8154 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.2906, allocations: 15.94 kB / 0.8154 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007297/0.2914, allocations: 159 kB / 0.8156 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-05/0.2915, allocations: 39.98 kB / 0.8156 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007048/0.2922, allocations: 466 kB / 0.816 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005581/0.2927, allocations: 0.4975 MB / 0.8165 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008786/0.2936, allocations: 0.7151 MB / 0.8172 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.525e-06/0.2936, allocations: 0 / 0.8172 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of matching and sorting (n=117) (initialization_lambda0): time 0.001253/0.2949, allocations: 0.9271 MB / 0.8181 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.163e-05/0.2949, allocations: 38.62 kB / 0.8182 GB, free: 8.902 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2949, allocations: 4 kB / 0.8182 GB, free: 8.898 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.295, allocations: 8 kB / 0.8182 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005594/0.2955, allocations: 171.8 kB / 0.8183 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.2955, allocations: 15.88 kB / 0.8184 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006166/0.2962, allocations: 135.7 kB / 0.8185 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.141e-05/0.2962, allocations: 39.98 kB / 0.8185 GB, free: 8.535 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.0002312/0.2965, allocations: 244 kB / 0.8188 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.2966, allocations: 110.6 kB / 0.8189 GB, free: 8.18 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002054/0.2968, allocations: 123.7 kB / 0.819 GB, free: 8.059 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.2968, allocations: 8 kB / 0.819 GB, free: 8.051 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.2968, allocations: 0 / 0.819 GB, free: 8.051 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.2969, allocations: 7.984 kB / 0.819 GB, free: 8.043 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.2979, allocations: 1.003 MB / 0.82 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.298, allocations: 0 / 0.82 GB, free: 6.988 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006404/0.2986, allocations: 155.8 kB / 0.8201 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.2986, allocations: 4 kB / 0.8201 GB, free: 6.832 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/0.2987, allocations: 15.94 kB / 0.8201 GB, free: 6.816 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.2987, allocations: 8 kB / 0.8202 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2987, allocations: 0 / 0.8202 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.3007, allocations: 1.206 MB / 0.8213 GB, free: 5.586 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.3009, allocations: 199.5 kB / 0.8215 GB, free: 5.371 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.514e-05/0.301, allocations: 16 kB / 0.8215 GB, free: 5.355 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/0.3013, allocations: 59.94 kB / 0.8216 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.846e-05/0.3014, allocations: 48.94 kB / 0.8216 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.846e-05/0.3015, allocations: 27.92 kB / 0.8217 GB, free: 5.223 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007351/0.3022, allocations: 0.6241 MB / 0.8223 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3022, allocations: 0 / 0.8223 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009118/0.3031, allocations: 414.2 kB / 0.8227 GB, free: 4.184 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.000197/0.3034, allocations: 131.1 kB / 0.8228 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002743/0.3061, allocations: 1.389 MB / 0.8242 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3061, allocations: 0 / 0.8242 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006552/0.3068, allocations: 381.8 kB / 0.8245 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.3079, allocations: 268.5 kB / 0.8248 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/0.3111, allocations: 1.949 MB / 0.8267 GB, free: 36 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006218/0.3117, allocations: 1.097 MB / 0.8277 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005349/0.3123, allocations: 140.3 kB / 0.8279 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.3125, allocations: 79.41 kB / 0.828 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of SimCode: time 6.31e-07/0.3125, allocations: 0 / 0.828 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of Templates: time 0.02181/0.3343, allocations: 12.25 MB / 0.8399 GB, free: 2.578 MB / 0.6544 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)