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: "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerTable,fileNamePrefix="Buildings_latest_Buildings_Fluid_Boilers_Examples_BoilerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerTable,fileNamePrefix="Buildings_latest_Buildings_Fluid_Boilers_Examples_BoilerTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.257/2.257, allocations: 390.5 MB / 398 MB, free: 10.96 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.001048/0.001048, allocations: 176.9 kB / 491.2 MB, free: 1.605 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.599/1.599, allocations: 221.5 MB / 0.7868 GB, free: 13.37 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.001035/0.001035, allocations: 99.84 kB / 0.9269 GB, free: 13.87 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.212e-05/2.213e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3296, allocations: 143 MB / 1.212 GB, free: 39.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.209/1.539, allocations: 424 MB / 1.626 GB, free: 6.688 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/1.539, allocations: 94.81 kB / 1.627 GB, free: 6.641 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 1.639/3.179, allocations: 480.1 MB / 2.095 GB, free: 105.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.873e-06/3.179, allocations: 4 kB / 2.095 GB, free: 105.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003253/3.179, allocations: 40 kB / 2.095 GB, free: 105.4 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.005391/3.184, allocations: 2.065 MB / 2.097 GB, free: 103.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/3.184, allocations: 8.031 kB / 2.097 GB, free: 103.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/3.186, allocations: 246.1 kB / 2.098 GB, free: 103 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004568/3.19, allocations: 2.071 MB / 2.1 GB, free: 100.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.116e-05/3.19, allocations: 32 kB / 2.1 GB, free: 100.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002573/3.191, allocations: 56 kB / 2.1 GB, free: 100.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00137/3.192, allocations: 0.6405 MB / 2.1 GB, free: 100.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/3.193, allocations: 0.8864 MB / 2.101 GB, free: 99.25 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/3.193, allocations: 0 / 2.101 GB, free: 99.25 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.681e-05/3.194, allocations: 4 kB / 2.101 GB, free: 99.25 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.98e-05/3.194, allocations: 38 kB / 2.101 GB, free: 99.21 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.01053/3.204, allocations: 4.745 MB / 2.106 GB, free: 94.26 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/3.205, allocations: 0.5431 MB / 2.107 GB, free: 93.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004582/3.206, allocations: 303.5 kB / 2.107 GB, free: 93.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005038/3.206, allocations: 0.503 MB / 2.107 GB, free: 92.78 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000635/3.207, allocations: 401.3 kB / 2.108 GB, free: 92.37 MB / 1.151 GB Notification: Performance of pre-optimization done (n=62): time 6.021e-06/3.207, allocations: 448 / 2.108 GB, free: 92.37 MB / 1.151 GB Notification: Performance of matching and sorting (n=64): time 0.006148/3.213, allocations: 2.038 MB / 2.11 GB, free: 90.27 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.767e-05/3.213, allocations: 119.2 kB / 2.11 GB, free: 90.12 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004839/3.218, allocations: 2.258 MB / 2.112 GB, free: 87.83 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000132/3.218, allocations: 29.7 kB / 2.112 GB, free: 87.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009153/3.219, allocations: 0.9179 MB / 2.113 GB, free: 86.87 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/3.22, allocations: 201.1 kB / 2.113 GB, free: 86.67 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/3.22, allocations: 4 kB / 2.113 GB, free: 86.66 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.05e-05/3.22, allocations: 333.9 kB / 2.113 GB, free: 86.33 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/3.22, allocations: 253.5 kB / 2.114 GB, free: 86.08 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004388/3.22, allocations: 459.4 kB / 2.114 GB, free: 85.55 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007835/3.221, allocations: 332.1 kB / 2.114 GB, free: 85.23 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/3.221, allocations: 4 kB / 2.114 GB, free: 85.23 MB / 1.151 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002417/3.224, allocations: 1.037 MB / 2.115 GB, free: 84.17 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003891/3.224, allocations: 1.64 MB / 2.117 GB, free: 82.36 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/3.224, allocations: 4 kB / 2.117 GB, free: 82.35 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00069/3.225, allocations: 125.6 kB / 2.117 GB, free: 82.22 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006226/3.225, allocations: 119.8 kB / 2.117 GB, free: 82.11 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001679/3.227, allocations: 2.171 MB / 2.119 GB, free: 79.79 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/3.229, allocations: 83.72 kB / 2.119 GB, free: 79.71 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/3.229, allocations: 44.03 kB / 2.12 GB, free: 79.67 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/3.229, allocations: 4 kB / 2.12 GB, free: 79.66 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00145/3.23, allocations: 0.8579 MB / 2.12 GB, free: 78.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/3.23, allocations: 0 / 2.12 GB, free: 78.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002497/3.23, allocations: 118.2 kB / 2.12 GB, free: 78.68 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000411/3.231, allocations: 119.8 kB / 2.121 GB, free: 78.56 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001285/3.232, allocations: 2.183 MB / 2.123 GB, free: 76.24 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/3.233, allocations: 59.91 kB / 2.123 GB, free: 76.18 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.883e-05/3.234, allocations: 40 kB / 2.123 GB, free: 76.14 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.0002741/3.234, allocations: 201.2 kB / 2.123 GB, free: 75.93 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001808/3.236, allocations: 0.9093 MB / 2.124 GB, free: 75 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004694/3.236, allocations: 189.7 kB / 2.124 GB, free: 74.82 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.001837/3.238, allocations: 1.104 MB / 2.125 GB, free: 73.71 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.