Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Boilers.Examples.BoilerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerTable,fileNamePrefix="Buildings_9_Buildings_Fluid_Boilers_Examples_BoilerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Boilers.Examples.BoilerTable,fileNamePrefix="Buildings_9_Buildings_Fluid_Boilers_Examples_BoilerTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.166/2.166, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.0009945/0.0009944, allocations: 176.8 kB / 487.4 MB, free: 5.035 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.548/1.548, allocations: 221.5 MB / 0.7824 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009778/0.0009778, allocations: 95.84 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.873e-05/1.877e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3048, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.118/1.423, allocations: 423.2 MB / 1.619 GB, free: 15.27 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/1.423, allocations: 92.12 kB / 1.619 GB, free: 15.23 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 1.763/3.187, allocations: 480.1 MB / 2.088 GB, free: 117.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.214e-06/3.187, allocations: 0 / 2.088 GB, free: 117.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001637/3.187, allocations: 44.19 kB / 2.088 GB, free: 117.3 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.003615/3.191, allocations: 2.068 MB / 2.09 GB, free: 115.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/3.191, allocations: 8.031 kB / 2.09 GB, free: 115.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000502/3.191, allocations: 249.1 kB / 2.091 GB, free: 114.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003299/3.195, allocations: 2.06 MB / 2.093 GB, free: 112.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/3.195, allocations: 31.95 kB / 2.093 GB, free: 112.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/3.195, allocations: 64 kB / 2.093 GB, free: 112.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00106/3.196, allocations: 0.6405 MB / 2.093 GB, free: 112.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/3.197, allocations: 0.8708 MB / 2.094 GB, free: 111.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/3.197, allocations: 11.94 kB / 2.094 GB, free: 111.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.331e-05/3.197, allocations: 0 / 2.094 GB, free: 111.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.184e-05/3.197, allocations: 41.98 kB / 2.094 GB, free: 111.1 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.004938/3.202, allocations: 4.74 MB / 2.099 GB, free: 106.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009049/3.203, allocations: 0.5392 MB / 2.099 GB, free: 105.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/3.203, allocations: 311.2 kB / 2.1 GB, free: 105.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003889/3.204, allocations: 0.4991 MB / 2.1 GB, free: 104.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004629/3.204, allocations: 404.1 kB / 2.101 GB, free: 104.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=62): time 3.556e-06/3.204, allocations: 0 / 2.101 GB, free: 104.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=64): time 0.004255/3.209, allocations: 2.038 MB / 2.103 GB, free: 102.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/3.209, allocations: 119.2 kB / 2.103 GB, free: 102 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002897/3.212, allocations: 2.262 MB / 2.105 GB, free: 99.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.541e-05/3.212, allocations: 29.7 kB / 2.105 GB, free: 99.67 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007332/3.212, allocations: 0.9217 MB / 2.106 GB, free: 98.73 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/3.213, allocations: 193.1 kB / 2.106 GB, free: 98.54 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/3.213, allocations: 0 / 2.106 GB, free: 98.54 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.088e-05/3.213, allocations: 341.9 kB / 2.106 GB, free: 98.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/3.213, allocations: 245.5 kB / 2.107 GB, free: 97.96 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/3.213, allocations: 467.4 kB / 2.107 GB, free: 97.42 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000666/3.214, allocations: 324.9 kB / 2.107 GB, free: 97.11 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/3.214, allocations: 0 / 2.107 GB, free: 97.11 MB / 1.151 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001715/3.216, allocations: 1.037 MB / 2.108 GB, free: 96.05 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000419/3.216, allocations: 1.644 MB / 2.11 GB, free: 94.23 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/3.216, allocations: 4 kB / 2.11 GB, free: 94.23 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005079/3.217, allocations: 129.6 kB / 2.11 GB, free: 94.09 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/3.217, allocations: 127.8 kB / 2.11 GB, free: 93.97 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/3.219, allocations: 2.167 MB / 2.112 GB, free: 91.66 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/3.22, allocations: 75.83 kB / 2.112 GB, free: 91.59 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.852e-05/3.22, allocations: 43.98 kB / 2.112 GB, free: 91.54 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/3.22, allocations: 5.719 kB / 2.112 GB, free: 91.54 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001467/3.222, allocations: 0.866 MB / 2.113 GB, free: 90.67 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/3.222, allocations: 7.938 kB / 2.113 GB, free: 90.66 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002438/3.222, allocations: 105.7 kB / 2.113 GB, free: 90.55 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003892/3.222, allocations: 119.8 kB / 2.113 GB, free: 90.43 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/3.224, allocations: 2.187 MB / 2.116 GB, free: 88.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/3.225, allocations: 67.91 kB / 2.116 GB, free: 88.04 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.878e-05/3.225, allocations: 39.98 kB / 2.116 GB, free: 88 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.0003003/3.226, allocations: 192.8 kB / 2.116 GB, free: 87.79 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001576/3.227, allocations: 0.9131 MB / 2.117 GB, free: 86.86 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002117/3.227, allocations: 189.7 kB / 2.117 GB, free: 86.68 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.00187/3.229, allocations: 1.082 MB / 2.118 GB, free: 85.6 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.