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: translateModel(Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.eta|boi2.eta|boi3.eta",fileNamePrefix="Buildings_9_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves") translateModel(Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boi1.eta|boi2.eta|boi3.eta",fileNamePrefix="Buildings_9_Buildings.Fluid.Boilers.Validation.BoilerTableEfficiencyCurves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.189/2.189, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001192/0.001192, allocations: 176.9 kB / 487.4 MB, free: 5.031 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.443/1.443, 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.0009892/0.0009892, allocations: 99.91 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.362e-05/1.375e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2306, allocations: 142.3 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9791/1.21, allocations: 423.1 MB / 1.619 GB, free: 15.48 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/1.21, allocations: 89.86 kB / 1.619 GB, free: 15.44 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 2.528/3.738, allocations: 0.6679 GB / 2.287 GB, free: 244.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.174e-06/3.738, allocations: 0 / 2.287 GB, free: 244.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.00038/3.739, allocations: 61.91 kB / 2.287 GB, free: 244.8 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.005678/3.744, allocations: 2.579 MB / 2.29 GB, free: 243.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/3.744, allocations: 10.03 kB / 2.29 GB, free: 243.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/3.746, allocations: 338.5 kB / 2.29 GB, free: 243.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00666/3.752, allocations: 2.844 MB / 2.293 GB, free: 243 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.451e-05/3.753, allocations: 38.19 kB / 2.293 GB, free: 243 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003349/3.753, allocations: 83.56 kB / 2.293 GB, free: 243 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001955/3.755, allocations: 0.8199 MB / 2.294 GB, free: 243 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/3.757, allocations: 1.147 MB / 2.295 GB, free: 242.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.271e-05/3.757, allocations: 13.48 kB / 2.295 GB, free: 242.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/3.757, allocations: 6.312 kB / 2.295 GB, free: 242.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-05/3.757, allocations: 55.41 kB / 2.295 GB, free: 242.8 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.008943/3.766, allocations: 6.708 MB / 2.301 GB, free: 240.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009006/3.767, allocations: 0.5651 MB / 2.302 GB, free: 240.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/3.767, allocations: 259 kB / 2.302 GB, free: 240.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004074/3.768, allocations: 0.589 MB / 2.303 GB, free: 239.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/3.768, allocations: 44.09 kB / 2.303 GB, free: 239.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 2.575e-06/3.768, allocations: 0 / 2.303 GB, free: 239.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.001953/3.77, allocations: 0.8104 MB / 2.304 GB, free: 239.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.971e-05/3.77, allocations: 58.69 kB / 2.304 GB, free: 239.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005163/3.775, allocations: 3.154 MB / 2.307 GB, free: 238.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001574/3.775, allocations: 28.95 kB / 2.307 GB, free: 238.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009287/3.776, allocations: 1.306 MB / 2.308 GB, free: 238.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002259/3.776, allocations: 186.7 kB / 2.308 GB, free: 238.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/3.777, allocations: 0 / 2.308 GB, free: 238.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.682e-05/3.777, allocations: 344.4 kB / 2.309 GB, free: 238.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003115/3.777, allocations: 215.1 kB / 2.309 GB, free: 238.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004311/3.777, allocations: 0.513 MB / 2.309 GB, free: 237.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00067/3.778, allocations: 320.2 kB / 2.31 GB, free: 237.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/3.778, allocations: 1.312 kB / 2.31 GB, free: 237.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002001/3.78, allocations: 1.05 MB / 2.311 GB, free: 237.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004177/3.78, allocations: 2.394 MB / 2.313 GB, free: 235 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/3.781, allocations: 10.95 kB / 2.313 GB, free: 235 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007757/3.781, allocations: 253.7 kB / 2.313 GB, free: 235 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004682/3.782, allocations: 134.8 kB / 2.313 GB, free: 235 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/3.783, allocations: 1.949 MB / 2.315 GB, free: 233.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/3.785, allocations: 153.8 kB / 2.315 GB, free: 233.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.742e-05/3.785, allocations: 39.2 kB / 2.315 GB, free: 233.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/3.785, allocations: 5.406 kB / 2.315 GB, free: 233.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001287/3.786, allocations: 0.7734 MB / 2.316 GB, free: 233.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/3.786, allocations: 3.844 kB / 2.316 GB, free: 233.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003974/3.786, allocations: 192.9 kB / 2.316 GB, free: 233.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004396/3.787, allocations: 136.2 kB / 2.317 GB, free: 233.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009905/3.788, allocations: 1.952 MB / 2.318 GB, free: 231.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/3.789, allocations: 115.5 kB / 2.319 GB, free: 231.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.165e-05/3.79, allocations: 35.22 kB / 2.319 GB, free: 231.7 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.0002051/3.79, allocations: 135.1 kB / 2.319 GB, free: 231.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003609/3.79, allocations: 251.7 kB / 2.319 GB, free: 231.5 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.001347/3.791, allocations: 0.6124 MB / 2.32 GB, free: 231.5 MB / 1.151 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.