Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified1.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified1") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008496/0.0008496, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008849/0.0008849, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.162/1.162, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001682/0.001682, allocations: 266.1 kB / 291.2 MB, free: 1.906 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7293/0.7293, allocations: 144.6 MB / 487 MB, free: 7.238 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003723, allocations: 16.59 kB / 0.5683 GB, free: 38.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1238, allocations: 83.08 MB / 0.6494 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1): time 0.5111/0.6349, allocations: 297.5 MB / 0.9399 GB, free: 8.703 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0792/0.7142, allocations: 63.26 MB / 1.002 GB, free: 9.352 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01235/0.7265, allocations: 345.6 kB / 1.002 GB, free: 9.012 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01627/0.7428, allocations: 4.349 MB / 1.006 GB, free: 4.641 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.03982/0.7827, allocations: 13.29 MB / 1.019 GB, free: 7.332 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.02268/0.8054, allocations: 8.501 MB / 1.028 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.03599/0.8414, allocations: 22.02 MB / 1.049 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3713/1.213, allocations: 16 MB / 1.065 GB, free: 22.11 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02599/1.239, allocations: 12.92 MB / 1.077 GB, free: 22.09 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02291/1.262, allocations: 11.97 MB / 1.089 GB, free: 22.04 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.006793/1.269, allocations: 1.073 MB / 1.09 GB, free: 22.04 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01648/1.285, allocations: 3.894 MB / 1.094 GB, free: 22.04 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.008457/1.294, allocations: 4.62 MB / 1.098 GB, free: 22.04 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.01172/1.305, allocations: 3.268 MB / 1.102 GB, free: 22.01 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.02541/1.331, allocations: 21.89 MB / 1.123 GB, free: 20.53 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/1.331, allocations: 0 / 1.123 GB, free: 20.53 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.295e-06/1.331, allocations: 0 / 1.123 GB, free: 20.53 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0008931/1.332, allocations: 0 / 1.123 GB, free: 20.53 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2057 * Number of variables: 2057 Notification: Performance of Generate backend data structure: time 0.05015/1.382, allocations: 20.52 MB / 1.143 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/1.382, allocations: 9.344 kB / 1.143 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0132/1.395, allocations: 2.662 MB / 1.146 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0414/1.436, allocations: 19.36 MB / 1.164 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009659/1.438, allocations: 0.692 MB / 1.165 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005653/1.443, allocations: 0.9474 MB / 1.166 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03706/1.48, allocations: 16.44 MB / 1.182 GB, free: 9.926 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003717/1.481, allocations: 16.78 kB / 1.182 GB, free: 9.918 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003569/1.484, allocations: 332.1 kB / 1.182 GB, free: 9.844 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004218/1.485, allocations: 379.8 kB / 1.183 GB, free: 9.492 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03658/1.521, allocations: 21.08 MB / 1.203 GB, free: 10.99 MB / 0.7637 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.1369/1.658, allocations: 83.21 MB / 1.285 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01875/1.677, allocations: 12.9 MB / 1.297 GB, free: 14.37 MB / 0.8419 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.06233/1.739, allocations: 33.22 MB / 1.33 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01624/1.756, allocations: 9.696 MB / 1.339 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02717/1.783, allocations: 9.795 MB / 1.349 GB, free: 5.867 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=589): time 3.663e-05/1.783, allocations: 0 / 1.349 GB, free: 5.867 MB / 0.8731 GB Notification: Performance of matching and sorting (n=883): time 1.202/2.984, allocations: 313.1 MB / 1.655 GB, free: 198.3 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1132/3.098, allocations: 53.97 MB / 1.707 GB, free: 143.4 MB / 0.9044 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/Actuators/BaseClasses/ValveParameters.mo:26:3-31:115:writable] Warning: Parameter valNorth.res3.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-9:76:writable] Warning: Parameter valNorth.res3.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/Actuators/BaseClasses/ValveParameters.mo:26:3-31:115:writable] Warning: Parameter valNorth.res1.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-9:76:writable] Warning: Parameter valNorth.res1.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/Actuators/BaseClasses/ValveParameters.mo:26:3-31:115:writable] Warning: Parameter valSouth.res3.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-9:76:writable] Warning: Parameter valSouth.res3.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/Actuators/BaseClasses/ValveParameters.mo:26:3-31:115:writable] Warning: Parameter valSouth.res1.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-9:76:writable] Warning: Parameter valSouth.res1.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02012/3.118, allocations: 17.68 MB / 1.724 GB, free: 125.9 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.003919/3.122, allocations: 231.6 kB / 1.725 GB, free: 125.7 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.00491/3.127, allocations: 7.333 MB / 1.732 GB, free: 118.8 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0103/3.137, allocations: 3.204 MB / 1.735 GB, free: 115.7 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002557/3.14, allocations: 204 kB / 1.735 GB, free: 115.5 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000408/3.14, allocations: 0.7529 MB / 1.736 GB, free: 114.7 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02818/3.168, allocations: 24.87 MB / 1.76 GB, free: 89.81 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03056/3.199, allocations: 27.58 MB / 1.787 GB, free: 61.17 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03077/3.23, allocations: 26.16 MB / 1.813 GB, free: 34.95 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.031e-05/3.23, allocations: 12 kB / 1.813 GB, free: 34.94 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1409) (initialization): time 0.8463/4.076, allocations: 157 MB / 1.966 GB, free: 311.2 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.004467/4.08, allocations: 35.46 MB / 2.001 GB, free: 273.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-05/4.081, allocations: 52 kB / 2.001 GB, free: 273.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5698/4.65, allocations: 145.5 MB / 2.143 GB, free: 128 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01794/4.668, allocations: 3.708 MB / 2.146 GB, free: 124.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1252/4.794, allocations: 84.56 MB / 2.229 GB, free: 39.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2113/5.005, allocations: 10.4 MB / 2.239 GB, free: 29.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005057/5.01, allocations: 1.749 MB / 2.241 GB, free: 27.5 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/5.01, allocations: 4 kB / 2.241 GB, free: 27.5 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.8331/5.843, allocations: 155.6 MB / 2.393 GB, free: 320 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001533/5.843, allocations: 49 kB / 2.393 GB, free: 319.9 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5711/6.415, allocations: 144.6 MB / 2.534 GB, free: 175.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01654/6.431, allocations: 3.651 MB / 2.538 GB, free: 171.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1315/6.563, allocations: 88.73 MB / 2.624 GB, free: 82.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2143/6.777, allocations: 10.38 MB / 2.634 GB, free: 72.3 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005138/6.782, allocations: 1.699 MB / 2.636 GB, free: 70.6 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,stepPump.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,pumpHea.stage,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1045): * Single equations (assignments): 1027 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {39 65,39 65} Notification: Performance of prepare postOptimizeDAE: time 0.01064/6.793, allocations: 4.04 MB / 2.64 GB, free: 66.58 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004536/6.797, allocations: 1.498 MB / 2.641 GB, free: 65.89 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4667/7.264, allocations: 70.76 MB / 2.711 GB, free: 347.1 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2262/7.49, allocations: 87.35 MB / 2.796 GB, free: 317.9 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001117/7.49, allocations: 38.52 kB / 2.796 GB, free: 317.9 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2072/7.698, allocations: 86.13 MB / 2.88 GB, free: 231.8 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6166/8.314, allocations: 225.5 MB / 3.1 GB, free: 330.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.746e-05/8.314, allocations: 0.75 kB / 3.1 GB, free: 330.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01239/8.327, allocations: 2.288 MB / 3.102 GB, free: 330.1 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5871/8.914, allocations: 159.1 MB / 3.258 GB, free: 244.7 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004138/8.918, allocations: 0.8679 MB / 3.259 GB, free: 243.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1888/9.107, allocations: 131.4 MB / 3.387 GB, free: 117.8 MB / 0.9044 GB Warning: The linear system: 1 : valSouth1[1].dp = valSouth1[2].port_a.p - valSouth1[1].port_b.p 2 : valSouth1[4].dp = valSouth1[2].port_a.p - valSouth1[1].port_b.p [ 1.0 , -1.0 ; 1.0 , -1.0 ] * [ valSouth1[1].port_b.p ; valSouth1[2].port_a.p ] = [ -valSouth1[1].dp ; -valSouth1[4].dp ] might be structurally or numerically singular for variable valSouth1[2].port_a.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valSouth1[1].dp = valSouth1[2].port_a.p - valSouth1[1].port_b.p 2 : valSouth1[4].dp = valSouth1[2].port_a.p - valSouth1[1].port_b.p [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ valSouth1[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valSouth1[1].dp ; -valSouth1[4].dp ] might be structurally or numerically singular for variable valSouth1[1].port_b.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2135:10-2135:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2052:9-2052:79:writable] Error: Internal error function createJacobian failed Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 82 ($STATESET1.x[34],$STATESET1.x[33],$STATESET1.x[32],$STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],valSouth1[1].filter.s[1],valSouth1[2].filter.s[1],valSouth1[3].filter.s[1],valSouth1[4].filter.s[1],valSouth2[1].filter.s[1],valSouth2[2].filter.s[1],valSouth2[3].filter.s[1],valSouth2[4].filter.s[1],valSouth2[5].filter.s[1],valSouth2[6].filter.s[1],valSouth2[7].filter.s[1],valSouth2[8].filter.s[1],valNorth1[1].filter.s[1],valNorth1[2].filter.s[1],valNorth1[3].filter.s[1],valNorth1[4].filter.s[1],valNorth2[1].filter.s[1],valNorth2[2].filter.s[1],valNorth2[3].filter.s[1],valNorth2[4].filter.s[1],valNorth2[5].filter.s[1],valNorth2[6].filter.s[1],valNorth2[7].filter.s[1],valNorth2[8].filter.s[1],valSouth.res1.filter.s[1],valSouth.res3.filter.s[1],valSouth.vol.dynBal.U,valSouth.filter.s[1],valSouth.filter.s[2],valNorth.res1.filter.s[1],valNorth.res3.filter.s[1],valNorth.vol.dynBal.U,valNorth.filter.s[1],valNorth.filter.s[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],valHea.filter.s[1],valCoo.filter.s[1],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1]) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (637): * Single equations (assignments): 614 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 3 {34 83,1 1,63 188} [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4497:9-4497:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:748:5-748:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]