Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerTable.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.Fluid.Boilers.Examples.BoilerTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerTable") translateModel(Buildings.Fluid.Boilers.Examples.BoilerTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 97.56 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.01122/0.01122, allocations: 168.5 kB / 16.26 MB, free: 6.656 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.549/1.549, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.915/1.915, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005712/0.0005712, allocations: 15.5 kB / 0.6743 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3279, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerTable): time 0.07423/0.4021, allocations: 56.4 MB / 0.843 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02316/0.4254, allocations: 11.68 MB / 0.8544 GB, free: 7.277 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003554/0.429, allocations: 47.69 kB / 0.8544 GB, free: 7.23 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004656/0.4337, allocations: 1.117 MB / 0.8555 GB, free: 6.109 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008917/0.4426, allocations: 1.943 MB / 0.8574 GB, free: 4.16 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004377/0.447, allocations: 1.414 MB / 0.8588 GB, free: 2.766 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006518/0.4535, allocations: 4.895 MB / 0.8636 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001833/0.4554, allocations: 1.08 MB / 0.8646 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002613/0.458, allocations: 1.19 MB / 0.8658 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0016/0.4596, allocations: 1.139 MB / 0.8669 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.4598, allocations: 64 kB / 0.8669 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003122/0.4629, allocations: 1.493 MB / 0.8684 GB, free: 8.848 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004771/0.4634, allocations: 0.4902 MB / 0.8689 GB, free: 8.355 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.4645, allocations: 0.9764 MB / 0.8698 GB, free: 7.367 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004556/0.4691, allocations: 3.286 MB / 0.873 GB, free: 4.07 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4691, allocations: 0 / 0.873 GB, free: 4.07 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.385e-06/0.4691, allocations: 0 / 0.873 GB, free: 4.07 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.357e-05/0.4692, allocations: 0 / 0.873 GB, free: 4.07 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.003877/0.473, allocations: 2.31 MB / 0.8753 GB, free: 1.672 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.4731, allocations: 8.031 kB / 0.8753 GB, free: 1.664 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00046/0.4736, allocations: 254 kB / 0.8755 GB, free: 1.414 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002655/0.4762, allocations: 1.898 MB / 0.8774 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-05/0.4763, allocations: 70 kB / 0.8775 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.4765, allocations: 100 kB / 0.8776 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001605/0.4781, allocations: 1.035 MB / 0.8786 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.4781, allocations: 0 / 0.8786 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.179e-05/0.4782, allocations: 40 kB / 0.8786 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.442e-05/0.4782, allocations: 28 kB / 0.8786 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.4794, allocations: 0.7339 MB / 0.8794 GB, free: 13.41 MB / 0.7012 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.005678/0.4851, allocations: 4.78 MB / 0.884 GB, free: 8.402 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007115/0.4858, allocations: 465 kB / 0.8845 GB, free: 7.941 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004404/0.4863, allocations: 330.4 kB / 0.8848 GB, free: 7.613 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006518/0.487, allocations: 0.82 MB / 0.8856 GB, free: 6.609 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005955/0.4876, allocations: 409.8 kB / 0.886 GB, free: 6.184 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=65): time 2.685e-06/0.4876, allocations: 4 kB / 0.886 GB, free: 6.18 MB / 0.7012 GB Notification: Performance of matching and sorting (n=67): time 0.004686/0.4923, allocations: 2.564 MB / 0.8885 GB, free: 3.496 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.098e-05/0.4924, allocations: 119.4 kB / 0.8886 GB, free: 3.355 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003335/0.4957, allocations: 2.732 MB / 0.8913 GB, free: 0.5898 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.688e-05/0.4958, allocations: 41.7 kB / 0.8913 GB, free: 0.543 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007816/0.4966, allocations: 0.9071 MB / 0.8922 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/0.4968, allocations: 216.9 kB / 0.8924 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.4969, allocations: 69.67 kB / 0.8925 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.497, allocations: 338 kB / 0.8928 GB, free: 15 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004347/0.4975, allocations: 261.9 kB / 0.893 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006287/0.4981, allocations: 490.3 kB / 0.8935 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.4992, allocations: 0.8004 MB / 0.8943 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4992, allocations: 0.5469 kB / 0.8943 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00187/0.5011, allocations: 1.136 MB / 0.8954 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002311/0.5013, allocations: 288.5 kB / 0.8957 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.5013, allocations: 8 kB / 0.8957 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005327/0.5019, allocations: 113.6 kB / 0.8958 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000457/0.5023, allocations: 135.7 kB / 0.8959 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/0.5043, allocations: 2.191 MB / 0.8981 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.5055, allocations: 91.88 kB / 0.8981 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-05/0.5056, allocations: 35.98 kB / 0.8982 GB, free: 9.043 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.5056, allocations: 7.938 kB / 0.8982 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001518/0.5072, allocations: 0.9649 MB / 0.8991 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.5072, allocations: 4 kB / 0.8991 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003465/0.5075, allocations: 118.2 kB / 0.8992 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004148/0.508, allocations: 127.8 kB / 0.8994 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/0.5096, allocations: 2.188 MB / 0.9015 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.5108, allocations: 95.81 kB / 0.9016 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.307e-05/0.5109, allocations: 36 kB / 0.9016 GB, free: 5.328 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 14 (TIn.nextEventScaled,TIn.nextEvent,$PRE.TIn.nextEvent,TIn.last,TIn.b,TIn.a,y.nextEventScaled,y.nextEvent,$PRE.y.nextEvent,y.last,y.b,y.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.00113/0.512, allocations: 0.6821 MB / 0.9023 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/0.5123, allocations: 201.5 kB / 0.9025 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/0.5141, allocations: 1.171 MB / 0.9036 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.5141, allocations: 8 kB / 0.9036 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.5141, allocations: 0 / 0.9036 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001266/0.5154, allocations: 0.93 MB / 0.9045 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003494/0.5189, allocations: 2.575 MB / 0.9071 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.5189, allocations: 0 / 0.9071 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004067/0.5194, allocations: 87.89 kB / 0.9071 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003823/0.5198, allocations: 109.8 kB / 0.9072 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.635e-05/0.5198, allocations: 23.98 kB / 0.9073 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/0.5215, allocations: 2.195 MB / 0.9094 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5215, allocations: 0 / 0.9094 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002435/0.5239, allocations: 1.518 MB / 0.9109 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/0.5252, allocations: 438.3 kB / 0.9113 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002663/0.5255, allocations: 20 kB / 0.9113 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008946/0.5264, allocations: 79.77 kB / 0.9114 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.5265, allocations: 44.27 kB / 0.9115 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-05/0.5266, allocations: 39.97 kB / 0.9115 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002715/0.5293, allocations: 2.004 MB / 0.9134 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.31e-07/0.5293, allocations: 0 / 0.9134 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002246/0.5315, allocations: 0.7968 MB / 0.9142 GB, free: 7.965 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (boi1.heaCapDry.T) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,y.a,y.b,y.last,y.nextEvent,y.nextEventScaled,TIn.a,TIn.b,TIn.last,TIn.nextEvent,TIn.nextEventScaled) * Number of discrete states: 12 (TIn.nextEvent,TIn.last,TIn.nextEventScaled,TIn.b,TIn.a,$whenCondition2,y.nextEvent,y.last,y.nextEventScaled,y.b,y.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001631/0.5332, allocations: 0.7586 MB / 0.915 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002429/0.5356, allocations: 1.707 MB / 0.9166 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.5356, allocations: 448 / 0.9166 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007571/0.5364, allocations: 0.621 MB / 0.9172 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003979/0.5404, allocations: 0.7882 MB / 0.918 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4689/1.009, allocations: 4.077 MB / 0.922 GB, free: 129.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001872/1.011, allocations: 1.459 MB / 0.9234 GB, free: 129 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001674/1.013, allocations: 362.5 kB / 0.9238 GB, free: 128.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005094/1.013, allocations: 132 kB / 0.9239 GB, free: 128.9 MB / 0.7325 GB Notification: Performance of SimCode: time 1.994e-06/1.013, allocations: 1.188 kB / 0.9239 GB, free: 128.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.06992/1.083, allocations: 35.3 MB / 0.9584 GB, free: 116.8 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerTable.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerTable.sim & ./Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerTable.pipe 2>&1) Environment - environmentSimulation: