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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001245, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001846/0.001846, allocations: 193.3 kB / 16.25 MB, free: 6.629 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.667/1.667, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.553/1.553, allocations: 251.6 MB / 0.5089 GB, free: 3.23 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.001399/0.001399, allocations: 71.89 kB / 0.6217 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6515/0.6529, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.005697/0.6587, allocations: 3.731 MB / 0.7276 GB, free: 9.355 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003137/0.6619, allocations: 1.36 MB / 0.729 GB, free: 7.984 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006459/0.6625, allocations: 27.88 kB / 0.729 GB, free: 7.957 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003742/0.663, allocations: 91.11 kB / 0.7291 GB, free: 7.867 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005646/0.6636, allocations: 139 kB / 0.7292 GB, free: 7.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.6648, allocations: 0.5325 MB / 0.7297 GB, free: 7.207 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001328/0.6662, allocations: 0.9681 MB / 0.7307 GB, free: 6.234 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007323/0.6669, allocations: 355.5 kB / 0.731 GB, free: 5.875 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004968/0.6674, allocations: 378.2 kB / 0.7314 GB, free: 5.504 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003902/0.6678, allocations: 350.1 kB / 0.7317 GB, free: 5.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.6679, allocations: 76 kB / 0.7318 GB, free: 5.086 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.668, allocations: 80 kB / 0.7318 GB, free: 5.008 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001817/0.6682, allocations: 179.3 kB / 0.732 GB, free: 4.832 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003387/0.6686, allocations: 377.7 kB / 0.7324 GB, free: 4.461 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.6696, allocations: 0.8564 MB / 0.7332 GB, free: 3.602 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.6696, allocations: 0 / 0.7332 GB, free: 3.602 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.126e-06/0.6696, allocations: 4 kB / 0.7332 GB, free: 3.598 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.6696, allocations: 0 / 0.7332 GB, free: 3.598 MB / 0.545 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.002203/0.6719, allocations: 1.195 MB / 0.7344 GB, free: 2.348 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.6719, allocations: 8.031 kB / 0.7344 GB, free: 2.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.6721, allocations: 95.81 kB / 0.7345 GB, free: 2.246 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009567/0.673, allocations: 0.6025 MB / 0.7351 GB, free: 1.598 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.6732, allocations: 96.97 kB / 0.7352 GB, free: 1.492 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.04e-05/0.6733, allocations: 52.38 kB / 0.7352 GB, free: 1.441 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.6743, allocations: 0.6003 MB / 0.7358 GB, free: 0.793 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.6744, allocations: 0 / 0.7358 GB, free: 0.793 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.323e-05/0.6744, allocations: 24 kB / 0.7358 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.6744, allocations: 16 kB / 0.7358 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009093/0.6754, allocations: 423.6 kB / 0.7362 GB, free: 352 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002945/0.6783, allocations: 2.114 MB / 0.7383 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.6796, allocations: 0.5012 MB / 0.7388 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004342/0.6801, allocations: 212.8 kB / 0.739 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.669e-05/0.6801, allocations: 15.89 kB / 0.739 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006938/0.6808, allocations: 278.2 kB / 0.7393 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=45): time 3.817e-06/0.6808, allocations: 0 / 0.7393 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.001538/0.6824, allocations: 0.6176 MB / 0.7399 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.049e-05/0.6825, allocations: 88.86 kB / 0.74 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008339/0.6833, allocations: 0.6217 MB / 0.7406 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.756e-05/0.6834, allocations: 33.7 kB / 0.7406 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003865/0.6838, allocations: 364.8 kB / 0.741 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000164/0.684, allocations: 146.9 kB / 0.7411 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.6841, allocations: 102.2 kB / 0.7412 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002042/0.6843, allocations: 326 kB / 0.7415 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004875/0.6848, allocations: 179 kB / 0.7417 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005312/0.6854, allocations: 276.2 kB / 0.7419 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009283/0.6863, allocations: 485.9 kB / 0.7424 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.6863, allocations: 3.938 kB / 0.7424 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001218/0.6876, allocations: 0.5943 MB / 0.743 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.591e-05/0.6876, allocations: 37.69 kB / 0.743 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.6877, allocations: 4 kB / 0.743 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.6877, allocations: 4 kB / 0.743 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004622/0.6882, allocations: 108.1 kB / 0.7431 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-05/0.6882, allocations: 15.92 kB / 0.7431 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003892/0.6886, allocations: 67.44 kB / 0.7432 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.835e-05/0.6886, allocations: 16 kB / 0.7432 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005682/0.6892, allocations: 313.2 kB / 0.7435 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004787/0.6897, allocations: 264.3 kB / 0.7438 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008501/0.6906, allocations: 454 kB / 0.7442 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.073e-06/0.6906, allocations: 0 / 0.7442 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001176/0.6918, allocations: 0.5826 MB / 0.7448 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.647e-05/0.6918, allocations: 31.42 kB / 0.7448 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.6918, allocations: 8 kB / 0.7448 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.414e-06/0.6918, allocations: 4 kB / 0.7448 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004389/0.6923, allocations: 107.8 kB / 0.7449 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.6923, allocations: 4 kB / 0.7449 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003611/0.6927, allocations: 47.83 kB / 0.745 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.6927, allocations: 27.98 kB / 0.745 GB, free: 7.012 MB / 0.5606 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00026/0.693, allocations: 212.1 kB / 0.7452 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.6931, allocations: 75.06 kB / 0.7453 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001853/0.6933, allocations: 79.34 kB / 0.7454 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/0.6933, allocations: 4 kB / 0.7454 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.6933, allocations: 0 / 0.7454 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.6933, allocations: 3.984 kB / 0.7454 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007911/0.6941, allocations: 0.6295 MB / 0.746 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.6942, allocations: 7.984 kB / 0.746 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004302/0.6946, allocations: 83.89 kB / 0.7461 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.6946, allocations: 0 / 0.7461 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/0.6947, allocations: 8 kB / 0.7461 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.6947, allocations: 4 kB / 0.7461 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.6947, allocations: 0 / 0.7461 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.6961, allocations: 0.7363 MB / 0.7468 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002567/0.6964, allocations: 184.2 kB / 0.747 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.884e-05/0.6965, allocations: 15.98 kB / 0.747 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003714/0.6968, allocations: 35.97 kB / 0.747 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.697, allocations: 27.95 kB / 0.747 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.474e-05/0.697, allocations: 19.98 kB / 0.7471 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005144/0.6975, allocations: 435 kB / 0.7475 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6975, allocations: 0 / 0.7475 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006336/0.6982, allocations: 219.2 kB / 0.7477 GB, free: 4.168 MB / 0.5606 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 (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.0001831/0.6984, allocations: 115.2 kB / 0.7478 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001698/0.7001, allocations: 0.801 MB / 0.7486 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.7001, allocations: 0 / 0.7486 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004502/0.7005, allocations: 215.8 kB / 0.7488 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009341/0.7015, allocations: 208.5 kB / 0.749 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.7038, allocations: 1.462 MB / 0.7504 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005816/0.7044, allocations: 0.918 MB / 0.7513 GB, free: 384 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004386/0.7049, allocations: 81.22 kB / 0.7514 GB, free: 304 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.705, allocations: 55.36 kB / 0.7514 GB, free: 248 kB / 0.5606 GB Notification: Performance of SimCode: time 8.91e-07/0.705, allocations: 4 kB / 0.7514 GB, free: 244 kB / 0.5606 GB Notification: Performance of Templates: time 0.01553/0.7206, allocations: 7.517 MB / 0.7588 GB, free: 8.809 MB / 0.5762 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)