Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves.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.Validation.BoilerTableEfficiencyCurves,fileNamePrefix="Buildings_9_Buildings_Fluid_Boilers_Validation_BoilerTableEfficiencyCurves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves,fileNamePrefix="Buildings_9_Buildings_Fluid_Boilers_Validation_BoilerTableEfficiencyCurves",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.221/2.221, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.001067/0.001067, allocations: 192.6 kB / 487.4 MB, free: 5.086 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.638/1.638, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 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.0008717/0.0008719, allocations: 103.8 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.147e-05/2.15e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2799, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.274/1.554, allocations: 423.1 MB / 1.619 GB, free: 15.16 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/1.555, allocations: 88.33 kB / 1.619 GB, free: 15.12 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 2.75/4.305, allocations: 0.6679 GB / 2.287 GB, free: 244.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.806e-06/4.305, allocations: 6.188 kB / 2.287 GB, free: 244.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004246/4.306, allocations: 59.39 kB / 2.287 GB, free: 244.6 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.007292/4.313, allocations: 2.585 MB / 2.29 GB, free: 243.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/4.313, allocations: 11.11 kB / 2.29 GB, free: 243.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/4.315, allocations: 338.6 kB / 2.29 GB, free: 243.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007194/4.322, allocations: 2.847 MB / 2.293 GB, free: 242.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.558e-05/4.322, allocations: 46.38 kB / 2.293 GB, free: 242.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002221/4.322, allocations: 76.06 kB / 2.293 GB, free: 242.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001808/4.324, allocations: 0.8303 MB / 2.294 GB, free: 242.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/4.326, allocations: 1.146 MB / 2.295 GB, free: 242.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.267e-05/4.326, allocations: 7.891 kB / 2.295 GB, free: 242.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/4.326, allocations: 0 / 2.295 GB, free: 242.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.057e-05/4.326, allocations: 58.98 kB / 2.295 GB, free: 242.6 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.01028/4.337, allocations: 6.71 MB / 2.302 GB, free: 239.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/4.338, allocations: 0.5766 MB / 2.302 GB, free: 239.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/4.338, allocations: 255.5 kB / 2.302 GB, free: 239.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004835/4.339, allocations: 0.5883 MB / 2.303 GB, free: 239.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/4.339, allocations: 40.69 kB / 2.303 GB, free: 239.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 2.925e-06/4.339, allocations: 0 / 2.303 GB, free: 239.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.002282/4.341, allocations: 0.8054 MB / 2.304 GB, free: 239 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/4.341, allocations: 58.66 kB / 2.304 GB, free: 238.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005304/4.346, allocations: 3.156 MB / 2.307 GB, free: 238.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002217/4.347, allocations: 25.7 kB / 2.307 GB, free: 238.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001187/4.348, allocations: 1.311 MB / 2.308 GB, free: 238.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002498/4.348, allocations: 179.9 kB / 2.308 GB, free: 238.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/4.348, allocations: 2.469 kB / 2.308 GB, free: 238.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001243/4.348, allocations: 340.7 kB / 2.309 GB, free: 237.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/4.349, allocations: 219.6 kB / 2.309 GB, free: 237.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006668/4.349, allocations: 0.5163 MB / 2.309 GB, free: 237.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009577/4.35, allocations: 322.6 kB / 2.31 GB, free: 237.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/4.35, allocations: 3.312 kB / 2.31 GB, free: 237.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.003035/4.353, allocations: 1.047 MB / 2.311 GB, free: 237.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007565/4.354, allocations: 2.388 MB / 2.313 GB, free: 234.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/4.354, allocations: 7.562 kB / 2.313 GB, free: 234.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009708/4.355, allocations: 251.4 kB / 2.313 GB, free: 234.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005086/4.356, allocations: 137.3 kB / 2.313 GB, free: 234.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/4.357, allocations: 1.953 MB / 2.315 GB, free: 233.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/4.359, allocations: 155.5 kB / 2.316 GB, free: 233.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/4.359, allocations: 41.06 kB / 2.316 GB, free: 233.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/4.359, allocations: 6.062 kB / 2.316 GB, free: 233.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001481/4.361, allocations: 0.758 MB / 2.316 GB, free: 233.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/4.361, allocations: 11.75 kB / 2.316 GB, free: 233.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004157/4.361, allocations: 189.5 kB / 2.317 GB, free: 233.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004363/4.362, allocations: 139.2 kB / 2.317 GB, free: 233.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/4.363, allocations: 1.959 MB / 2.319 GB, free: 231.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/4.365, allocations: 111.7 kB / 2.319 GB, free: 231.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-05/4.365, allocations: 41.89 kB / 2.319 GB, free: 231.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 7,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002641/4.365, allocations: 121.6 kB / 2.319 GB, free: 231.4 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001951/4.367, allocations: 0.8003 MB / 2.32 GB, free: 231.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004507/4.368, allocations: 251.7 kB / 2.32 GB, free: 231.1 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 61 equation(s) and 58 variable(s). Warning: Equation 48 (size: 1) $cse4 = Buildings.Fluid.Boilers.BoilerTable$boi2.Medium.setState_phX(sou.p_in_internal, sou.ports[2].h_outflow, {}) is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: sou.ports[2].h_outflow Equations used to solve those variables: Equation 44 (size: 1): $cse5 = Buildings.Fluid.Boilers.BoilerTable$boi3.Medium.setState_phX(sou.p_in_internal, sou.ports[2].h_outflow, {}) Warning: Equation 52 (size: 1) $cse3 = Buildings.Fluid.Boilers.BoilerTable$boi1.Medium.setState_phX(sou.p_in_internal, sou.ports[2].h_outflow, {}) is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: sou.ports[2].h_outflow Equations used to solve those variables: Equation 44 (size: 1): $cse5 = Buildings.Fluid.Boilers.BoilerTable$boi3.Medium.setState_phX(sou.p_in_internal, sou.ports[2].h_outflow, {}) Warning: Equation 57 (size: 1) sou.ports[2].h_outflow = Buildings.Fluid.Sources.Boundary_pT$sou.Medium.specificEnthalpy($cse2) is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: $cse2.p, $cse2.T, TIn.y Equations used to solve those variables: Equation 37 (size: 1): TIn.y = TIn.offset + (if time < TIn.startTime then 0.0 else if time < TIn.startTime + TIn.duration then (time - TIn.startTime) * TIn.height / TIn.duration else TIn.height) Equation 56 (size: 2): $cse2 = Buildings.Fluid.Sources.Boundary_pT$sou.Medium.setState_pTX(sou.p_in_internal, TIn.y, {sou.X_in_internal[1]}) Warning: Equation 58 (size: 2) $cse1 = Buildings.Fluid.Sources.Boundary_pT$sin.Medium.setState_pTX(sin.p_in_internal, sin.T, {sin.X_in_internal[1]}) is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: $cse2.T, sou.ports[2].h_outflow Equations used to solve those variables: Equation 44 (size: 1): $cse5 = Buildings.Fluid.Boilers.BoilerTable$boi3.Medium.setState_phX(sou.p_in_internal, sou.ports[2].h_outflow, {}) Equation 56 (size: 2): $cse2 = Buildings.Fluid.Sources.Boundary_pT$sou.Medium.setState_pTX(sou.p_in_internal, TIn.y, {sou.X_in_internal[1]}) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/4.369, allocations: 0.6192 MB / 2.32 GB, free: 231.1 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.