Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 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.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, 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.00128/0.00128, allocations: 193.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.808/2.808, allocations: 472.6 MB / 0.7451 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 58.73 kB / 0.912 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3745, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop): time 0.9193/1.294, allocations: 281.5 MB / 1.343 GB, free: 44.39 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.07146/1.365, allocations: 52.62 MB / 1.394 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01508/1.38, allocations: 321.2 kB / 1.395 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01725/1.398, allocations: 8.51 MB / 1.403 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01957/1.417, allocations: 6.916 MB / 1.41 GB, free: 13.89 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.01312/1.43, allocations: 4.947 MB / 1.415 GB, free: 10.2 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.02942/1.46, allocations: 18.05 MB / 1.432 GB, free: 10.78 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01052/1.47, allocations: 4.826 MB / 1.437 GB, free: 5.867 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01441/1.485, allocations: 5.514 MB / 1.442 GB, free: 356 kB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008378/1.493, allocations: 3.963 MB / 1.446 GB, free: 12.36 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002788/1.496, allocations: 472 kB / 1.447 GB, free: 11.9 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01047/1.507, allocations: 3.104 MB / 1.45 GB, free: 8.793 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003723/1.51, allocations: 1.612 MB / 1.451 GB, free: 7.176 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.009965/1.52, allocations: 3.183 MB / 1.454 GB, free: 3.977 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.02119/1.542, allocations: 8.797 MB / 1.463 GB, free: 11.15 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/1.542, allocations: 0 / 1.463 GB, free: 11.15 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.745e-06/1.542, allocations: 0 / 1.463 GB, free: 11.15 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0003691/1.542, allocations: 0 / 1.463 GB, free: 11.15 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 684 * Number of variables: 684 Notification: Performance of Generate backend data structure: time 0.01849/1.561, allocations: 6.796 MB / 1.47 GB, free: 4.25 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/1.561, allocations: 15.92 kB / 1.47 GB, free: 4.234 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006538/1.567, allocations: 1.191 MB / 1.471 GB, free: 3.035 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01373/1.581, allocations: 5.954 MB / 1.477 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000956/1.582, allocations: 341.8 kB / 1.477 GB, free: 12.68 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001263/1.583, allocations: 291.9 kB / 1.477 GB, free: 12.39 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01011/1.593, allocations: 3.21 MB / 1.48 GB, free: 9.051 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001136/1.594, allocations: 7.938 kB / 1.48 GB, free: 9.043 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007604/1.594, allocations: 112 kB / 1.48 GB, free: 8.934 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001372/1.594, allocations: 105.1 kB / 1.481 GB, free: 8.828 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008305/1.603, allocations: 2.706 MB / 1.483 GB, free: 6.109 MB / 1.076 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03404/1.637, allocations: 19.03 MB / 1.502 GB, free: 1.41 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004552/1.641, allocations: 1.729 MB / 1.503 GB, free: 15.66 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002498/1.644, allocations: 1.047 MB / 1.505 GB, free: 14.61 MB / 1.107 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.01061/1.655, allocations: 4.059 MB / 1.508 GB, free: 10.38 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/1.655, allocations: 47.88 kB / 1.509 GB, free: 10.32 MB / 1.107 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00294/1.658, allocations: 401.9 kB / 1.509 GB, free: 9.926 MB / 1.107 GB Notification: Performance of pre-optimization done (n=140): time 9.889e-06/1.658, allocations: 0 / 1.509 GB, free: 9.926 MB / 1.107 GB Notification: Performance of matching and sorting (n=145): time 0.03587/1.694, allocations: 8.733 MB / 1.517 GB, free: 1.07 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/1.694, allocations: 72.7 kB / 1.518 GB, free: 0.9844 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01015/1.704, allocations: 5.11 MB / 1.522 GB, free: 11.87 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0008026/1.705, allocations: 65.7 kB / 1.523 GB, free: 11.8 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.003017/1.708, allocations: 2.489 MB / 1.525 GB, free: 9.293 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001107/1.709, allocations: 0.5162 MB / 1.525 GB, free: 8.77 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001388/1.71, allocations: 0.6854 MB / 1.526 GB, free: 8.074 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.71, allocations: 305.1 kB / 1.526 GB, free: 7.773 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002926/1.713, allocations: 1.299 MB / 1.528 GB, free: 6.465 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003388/1.717, allocations: 2.208 MB / 1.53 GB, free: 3.879 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006296/1.723, allocations: 3.219 MB / 1.533 GB, free: 380 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.38e-05/1.723, allocations: 4 kB / 1.533 GB, free: 376 kB / 1.123 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01684/1.74, allocations: 5.128 MB / 1.538 GB, free: 11.21 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.557e-05/1.74, allocations: 19.98 kB / 1.538 GB, free: 11.2 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.221e-05/1.74, allocations: 24 kB / 1.538 GB, free: 11.17 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007234/1.747, allocations: 1.245 MB / 1.539 GB, free: 9.918 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003068/1.75, allocations: 0.6162 MB / 1.54 GB, free: 9.301 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/1.763, allocations: 7.104 MB / 1.547 GB, free: 1.883 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004906/1.768, allocations: 240.5 kB / 1.547 GB, free: 1.648 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004559/1.768, allocations: 143.9 kB / 1.547 GB, free: 1.508 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004873/1.773, allocations: 2.134 MB / 1.549 GB, free: 15.37 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003715/1.777, allocations: 2.184 MB / 1.551 GB, free: 12.81 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005573/1.782, allocations: 3.161 MB / 1.555 GB, free: 9.363 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.652e-05/1.782, allocations: 8 kB / 1.555 GB, free: 9.355 MB / 1.154 GB Notification: Performance of matching and sorting (n=402) (initialization_lambda0): time 0.01626/1.799, allocations: 5.026 MB / 1.559 GB, free: 4.305 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/1.799, allocations: 16 kB / 1.559 GB, free: 4.289 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.2e-05/1.799, allocations: 20 kB / 1.559 GB, free: 4.27 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007112/1.806, allocations: 1.192 MB / 1.561 GB, free: 3.07 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002891/1.809, allocations: 0.6123 MB / 1.561 GB, free: 2.457 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01424/1.823, allocations: 8.62 MB / 1.57 GB, free: 9.391 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004913/1.828, allocations: 253.6 kB / 1.57 GB, free: 9.145 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005372/1.828, allocations: 147.9 kB / 1.57 GB, free: 9 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 94 * Number of states: 0 () * Number of discrete variables: 3 (onOffController.y,$PRE.onOffController.y,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (303): * Single equations (assignments): 296 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (7,13,79.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0007755/1.829, allocations: 337.7 kB / 1.57 GB, free: 8.664 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001334/1.831, allocations: 0.5052 MB / 1.571 GB, free: 8.152 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009493/1.84, allocations: 3.258 MB / 1.574 GB, free: 4.871 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.22e-05/1.84, allocations: 16 kB / 1.574 GB, free: 4.855 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/1.84, allocations: 7.938 kB / 1.574 GB, free: 4.848 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007052/1.847, allocations: 2.466 MB / 1.576 GB, free: 2.344 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01537/1.863, allocations: 6.478 MB / 1.583 GB, free: 11.78 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/1.863, allocations: 0 / 1.583 GB, free: 11.78 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001781/1.864, allocations: 343.6 kB / 1.583 GB, free: 11.44 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003197/1.868, allocations: 0.6591 MB / 1.584 GB, free: 10.78 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002114/1.868, allocations: 51.95 kB / 1.584 GB, free: 10.73 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007574/1.876, allocations: 5.488 MB / 1.589 GB, free: 4.93 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.876, allocations: 0 / 1.589 GB, free: 4.93 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01147/1.887, allocations: 4.157 MB / 1.593 GB, free: 0.7422 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002374/1.889, allocations: 0.7949 MB / 1.594 GB, free: 15.92 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007999/1.89, allocations: 43.92 kB / 1.594 GB, free: 15.88 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002692/1.893, allocations: 175.8 kB / 1.594 GB, free: 15.71 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002955/1.893, allocations: 121.8 kB / 1.594 GB, free: 15.59 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/1.893, allocations: 72.14 kB / 1.594 GB, free: 15.52 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.005781/1.899, allocations: 3.373 MB / 1.598 GB, free: 12.15 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.91e-07/1.899, allocations: 7.875 kB / 1.598 GB, free: 12.14 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.009489/1.909, allocations: 2.187 MB / 1.6 GB, free: 9.953 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (boi.heaCapDry.T,val.filter.s[1],val.filter.s[2],pumLoa.filter.s[1],pumLoa.filter.s[2],pumBoi.filter.s[1],pumBoi.filter.s[2],conPID.I.y,exp.m,exp.H,vol.dynBal.U) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (9,11,69.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00261/1.911, allocations: 0.9299 MB / 1.601 GB, free: 9.02 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.016/1.927, allocations: 6.038 MB / 1.607 GB, free: 2.926 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 8.126e-06/1.927, allocations: 0 / 1.607 GB, free: 2.926 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.003714/1.931, allocations: 1.535 MB / 1.608 GB, free: 1.367 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0129/1.944, allocations: 2.591 MB / 1.611 GB, free: 14.87 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01781/1.962, allocations: 8.714 MB / 1.619 GB, free: 6.133 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003156/1.965, allocations: 2.833 MB / 1.622 GB, free: 3.27 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.006383/1.972, allocations: 1.126 MB / 1.623 GB, free: 2.137 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001378/1.973, allocations: 395.2 kB / 1.623 GB, free: 1.75 MB / 1.217 GB Notification: Performance of SimCode: time 1.022e-06/1.973, allocations: 0 / 1.623 GB, free: 1.75 MB / 1.217 GB Notification: Performance of Templates: time 0.1773/2.15, allocations: 103.2 MB / 1.724 GB, free: 11.67 MB / 1.326 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.sim & ./Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomialClosedLoop.pipe 2>&1)