Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.059/2.059, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 189.1 kB / 499.1 MB, free: 4.629 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 0.7948 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 105.9 kB / 0.9329 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001024/0.001025, allocations: 52.78 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2325, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.005124/0.2376, allocations: 5.505 MB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002856/0.2405, allocations: 1.717 MB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009479/0.2415, allocations: 35.88 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006067/0.2421, allocations: 186.2 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0007314/0.2429, allocations: 139 kB / 1.226 GB, free: 109.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.2439, allocations: 0.5419 MB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0009623/0.2449, allocations: 1.499 MB / 1.228 GB, free: 107.5 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007284/0.2456, allocations: 0.7854 MB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.2459, allocations: 457.6 kB / 1.229 GB, free: 106.3 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002925/0.2462, allocations: 0.5281 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.2463, allocations: 76 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.2464, allocations: 91.98 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.2465, allocations: 242.8 kB / 1.23 GB, free: 105.3 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002638/0.2468, allocations: 0.5744 MB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0008324/0.2477, allocations: 1.758 MB / 1.232 GB, free: 103 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2477, allocations: 0 / 1.232 GB, free: 103 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.81e-07/0.2477, allocations: 0 / 1.232 GB, free: 103 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.2477, allocations: 0 / 1.232 GB, free: 103 MB / 0.823 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.002144/0.2498, allocations: 1.7 MB / 1.234 GB, free: 101.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.2499, allocations: 15.98 kB / 1.234 GB, free: 101.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.25, allocations: 155.1 kB / 1.234 GB, free: 101.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007077/0.2508, allocations: 0.7431 MB / 1.234 GB, free: 100.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.489e-05/0.2508, allocations: 86.55 kB / 1.235 GB, free: 100.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.2509, allocations: 120.3 kB / 1.235 GB, free: 100.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.2522, allocations: 1.081 MB / 1.236 GB, free: 98.93 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.2523, allocations: 4.125 kB / 1.236 GB, free: 98.93 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.161e-05/0.2523, allocations: 59.86 kB / 1.236 GB, free: 98.87 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.2523, allocations: 28 kB / 1.236 GB, free: 98.84 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.2536, allocations: 0.8004 MB / 1.237 GB, free: 98.03 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003569/0.2572, allocations: 3.905 MB / 1.24 GB, free: 94 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.2588, allocations: 0.9485 MB / 1.241 GB, free: 93.04 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000607/0.2595, allocations: 454.4 kB / 1.242 GB, free: 92.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.199e-05/0.2595, allocations: 12.64 kB / 1.242 GB, free: 92.59 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006778/0.2602, allocations: 431.2 kB / 1.242 GB, free: 92.15 MB / 0.823 GB Notification: Performance of pre-optimization done (n=84): time 2.274e-06/0.2602, allocations: 0 / 1.242 GB, free: 92.15 MB / 0.823 GB Notification: Performance of matching and sorting (n=84): time 0.001654/0.2619, allocations: 1.022 MB / 1.243 GB, free: 91.12 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.2619, allocations: 218.6 kB / 1.243 GB, free: 90.86 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007269/0.2627, allocations: 0.8643 MB / 1.244 GB, free: 89.97 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.863e-05/0.2627, allocations: 49.7 kB / 1.244 GB, free: 89.92 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.263, allocations: 0.5542 MB / 1.245 GB, free: 89.36 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.2631, allocations: 279.9 kB / 1.245 GB, free: 89.08 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.2633, allocations: 182.5 kB / 1.245 GB, free: 88.89 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.542e-05/0.2634, allocations: 345.9 kB / 1.246 GB, free: 88.55 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005822/0.264, allocations: 348.6 kB / 1.246 GB, free: 88.21 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006575/0.2646, allocations: 0.5756 MB / 1.246 GB, free: 87.54 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.2658, allocations: 0.84 MB / 1.247 GB, free: 86.64 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2658, allocations: 0 / 1.247 GB, free: 86.64 MB / 0.823 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001522/0.2673, allocations: 1.064 MB / 1.248 GB, free: 85.56 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/0.2673, allocations: 37.7 kB / 1.248 GB, free: 85.52 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.2674, allocations: 4 kB / 1.248 GB, free: 85.51 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.2674, allocations: 8 kB / 1.248 GB, free: 85.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006401/0.268, allocations: 203.7 kB / 1.249 GB, free: 85.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.268, allocations: 11.94 kB / 1.249 GB, free: 85.29 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006075/0.2687, allocations: 170.8 kB / 1.249 GB, free: 85.12 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.435e-05/0.2687, allocations: 43.98 kB / 1.249 GB, free: 85.08 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005257/0.2692, allocations: 458 kB / 1.249 GB, free: 84.63 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004297/0.2697, allocations: 0.4975 MB / 1.25 GB, free: 84.04 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006847/0.2704, allocations: 0.7152 MB / 1.25 GB, free: 83.26 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.645e-06/0.2704, allocations: 0 / 1.25 GB, free: 83.26 MB / 0.823 GB Notification: Performance of matching and sorting (n=117) (initialization_lambda0): time 0.000999/0.2714, allocations: 0.9156 MB / 1.251 GB, free: 82.33 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.2714, allocations: 42.78 kB / 1.251 GB, free: 82.29 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.2714, allocations: 4 kB / 1.251 GB, free: 82.28 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.943e-06/0.2714, allocations: 12 kB / 1.251 GB, free: 82.27 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/0.272, allocations: 167.8 kB / 1.252 GB, free: 82.11 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.272, allocations: 11.94 kB / 1.252 GB, free: 82.09 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000542/0.2725, allocations: 143.6 kB / 1.252 GB, free: 81.95 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/0.2726, allocations: 39.98 kB / 1.252 GB, free: 81.91 MB / 0.823 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.0001422/0.2727, allocations: 239.2 kB / 1.252 GB, free: 81.68 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.598e-05/0.2728, allocations: 106.7 kB / 1.252 GB, free: 81.57 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.273, allocations: 114.9 kB / 1.252 GB, free: 81.46 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.273, allocations: 8 kB / 1.252 GB, free: 81.45 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.273, allocations: 4 kB / 1.252 GB, free: 81.45 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.273, allocations: 7.984 kB / 1.252 GB, free: 81.44 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007255/0.2737, allocations: 0.9902 MB / 1.253 GB, free: 80.39 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2738, allocations: 0 / 1.253 GB, free: 80.39 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000565/0.2743, allocations: 151.8 kB / 1.253 GB, free: 80.25 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2743, allocations: 4 kB / 1.253 GB, free: 80.24 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.823e-05/0.2744, allocations: 23.98 kB / 1.253 GB, free: 80.22 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.2744, allocations: 4 kB / 1.253 GB, free: 80.21 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2744, allocations: 0 / 1.253 GB, free: 80.21 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007798/0.2822, allocations: 6.611 MB / 1.26 GB, free: 73.38 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.2823, allocations: 191.6 kB / 1.26 GB, free: 73.18 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.974e-05/0.2824, allocations: 24 kB / 1.26 GB, free: 73.15 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003463/0.2828, allocations: 55.94 kB / 1.26 GB, free: 73.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.73e-05/0.2829, allocations: 40.94 kB / 1.26 GB, free: 73.06 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/0.2829, allocations: 20 kB / 1.26 GB, free: 73.04 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0005119/0.2834, allocations: 0.5945 MB / 1.261 GB, free: 72.43 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2834, allocations: 0 / 1.261 GB, free: 72.43 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001006/0.2844, allocations: 0.5254 MB / 1.261 GB, free: 71.91 MB / 0.823 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.0001692/0.2846, allocations: 135 kB / 1.261 GB, free: 71.76 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001775/0.2864, allocations: 1.354 MB / 1.263 GB, free: 70.38 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2864, allocations: 0 / 1.263 GB, free: 70.38 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000523/0.2869, allocations: 373.7 kB / 1.263 GB, free: 70.02 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008817/0.2878, allocations: 245.8 kB / 1.263 GB, free: 69.79 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.2903, allocations: 2.805 MB / 1.266 GB, free: 66.94 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.2906, allocations: 1.093 MB / 1.267 GB, free: 65.82 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0004338/0.2911, allocations: 147.8 kB / 1.267 GB, free: 65.67 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.2913, allocations: 79.42 kB / 1.267 GB, free: 65.59 MB / 0.823 GB Notification: Performance of SimCode: time 2.11e-07/0.2913, allocations: 0 / 1.267 GB, free: 65.59 MB / 0.823 GB Notification: Performance of Templates: time 0.01578/0.307, allocations: 13.05 MB / 1.28 GB, free: 52.67 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPID.pipe 2>&1)