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.00112/0.00112, allocations: 113.8 kB / 16.42 MB, free: 6.473 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.001157/0.001157, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.306/1.306, 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.841/0.841, allocations: 143.1 MB / 434.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.58 kB / 0.5963 GB, free: 12.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1387, allocations: 82.04 MB / 0.6764 GB, free: 10.27 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.6482/0.7869, allocations: 358.2 MB / 1.026 GB, free: 7.613 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.5111/1.298, allocations: 76.15 MB / 1.101 GB, free: 40.85 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01427/1.312, allocations: 435.8 kB / 1.101 GB, free: 40.85 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01705/1.329, allocations: 6.595 MB / 1.107 GB, free: 40.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.03607/1.366, allocations: 14.81 MB / 1.122 GB, free: 40.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.02241/1.388, allocations: 10.19 MB / 1.132 GB, free: 39.89 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.08625/1.474, allocations: 74.37 MB / 1.204 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02934/1.504, allocations: 20.03 MB / 1.224 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03838/1.542, allocations: 17.48 MB / 1.241 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03089/1.573, allocations: 16.45 MB / 1.257 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.008354/1.581, allocations: 1.961 MB / 1.259 GB, free: 8.246 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02065/1.602, allocations: 6.049 MB / 1.265 GB, free: 2.469 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.01066/1.613, allocations: 6.524 MB / 1.271 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.02426/1.637, allocations: 11.23 MB / 1.282 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.04979/1.687, allocations: 32.65 MB / 1.314 GB, free: 1.574 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/1.687, allocations: 0 / 1.314 GB, free: 1.574 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.453e-06/1.687, allocations: 0 / 1.314 GB, free: 1.574 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0009191/1.688, allocations: 0 / 1.314 GB, free: 1.574 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.06552/1.753, allocations: 24.02 MB / 1.338 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/1.753, allocations: 8.031 kB / 1.338 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0174/1.771, allocations: 3.193 MB / 1.341 GB, free: 6.379 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04813/1.819, allocations: 20.92 MB / 1.361 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007805/1.82, allocations: 0.6691 MB / 1.362 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004945/1.825, allocations: 0.9353 MB / 1.363 GB, free: 168 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03956/1.864, allocations: 17.07 MB / 1.379 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003258/1.865, allocations: 15.78 kB / 1.379 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003117/1.868, allocations: 334.6 kB / 1.38 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000384/1.868, allocations: 371.3 kB / 1.38 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04101/1.909, allocations: 21.5 MB / 1.401 GB, free: 8.684 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.4833/2.393, allocations: 83.42 MB / 1.483 GB, free: 467 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01995/2.413, allocations: 13.01 MB / 1.495 GB, free: 461.3 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01466/2.427, allocations: 10.08 MB / 1.505 GB, free: 455.6 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.06765/2.495, allocations: 35.39 MB / 1.54 GB, free: 431.3 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01885/2.514, allocations: 10.15 MB / 1.55 GB, free: 423.2 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02042/2.534, allocations: 5.806 MB / 1.555 GB, free: 418.1 MB / 1.045 GB Notification: Performance of pre-optimization done (n=567): time 3.772e-05/2.534, allocations: 0 / 1.555 GB, free: 418.1 MB / 1.045 GB Notification: Performance of matching and sorting (n=776): time 0.863/3.397, allocations: 191.6 MB / 1.742 GB, free: 227.7 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/3.397, allocations: 137.4 kB / 1.742 GB, free: 227.6 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02805/3.425, allocations: 17.97 MB / 1.76 GB, free: 209.8 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.003754/3.429, allocations: 217.7 kB / 1.76 GB, free: 209.6 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.007216/3.436, allocations: 7.771 MB / 1.768 GB, free: 201.8 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.004753/3.441, allocations: 2.381 MB / 1.77 GB, free: 199.5 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008409/3.45, allocations: 3.334 MB / 1.773 GB, free: 196.1 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 4.203e-05/3.45, allocations: 305.1 kB / 1.774 GB, free: 195.8 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01983/3.47, allocations: 12.48 MB / 1.786 GB, free: 183.3 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02392/3.494, allocations: 15.27 MB / 1.801 GB, free: 167 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04583/3.539, allocations: 26.86 MB / 1.827 GB, free: 139.4 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-05/3.539, allocations: 16 kB / 1.827 GB, free: 139.4 MB / 1.045 GB Notification: Performance of matching and sorting (n=1526) (initialization): time 0.5951/4.135, allocations: 118.4 MB / 1.943 GB, free: 20.83 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 8.017e-05/4.135, allocations: 57.69 kB / 1.943 GB, free: 20.77 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.857e-05/4.135, allocations: 52.09 kB / 1.943 GB, free: 20.72 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01/5.145, allocations: 118.2 MB / 2.058 GB, free: 427.1 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01591/5.161, allocations: 3.151 MB / 2.061 GB, free: 426.3 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1433/5.304, allocations: 81.82 MB / 2.141 GB, free: 344.9 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02086/5.325, allocations: 1.202 MB / 2.142 GB, free: 343.7 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004324/5.329, allocations: 0.8544 MB / 2.143 GB, free: 342.8 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0278/5.357, allocations: 15.7 MB / 2.159 GB, free: 327.1 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02237/5.38, allocations: 14.76 MB / 2.173 GB, free: 311.3 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0411/5.421, allocations: 25.84 MB / 2.198 GB, free: 284.7 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.669e-05/5.421, allocations: 16 kB / 2.198 GB, free: 284.7 MB / 1.045 GB Notification: Performance of matching and sorting (n=1526) (initialization_lambda0): time 0.5729/5.994, allocations: 116.8 MB / 2.312 GB, free: 168.7 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.393e-05/5.994, allocations: 57.83 kB / 2.312 GB, free: 168.6 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.117e-05/5.994, allocations: 59.28 kB / 2.312 GB, free: 168.6 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5832/6.577, allocations: 117.9 MB / 2.427 GB, free: 50.79 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01466/6.592, allocations: 3.136 MB / 2.431 GB, free: 47.65 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5257/7.118, allocations: 86.06 MB / 2.515 GB, free: 421.9 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02012/7.138, allocations: 1.252 MB / 2.516 GB, free: 421.7 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004024/7.142, allocations: 0.8275 MB / 2.517 GB, free: 421.6 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.005935/7.148, allocations: 0.749 MB / 2.517 GB, free: 421.1 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006833/7.155, allocations: 1.562 MB / 2.519 GB, free: 421.1 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.03238/7.187, allocations: 13.82 MB / 2.532 GB, free: 415.9 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