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: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008826/0.0008826, allocations: 99.62 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.0009209/0.0009209, 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.294/1.294, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001734/0.001734, allocations: 266.8 kB / 291.2 MB, free: 2.023 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.8557/0.8557, allocations: 144.6 MB / 487 MB, free: 7.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004255/0.0004255, allocations: 12.72 kB / 0.5684 GB, free: 38.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1682, allocations: 83.09 MB / 0.6495 GB, free: 3.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1): time 0.6614/0.8297, allocations: 297.5 MB / 0.94 GB, free: 8.609 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.09859/0.9283, allocations: 63.25 MB / 1.002 GB, free: 9.262 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01533/0.9437, allocations: 349.5 kB / 1.002 GB, free: 8.918 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01835/0.962, allocations: 4.357 MB / 1.006 GB, free: 4.539 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.04408/1.006, allocations: 13.29 MB / 1.019 GB, free: 7.23 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.02702/1.033, allocations: 8.504 MB / 1.028 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.04618/1.079, allocations: 22.01 MB / 1.049 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.9367/2.016, allocations: 16 MB / 1.065 GB, free: 21.73 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03403/2.05, allocations: 12.93 MB / 1.077 GB, free: 21.71 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02455/2.075, allocations: 11.96 MB / 1.089 GB, free: 21.66 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.00758/2.082, allocations: 1.073 MB / 1.09 GB, free: 21.66 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02049/2.103, allocations: 3.897 MB / 1.094 GB, free: 21.66 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.01125/2.114, allocations: 4.624 MB / 1.098 GB, free: 21.66 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.01071/2.125, allocations: 3.269 MB / 1.102 GB, free: 21.62 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.02927/2.154, allocations: 21.88 MB / 1.123 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/2.154, allocations: 6.281 kB / 1.123 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.693e-06/2.154, allocations: 0 / 1.123 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0008729/2.155, allocations: 0 / 1.123 GB, free: 20.14 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.05494/2.21, allocations: 20.52 MB / 1.143 GB, free: 9.422 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/2.21, allocations: 9.453 kB / 1.143 GB, free: 9.422 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006895/2.217, allocations: 1.057 MB / 1.144 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01876/2.236, allocations: 2.659 MB / 1.147 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05004/2.286, allocations: 19.36 MB / 1.166 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007452/2.287, allocations: 0.6903 MB / 1.166 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005541/2.292, allocations: 0.9593 MB / 1.167 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05698/2.349, allocations: 16.43 MB / 1.183 GB, free: 8.922 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004785/2.35, allocations: 11.5 kB / 1.183 GB, free: 8.918 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005626/2.356, allocations: 328.7 kB / 1.184 GB, free: 8.848 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006666/2.356, allocations: 383.7 kB / 1.184 GB, free: 8.492 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06266/2.419, allocations: 21.07 MB / 1.205 GB, free: 9.996 MB / 0.7638 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.1608/2.58, allocations: 83.21 MB / 1.286 GB, free: 4.84 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02111/2.601, allocations: 12.9 MB / 1.298 GB, free: 13.36 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.07517/2.676, allocations: 33.22 MB / 1.331 GB, free: 4.512 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0158/2.692, allocations: 9.7 MB / 1.34 GB, free: 13.91 MB / 0.8732 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02857/2.721, allocations: 9.794 MB / 1.35 GB, free: 4.832 MB / 0.8732 GB Notification: Performance of pre-optimization done (n=589): time 2.814e-05/2.721, allocations: 0 / 1.35 GB, free: 4.832 MB / 0.8732 GB Notification: Performance of matching and sorting (n=883): time 1.505/4.225, allocations: 313.1 MB / 1.656 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1417/4.367, allocations: 53.97 MB / 1.708 GB, free: 2.234 MB / 0.9357 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.4391/4.806, allocations: 17.68 MB / 1.726 GB, free: 422.1 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 0.004525/4.811, allocations: 234.3 kB / 1.726 GB, free: 422.1 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.009482/4.82, allocations: 7.329 MB / 1.733 GB, free: 421.8 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.01277/4.833, allocations: 3.204 MB / 1.736 GB, free: 421.1 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004941/4.838, allocations: 204.7 kB / 1.736 GB, free: 421.1 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 0.0009088/4.839, allocations: 0.7436 MB / 1.737 GB, free: 420.8 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03875/4.878, allocations: 24.87 MB / 1.761 GB, free: 415.9 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03861/4.916, allocations: 27.58 MB / 1.788 GB, free: 406.2 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03699/4.953, allocations: 26.16 MB / 1.814 GB, free: 398.6 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.786e-05/4.953, allocations: 17.12 kB / 1.814 GB, free: 398.6 MB / 0.9513 GB Notification: Performance of matching and sorting (n=1409) (initialization): time 0.6177/5.571, allocations: 157.1 MB / 1.967 GB, free: 251.2 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 0.005486/5.577, allocations: 35.46 MB / 2.002 GB, free: 213.6 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001384/5.577, allocations: 52 kB / 2.002 GB, free: 213.6 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6051/6.182, allocations: 145.5 MB / 2.144 GB, free: 67.93 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02133/6.203, allocations: 3.704 MB / 2.148 GB, free: 64.22 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5911/6.794, allocations: 84.56 MB / 2.23 GB, free: 393 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2332/7.028, allocations: 10.4 MB / 2.24 GB, free: 392.9 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009508/7.037, allocations: 1.739 MB / 2.242 GB, free: 392.9 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/7.037, allocations: 3.969 kB / 2.242 GB, free: 392.9 MB / 0.9513 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6735/7.711, allocations: 155.6 MB / 2.394 GB, free: 308.7 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002393/7.711, allocations: 52.19 kB / 2.394 GB, free: 308.7 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6065/8.318, allocations: 144.6 MB / 2.535 GB, free: 163.9 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01945/8.337, allocations: 3.655 MB / 2.539 GB, free: 160.2 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1473/8.484, allocations: 88.73 MB / 2.625 GB, free: 71.41 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2252/8.71, allocations: 10.38 MB / 2.636 GB, free: 61.07 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008418/8.718, allocations: 1.699 MB / 2.637 GB, free: 59.37 MB / 0.9513 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.01808/8.736, allocations: 4.031 MB / 2.641 GB, free: 55.36 MB / 0.9513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009058/8.745, allocations: 1.505 MB / 2.643 GB, free: 54.66 MB / 0.9513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6056/9.351, allocations: 70.77 MB / 2.712 GB, free: 399.2 MB / 0.9513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2376/9.588, allocations: 87.37 MB / 2.797 GB, free: 356.1 MB / 0.9513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002099/9.589, allocations: 28 kB / 2.797 GB, free: 356.1 MB / 0.9513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2474/9.836, allocations: 86.13 MB / 2.881 GB, free: 270 MB / 0.9513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3815/10.22, allocations: 225.4 MB / 3.101 GB, free: 44.63 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.841e-05/10.22, allocations: 4 kB / 3.101 GB, free: 44.63 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01455/10.23, allocations: 2.29 MB / 3.104 GB, free: 42.37 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.026/11.26, allocations: 159.1 MB / 3.259 GB, free: 328.3 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004555/11.26, allocations: 0.8745 MB / 3.26 GB, free: 327.6 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2181/11.48, allocations: 131.4 MB / 3.388 GB, free: 205.5 MB / 0.9513 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2135:10-2135:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4497:9-4497:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/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]