Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable.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.Fluid.Boilers.Examples.BoilerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.sta_a.T|boi1.sta_b.T|boi2.sta_b.T|boi1.eta|boi2.eta|y.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable") translateModel(Buildings.Fluid.Boilers.Examples.BoilerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.sta_a.T|boi1.sta_b.T|boi2.sta_b.T|boi1.eta|boi2.eta|y.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Boilers.Examples.BoilerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.231/2.231, allocations: 390.5 MB / 398 MB, free: 11 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.001214/0.001214, allocations: 183.8 kB / 491.2 MB, free: 1.621 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.6/1.6, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.001047/0.001047, allocations: 91.77 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.846e-05/1.848e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2749, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.133/1.408, allocations: 424 MB / 1.626 GB, free: 7.027 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/1.408, allocations: 91.69 kB / 1.626 GB, free: 6.98 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 1.63/3.038, allocations: 480.1 MB / 2.095 GB, free: 105.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.074e-06/3.038, allocations: 0 / 2.095 GB, free: 105.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003712/3.039, allocations: 44 kB / 2.095 GB, free: 105.5 MB / 1.151 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.005408/3.044, allocations: 2.058 MB / 2.097 GB, free: 103.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/3.044, allocations: 8.031 kB / 2.097 GB, free: 103.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/3.045, allocations: 250.1 kB / 2.098 GB, free: 103.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004471/3.05, allocations: 2.059 MB / 2.1 GB, free: 101 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/3.05, allocations: 32 kB / 2.1 GB, free: 101 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/3.05, allocations: 63.94 kB / 2.1 GB, free: 100.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001073/3.051, allocations: 0.6483 MB / 2.1 GB, free: 100.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/3.052, allocations: 0.8708 MB / 2.101 GB, free: 99.36 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/3.053, allocations: 8 kB / 2.101 GB, free: 99.36 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.236e-05/3.053, allocations: 0 / 2.101 GB, free: 99.36 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.004e-05/3.053, allocations: 41.98 kB / 2.101 GB, free: 99.32 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.005404/3.058, allocations: 4.741 MB / 2.106 GB, free: 94.36 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008434/3.059, allocations: 0.5458 MB / 2.106 GB, free: 93.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003171/3.059, allocations: 303.5 kB / 2.107 GB, free: 93.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003532/3.06, allocations: 0.4991 MB / 2.107 GB, free: 92.89 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004507/3.06, allocations: 405.3 kB / 2.108 GB, free: 92.48 MB / 1.151 GB Notification: Performance of pre-optimization done (n=62): time 2.344e-06/3.06, allocations: 4 kB / 2.108 GB, free: 92.47 MB / 1.151 GB Notification: Performance of matching and sorting (n=64): time 0.003967/3.064, allocations: 2.038 MB / 2.11 GB, free: 90.37 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/3.064, allocations: 115.2 kB / 2.11 GB, free: 90.23 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002598/3.067, allocations: 2.258 MB / 2.112 GB, free: 87.94 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.359e-05/3.067, allocations: 29.7 kB / 2.112 GB, free: 87.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006001/3.067, allocations: 0.9218 MB / 2.113 GB, free: 86.97 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/3.068, allocations: 205 kB / 2.113 GB, free: 86.77 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/3.068, allocations: 4 kB / 2.113 GB, free: 86.76 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.417e-05/3.068, allocations: 337.8 kB / 2.113 GB, free: 86.43 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/3.068, allocations: 249.4 kB / 2.114 GB, free: 86.18 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003798/3.068, allocations: 463.5 kB / 2.114 GB, free: 85.64 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000604/3.069, allocations: 336.1 kB / 2.114 GB, free: 85.32 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/3.069, allocations: 4 kB / 2.114 GB, free: 85.32 MB / 1.151 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001529/3.07, allocations: 1.029 MB / 2.115 GB, free: 84.27 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003403/3.071, allocations: 1.64 MB / 2.117 GB, free: 82.45 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/3.071, allocations: 4 kB / 2.117 GB, free: 82.45 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004767/3.071, allocations: 133.6 kB / 2.117 GB, free: 82.31 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004043/3.072, allocations: 123.8 kB / 2.117 GB, free: 82.19 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/3.073, allocations: 2.163 MB / 2.119 GB, free: 79.89 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/3.074, allocations: 83.78 kB / 2.119 GB, free: 79.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.82e-05/3.074, allocations: 39.98 kB / 2.119 GB, free: 79.77 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/3.074, allocations: 8 kB / 2.119 GB, free: 79.76 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00133/3.076, allocations: 0.8583 MB / 2.12 GB, free: 78.89 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/3.076, allocations: 8.031 kB / 2.12 GB, free: 78.89 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002231/3.076, allocations: 101.7 kB / 2.12 GB, free: 78.78 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/3.076, allocations: 119.8 kB / 2.12 GB, free: 78.66 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/3.077, allocations: 2.183 MB / 2.123 GB, free: 76.34 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008833/3.078, allocations: 67.84 kB / 2.123 GB, free: 76.27 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.305e-05/3.078, allocations: 39.98 kB / 2.123 GB, free: 76.23 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,y.a,y.b,y.last,$PRE.y.nextEvent,y.nextEvent,y.nextEventScaled,TIn.a,TIn.b,TIn.last,$PRE.TIn.nextEvent,TIn.nextEvent,TIn.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002363/3.079, allocations: 197.5 kB / 2.123 GB, free: 76.02 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/3.079, allocations: 193.6 kB / 2.123 GB, free: 75.83 MB / 1.151 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 70 equation(s) and 68 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Sources.mo:1452:5-1452:32:writable] Warning: Equation 37 (size: 1) TIn.timeScaled = time is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: $whenCondition1, y.a, y.b, y.last, y.nextEvent, y.nextEventScaled, y.timeScaled Equations used to solve those variables: Equation 34 (size: 1): y.timeScaled = time Equation 36 (size: 6): algorithm y.nextEvent := pre(y.nextEvent); y.last := pre(y.last); y.nextEventScaled := pre(y.nextEventScaled); y.b := pre(y.b); y.a := pre(y.a); $whenCondition1 := pre($whenCondition1); assert(not (y.table[1,1] > 0.0 or y.table[1,1] < 0.0), "The first point in time has to be set to 0, but is table[1,1] = " + String(y.table[1,1], 6, 0, true)); $whenCondition1 := time >= pre(y.nextEvent); when {$whenCondition1, false} then (y.a, y.b, y.nextEventScaled, y.last) := Modelica.Blocks.Sources.TimeTable$y.getInterpolationCoefficients({{y.table[1,1], y.table[1,2]}, {y.table[2,1], y.table[2,2]}, {y.table[3,1], y.table[3,2]}, {y.table[4,1], y.table[4,2]}, {y.table[5,1], y.table[5,2]}, {y.table[6,1], y.table[6,2]}}, y.offset, y.startTime, y.timeScaled, y.last, 1e-13, y.shiftTime); y.nextEvent := y.nextEventScaled; end when; [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Sources.mo:1453:5-1453:25:writable] Warning: Equation 38 (size: 1) TIn.y = TIn.a * TIn.timeScaled + TIn.b is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: $whenCondition1, y.a, y.b, y.last, y.nextEvent, y.nextEventScaled, y.timeScaled Equations used to solve those variables: Equation 34 (size: 1): y.timeScaled = time Equation 36 (size: 6): algorithm y.nextEvent := pre(y.nextEvent); y.last := pre(y.last); y.nextEventScaled := pre(y.nextEventScaled); y.b := pre(y.b); y.a := pre(y.a); $whenCondition1 := pre($whenCondition1); assert(not (y.table[1,1] > 0.0 or y.table[1,1] < 0.0), "The first point in time has to be set to 0, but is table[1,1] = " + String(y.table[1,1], 6, 0, true)); $whenCondition1 := time >= pre(y.nextEvent); when {$whenCondition1, false} then (y.a, y.b, y.nextEventScaled, y.last) := Modelica.Blocks.Sources.TimeTable$y.getInterpolationCoefficients({{y.table[1,1], y.table[1,2]}, {y.table[2,1], y.table[2,2]}, {y.table[3,1], y.table[3,2]}, {y.table[4,1], y.table[4,2]}, {y.table[5,1], y.table[5,2]}, {y.table[6,1], y.table[6,2]}}, y.offset, y.startTime, y.timeScaled, y.last, 1e-13, y.shiftTime); y.nextEvent := y.nextEventScaled; end when; Warning: Equation 39 (size: 6) algorithm TIn.nextEvent := pre(TIn.nextEvent); TIn.last := pre(TIn.last); TIn.nextEventScaled := pre(TIn.nextEventScaled); TIn.b := pre(TIn.b); TIn.a := pre(TIn.a); $whenCondition2 := pre($whenCondition2); assert(not (TIn.table[1,1] > 0.0 or TIn.table[1,1] < 0.0), "The first point in time has to be set to 0, but is table[1,1] = " + String(TIn.table[1,1], 6, 0, true)); $whenCondition2 := time >= pre(TIn.nextEvent); when {$whenCondition2, false} then (TIn.a, TIn.b, TIn.nextEventScaled, TIn.last) := Modelica.Blocks.Sources.TimeTable$TIn.getInterpolationCoefficients({{TIn.table[1,1], TIn.table[1,2]}, {TIn.table[2,1], TIn.table[2,2]}, {TIn.table[3,1], TIn.table[3,2]}, {TIn.table[4,1], TIn.table[4,2]}, {TIn.table[5,1], TIn.table[5,2]}, {TIn.table[6,1], TIn.table[6,2]}}, TIn.offset, TIn.startTime, TIn.timeScaled, TIn.last, 1e-13, TIn.shiftTime); TIn.nextEvent := TIn.nextEventScaled; end when; is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: $whenCondition1, y.a, y.b, y.last, y.nextEvent, y.nextEventScaled, y.timeScaled Equations used to solve those variables: Equation 34 (size: 1): y.timeScaled = time Equation 36 (size: 6): algorithm y.nextEvent := pre(y.nextEvent); y.last := pre(y.last); y.nextEventScaled := pre(y.nextEventScaled); y.b := pre(y.b); y.a := pre(y.a); $whenCondition1 := pre($whenCondition1); assert(not (y.table[1,1] > 0.0 or y.table[1,1] < 0.0), "The first point in time has to be set to 0, but is table[1,1] = " + String(y.table[1,1], 6, 0, true)); $whenCondition1 := time >= pre(y.nextEvent); when {$whenCondition1, false} then (y.a, y.b, y.nextEventScaled, y.last) := Modelica.Blocks.Sources.TimeTable$y.getInterpolationCoefficients({{y.table[1,1], y.table[1,2]}, {y.table[2,1], y.table[2,2]}, {y.table[3,1], y.table[3,2]}, {y.table[4,1], y.table[4,2]}, {y.table[5,1], y.table[5,2]}, {y.table[6,1], y.table[6,2]}}, y.offset, y.startTime, y.timeScaled, y.last, 1e-13, y.shiftTime); y.nextEvent := y.nextEventScaled; end when; [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Thermal/HeatTransfer/Interfaces/HeatPort_b.mo:2:1-37:15:writable] Warning: Equation 40 (size: 1) TAmb.port.Q_flow + boi1.UAOve.Q_flow + boi2.UAOve.Q_flow = 0.0 is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: $whenCondition1, y.a, y.b, y.last, y.nextEvent, y.nextEventScaled, y.timeScaled Equations used to solve those variables: Equation 34 (size: 1): y.timeScaled = time Equation 36 (size: 6): algorithm y.nextEvent := pre(y.nextEvent); y.last := pre(y.last); y.nextEventScaled := pre(y.nextEventScaled); y.b := pre(y.b); y.a := pre(y.a); $whenCondition1 := pre($whenCondition1); assert(not (y.table[1,1] > 0.0 or y.table[1,1] < 0.0), "The first point in time has to be set to 0, but is table[1,1] = " + String(y.table[1,1], 6, 0, true)); $whenCondition1 := time >= pre(y.nextEvent); when {$whenCondition1, false} then (y.a, y.b, y.nextEventScaled, y.last) := Modelica.Blocks.Sources.TimeTable$y.getInterpolationCoefficients({{y.table[1,1], y.table[1,2]}, {y.table[2,1], y.table[2,2]}, {y.table[3,1], y.table[3,2]}, {y.table[4,1], y.table[4,2]}, {y.table[5,1], y.table[5,2]}, {y.table[6,1], y.table[6,2]}}, y.offset, y.startTime, y.timeScaled, y.last, 1e-13, y.shiftTime); y.nextEvent := y.nextEventScaled; end when; [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Thermal/HeatTransfer/Interfaces/HeatPort_b.mo:2:1-37:15:writable] Warning: Equation 41 (size: 1) boi1.heaCapDry.port.Q_flow + boi1.vol.heatPort.Q_flow + (-boi1.UAOve.Q_flow) - boi1.QWat_flow = 0.0 is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: $whenCondition1, y.a, y.b, y.last, y.nextEvent, y.nextEventScaled, y.timeScaled Equations used to solve those variables: Equation 34 (size: 1): y.timeScaled = time Equation 36 (size: 6): algorithm y.nextEvent := pre(y.nextEvent); y.last := pre(y.last); y.nextEventScaled := pre(y.nextEventScaled); y.b := pre(y.b); y.a := pre(y.a); $whenCondition1 := pre($whenCondition1); assert(not (y.table[1,1] > 0.0 or y.table[1,1] < 0.0), "The first point in time has to be set to 0, but is table[1,1] = " + String(y.table[1,1], 6, 0, true)); $whenCondition1 := time >= pre(y.nextEvent); when {$whenCondition1, false} then (y.a, y.b, y.nextEventScaled, y.last) := Modelica.Blocks.Sources.TimeTable$y.getInterpolationCoefficients({{y.table[1,1], y.table[1,2]}, {y.table[2,1], y.table[2,2]}, {y.table[3,1], y.table[3,2]}, {y.table[4,1], y.table[4,2]}, {y.table[5,1], y.table[5,2]}, {y.table[6,1], y.table[6,2]}}, y.offset, y.startTime, y.timeScaled, y.last, 1e-13, y.shiftTime); y.nextEvent := y.nextEventScaled; end when; Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/3.081, allocations: 1.089 MB / 2.124 GB, free: 74.73 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.