Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3") translateModel(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 108.2 kB / 16.41 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 185.4 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8137/0.8137, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 67.48 kB / 0.5963 GB, free: 12.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1347, allocations: 82.02 MB / 0.6764 GB, free: 10.25 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pmpSouth.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pmpNorth.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpHea.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpCoo.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3): time 0.6056/0.7403, allocations: 358.2 MB / 1.026 GB, free: 7.41 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.4639/1.204, allocations: 76.14 MB / 1.101 GB, free: 40.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0131/1.217, allocations: 434.3 kB / 1.101 GB, free: 40.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01543/1.233, allocations: 6.608 MB / 1.107 GB, free: 40.47 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.03401/1.267, allocations: 14.8 MB / 1.122 GB, free: 39.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.02093/1.288, allocations: 10.2 MB / 1.132 GB, free: 39.61 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.08149/1.369, allocations: 74.36 MB / 1.204 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02282/1.392, allocations: 20.07 MB / 1.224 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03377/1.426, allocations: 17.47 MB / 1.241 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02744/1.453, allocations: 16.44 MB / 1.257 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.005624/1.459, allocations: 1.961 MB / 1.259 GB, free: 8.008 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01801/1.477, allocations: 6.054 MB / 1.265 GB, free: 2.227 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.008344/1.485, allocations: 6.519 MB / 1.271 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.02038/1.506, allocations: 11.22 MB / 1.282 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.04446/1.55, allocations: 32.76 MB / 1.314 GB, free: 1.223 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/1.55, allocations: 0 / 1.314 GB, free: 1.223 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.473e-06/1.55, allocations: 0 / 1.314 GB, free: 1.223 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.000694/1.551, allocations: 0 / 1.314 GB, free: 1.223 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2045 * Number of variables: 2045 Notification: Performance of Generate backend data structure: time 0.06118/1.612, allocations: 24.65 MB / 1.338 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/1.612, allocations: 11.97 kB / 1.338 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01714/1.629, allocations: 3.298 MB / 1.342 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0426/1.672, allocations: 21.08 MB / 1.362 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006737/1.673, allocations: 0.6782 MB / 1.363 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003934/1.677, allocations: 0.9406 MB / 1.364 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03403/1.711, allocations: 17.06 MB / 1.38 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001582/1.711, allocations: 11.88 kB / 1.38 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001245/1.712, allocations: 331.3 kB / 1.381 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003203/1.712, allocations: 363.4 kB / 1.381 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03724/1.75, allocations: 21.51 MB / 1.402 GB, free: 7.535 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.429/2.179, allocations: 83.51 MB / 1.484 GB, free: 466 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01866/2.197, allocations: 13.02 MB / 1.496 GB, free: 460 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01345/2.211, allocations: 10.08 MB / 1.506 GB, free: 454.4 MB / 1.045 GB Warning: The model contains alias variables with redundant start and/or conflicting 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 evalFunc (simulation): time 0.05618/2.267, allocations: 35.4 MB / 1.541 GB, free: 430 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01365/2.281, allocations: 10.14 MB / 1.551 GB, free: 421.5 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01749/2.298, allocations: 5.831 MB / 1.556 GB, free: 416.4 MB / 1.045 GB Notification: Performance of pre-optimization done (n=567): time 2.819e-05/2.298, allocations: 0 / 1.556 GB, free: 416.4 MB / 1.045 GB Notification: Performance of matching and sorting (n=776): time 0.7963/3.095, allocations: 191.9 MB / 1.744 GB, free: 225.8 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/3.095, allocations: 129.5 kB / 1.744 GB, free: 225.7 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02523/3.12, allocations: 17.98 MB / 1.761 GB, free: 207.9 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.003158/3.123, allocations: 221.7 kB / 1.762 GB, free: 207.7 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.005617/3.129, allocations: 7.864 MB / 1.769 GB, free: 200 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.004015/3.133, allocations: 2.483 MB / 1.772 GB, free: 197.5 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005853/3.139, allocations: 3.343 MB / 1.775 GB, free: 194.2 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 3.199e-05/3.139, allocations: 301.1 kB / 1.775 GB, free: 193.9 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01753/3.156, allocations: 12.49 MB / 1.788 GB, free: 181.4 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02054/3.177, allocations: 15.27 MB / 1.802 GB, free: 165.1 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04095/3.218, allocations: 26.85 MB / 1.829 GB, free: 137.4 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-05/3.218, allocations: 16 kB / 1.829 GB, free: 137.4 MB / 1.045 GB Notification: Performance of matching and sorting (n=1526) (initialization): time 0.5339/3.752, allocations: 118.5 MB / 1.944 GB, free: 18.79 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 8.256e-05/3.752, allocations: 54.64 kB / 1.944 GB, free: 18.73 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.579e-05/3.752, allocations: 52 kB / 1.944 GB, free: 18.68 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8713/4.623, allocations: 118.2 MB / 2.06 GB, free: 426 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01537/4.639, allocations: 3.154 MB / 2.063 GB, free: 424.7 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1287/4.767, allocations: 81.84 MB / 2.143 GB, free: 342.9 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01962/4.787, allocations: 1.201 MB / 2.144 GB, free: 341.7 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004134/4.791, allocations: 0.8622 MB / 2.145 GB, free: 340.8 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02862/4.82, allocations: 15.69 MB / 2.16 GB, free: 325.1 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02418/4.844, allocations: 14.76 MB / 2.175 GB, free: 309.3 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04266/4.887, allocations: 25.84 MB / 2.2 GB, free: 282.7 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.605e-05/4.887, allocations: 16 kB / 2.2 GB, free: 282.7 MB / 1.045 GB Notification: Performance of matching and sorting (n=1526) (initialization_lambda0): time 0.5266/5.413, allocations: 116.9 MB / 2.314 GB, free: 166.7 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 7.546e-05/5.414, allocations: 63 kB / 2.314 GB, free: 166.7 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.387e-05/5.414, allocations: 53.31 kB / 2.314 GB, free: 166.6 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5361/5.95, allocations: 117.9 MB / 2.429 GB, free: 48.97 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01399/5.964, allocations: 3.132 MB / 2.432 GB, free: 45.84 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4724/6.436, allocations: 86.09 MB / 2.516 GB, free: 422 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01839/6.455, allocations: 1.256 MB / 2.518 GB, free: 421.8 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003067/6.458, allocations: 0.8309 MB / 2.518 GB, free: 421.7 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1138): * Single equations (assignments): 1120 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.003326/6.461, allocations: 0.7475 MB / 2.519 GB, free: 421.2 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00503/6.466, allocations: 1.641 MB / 2.521 GB, free: 421.2 MB / 1.045 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 948 equation(s) and 742 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02587/6.492, allocations: 13.83 MB / 2.534 GB, free: 416 MB / 1.045 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode DAEmode: The model BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3 could not be translated