Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Basic.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.Basic,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Basic,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Basic",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.00086/0.00086, allocations: 100.1 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.0008942/0.0008942, allocations: 177.3 kB / 15.95 MB, free: 216 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.315/1.315, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001768/0.001768, allocations: 274.8 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.8501/0.8501, allocations: 144.6 MB / 487 MB, free: 7.156 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004808, allocations: 12.44 kB / 0.5684 GB, free: 38.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1724, allocations: 83.09 MB / 0.6495 GB, free: 3.449 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Basic): time 0.6294/0.8019, allocations: 297.4 MB / 0.94 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.1031/0.9051, allocations: 63.25 MB / 1.002 GB, free: 9.074 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01665/0.9218, allocations: 353.5 kB / 1.002 GB, free: 8.727 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01905/0.9409, allocations: 4.349 MB / 1.006 GB, free: 4.355 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.04656/0.9875, allocations: 13.3 MB / 1.019 GB, free: 7.039 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.02351/1.011, allocations: 8.501 MB / 1.028 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.04141/1.052, allocations: 22.12 MB / 1.049 GB, free: 8.504 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.9215/1.974, allocations: 16.03 MB / 1.065 GB, free: 22.01 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03541/2.009, allocations: 12.98 MB / 1.078 GB, free: 21.98 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0327/2.042, allocations: 12.01 MB / 1.089 GB, free: 21.93 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.00981/2.052, allocations: 1.081 MB / 1.09 GB, free: 21.93 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01898/2.071, allocations: 3.904 MB / 1.094 GB, free: 21.93 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.01037/2.081, allocations: 4.645 MB / 1.099 GB, free: 21.93 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00929/2.091, allocations: 3.275 MB / 1.102 GB, free: 21.9 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.02984/2.121, allocations: 21.97 MB / 1.123 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/2.121, allocations: 0 / 1.123 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.555e-06/2.121, allocations: 0 / 1.123 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0009105/2.122, allocations: 0 / 1.123 GB, free: 20.18 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.05954/2.181, allocations: 20.52 MB / 1.143 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/2.181, allocations: 8.375 kB / 1.143 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005142/2.186, allocations: 1.053 MB / 1.144 GB, free: 9.199 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01401/2.2, allocations: 2.666 MB / 1.147 GB, free: 7.934 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05085/2.251, allocations: 19.41 MB / 1.166 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001151/2.252, allocations: 0.6981 MB / 1.167 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006845/2.259, allocations: 0.9678 MB / 1.168 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04783/2.307, allocations: 16.57 MB / 1.184 GB, free: 8.613 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005074/2.308, allocations: 11.17 kB / 1.184 GB, free: 8.605 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00526/2.313, allocations: 327.4 kB / 1.184 GB, free: 8.535 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005181/2.314, allocations: 383.2 kB / 1.184 GB, free: 8.184 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04659/2.36, allocations: 21.16 MB / 1.205 GB, free: 9.621 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.1532/2.513, allocations: 82.38 MB / 1.286 GB, free: 5.723 MB / 0.8263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02221/2.536, allocations: 13.22 MB / 1.299 GB, free: 13.91 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.07508/2.611, allocations: 33.82 MB / 1.332 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01831/2.629, allocations: 9.931 MB / 1.341 GB, free: 13.88 MB / 0.8732 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03206/2.661, allocations: 9.798 MB / 1.351 GB, free: 4.797 MB / 0.8732 GB Notification: Performance of pre-optimization done (n=613): time 4.188e-05/2.661, allocations: 0 / 1.351 GB, free: 4.797 MB / 0.8732 GB Notification: Performance of matching and sorting (n=931): time 1.421/4.083, allocations: 326.3 MB / 1.669 GB, free: 182.4 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1215/4.204, allocations: 54.89 MB / 1.723 GB, free: 126.7 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.02755/4.232, allocations: 17.63 MB / 1.74 GB, free: 109.2 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.004935/4.237, allocations: 247 kB / 1.74 GB, free: 109 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.008656/4.245, allocations: 7.22 MB / 1.748 GB, free: 102.2 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.01353/4.259, allocations: 3.369 MB / 1.751 GB, free: 98.84 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005593/4.265, allocations: 209.5 kB / 1.751 GB, free: 98.64 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0007923/4.265, allocations: 0.7495 MB / 1.752 GB, free: 97.88 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03335/4.299, allocations: 25.06 MB / 1.776 GB, free: 72.8 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03549/4.334, allocations: 27.82 MB / 1.803 GB, free: 43.93 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03533/4.37, allocations: 26.37 MB / 1.829 GB, free: 17.5 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000108/4.37, allocations: 12 kB / 1.829 GB, free: 17.49 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1433) (initialization): time 1.043/5.413, allocations: 159 MB / 1.984 GB, free: 299.2 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.005159/5.418, allocations: 31.91 MB / 2.016 GB, free: 265.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000127/5.418, allocations: 44 kB / 2.016 GB, free: 265.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6148/6.033, allocations: 151.7 MB / 2.164 GB, free: 113.6 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01882/6.052, allocations: 3.513 MB / 2.167 GB, free: 110 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1448/6.197, allocations: 87.2 MB / 2.252 GB, free: 22.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2293/6.426, allocations: 10.37 MB / 2.262 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008327/6.434, allocations: 1.746 MB / 2.264 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/6.434, allocations: 4 kB / 2.264 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.044/7.478, allocations: 157.2 MB / 2.418 GB, free: 302 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001773/7.478, allocations: 44 kB / 2.418 GB, free: 302 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6605/8.139, allocations: 149.9 MB / 2.564 GB, free: 151.9 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02063/8.16, allocations: 3.459 MB / 2.567 GB, free: 148.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1579/8.317, allocations: 94.24 MB / 2.659 GB, free: 54.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2297/8.547, allocations: 10.36 MB / 2.67 GB, free: 44.04 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009088/8.556, allocations: 1.697 MB / 2.671 GB, free: 42.34 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * 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 (973): * Single equations (assignments): 955 * 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 {35 117,35 117} Notification: Performance of prepare postOptimizeDAE: time 0.02084/8.577, allocations: 4.049 MB / 2.675 GB, free: 38.31 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009107/8.586, allocations: 1.505 MB / 2.677 GB, free: 37.61 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6476/9.234, allocations: 72.71 MB / 2.748 GB, free: 351.2 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2382/9.472, allocations: 89.05 MB / 2.835 GB, free: 289.9 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000106/9.472, allocations: 32 kB / 2.835 GB, free: 289.9 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2179/9.69, allocations: 87.82 MB / 2.92 GB, free: 202.1 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7365/10.43, allocations: 227.8 MB / 3.143 GB, free: 332.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001071/10.43, allocations: 3.188 kB / 3.143 GB, free: 332.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01328/10.44, allocations: 2.186 MB / 3.145 GB, free: 332.7 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6273/11.07, allocations: 161.4 MB / 3.303 GB, free: 220.5 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004688/11.07, allocations: 0.8765 MB / 3.303 GB, free: 219.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2107/11.28, allocations: 133.7 MB / 3.434 GB, free: 85.76 MB / 0.9044 GB Warning: The linear system: 1 : tabsSouth1[2].dp = valSouth1[2].port_b.p - tabsSouth1[1].port_b.p 2 : tabsSouth1[3].dp = valSouth1[3].port_b.p - tabsSouth1[1].port_b.p 3 : valSouth1[3].dp = valSouth1[2].port_a.p - valSouth1[3].port_b.p 4 : valSouth1[2].dp = valSouth1[2].port_a.p - valSouth1[2].port_b.p [ -1.0 , 0.0 , 0.0 , 1.0 ; 0.0 , 0.0 , -1.0 , 1.0 ; 0.0 , -1.0 , 1.0 , 0.0 ; 1.0 , -1.0 , 0.0 , 0.0 ] * [ valSouth1[2].port_b.p ; valSouth1[2].port_a.p ; valSouth1[3].port_b.p ; tabsSouth1[1].port_b.p ] = [ -tabsSouth1[2].dp ; -tabsSouth1[3].dp ; -valSouth1[3].dp ; -valSouth1[2].dp ] might be structurally or numerically singular for variable tabsSouth1[1].port_b.p since U(4,4) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valNorth.res1.m_flow + valSouth.res1.m_flow + $cse420 + $cse422 = 0.0 2 : 0.0 = valNorth.res1.m_flow + valNorth.res3.m_flow - pmpNorth.m_flow 3 : spl3.res1.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - tabsNorth2[8].m_flow - tabsNorth2[6].m_flow - tabsNorth2[5].m_flow - tabsNorth2[4].m_flow - tabsNorth2[3].m_flow - tabsNorth2[2].m_flow - tabsNorth2[1].m_flow - tabsNorth1[4].m_flow - tabsNorth1[3].m_flow - tabsNorth1[2].m_flow - tabsNorth1[1].m_flow - tabsSouth2[8].m_flow - tabsSouth2[7].m_flow - tabsSouth2[6].m_flow - tabsSouth2[5].m_flow - tabsSouth2[4].m_flow - tabsSouth2[3].m_flow - tabsSouth2[2].m_flow - tabsSouth2[1].m_flow - tabsSouth1[4].m_flow - tabsSouth1[3].m_flow - tabsSouth1[2].m_flow - tabsSouth1[1].m_flow = 0.0 4 : 0.0 = valSouth.res1.m_flow + valSouth.res3.m_flow - pmpSouth.m_flow [ 1.0 , 0.0 , 0.0 , 1.0 ; 0.0 , 0.0 , -1.0 , -1.0 ; 0.0 , 1.0 , 1.0 , 0.0 ; -1.0 , -1.0 , 0.0 , 0.0 ] * [ valSouth.res1.m_flow ; valSouth.res3.m_flow ; valNorth.res3.m_flow ; valNorth.res1.m_flow ] = [ (-$cse420) - $cse422 ; -pmpNorth.m_flow ; tabsNorth2[7].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow + tabsSouth1[3].m_flow + tabsSouth1[4].m_flow + tabsSouth2[1].m_flow + tabsSouth2[2].m_flow + tabsSouth2[3].m_flow + tabsSouth2[4].m_flow + tabsSouth2[5].m_flow + tabsSouth2[6].m_flow + tabsSouth2[7].m_flow + tabsSouth2[8].m_flow + tabsNorth1[1].m_flow + tabsNorth1[2].m_flow + tabsNorth1[3].m_flow + tabsNorth1[4].m_flow + tabsNorth2[1].m_flow + tabsNorth2[2].m_flow + tabsNorth2[3].m_flow + tabsNorth2[4].m_flow + tabsNorth2[5].m_flow + tabsNorth2[6].m_flow + tabsNorth2[8].m_flow + (-spl1.res1.m_flow) - spl3.res1.m_flow ; -pmpSouth.m_flow ] might be structurally or numerically singular for variable valNorth.res1.m_flow since U(4,4) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[2].dp = valSouth1[2].port_b.p - tabsSouth1[1].port_b.p 2 : valSouth1[2].dp = valSouth1[2].port_a.p - valSouth1[2].port_b.p 3 : valSouth1[3].dp = valSouth1[2].port_a.p - valSouth1[3].port_b.p 4 : tabsSouth1[3].dp = valSouth1[3].port_b.p - tabsSouth1[1].port_b.p [ 1.0 , 0.0 , 0.0 , -1.0 ; 0.0 , 0.0 , -1.0 , 1.0 ; 0.0 , 1.0 , -1.0 , 0.0 ; 1.0 , -1.0 , 0.0 , 0.0 ] * [ tabsSouth1[1].port_b.p ; valSouth1[3].port_b.p ; valSouth1[2].port_a.p ; valSouth1[2].port_b.p ] = [ -tabsSouth1[2].dp ; -valSouth1[2].dp ; -valSouth1[3].dp ; -tabsSouth1[3].dp ] might be structurally or numerically singular for variable valSouth1[2].port_b.p since U(4,4) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : 0.0 = valNorth.res1.m_flow + valNorth.res3.m_flow - pmpNorth.m_flow 2 : spl3.res1.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - tabsNorth2[8].m_flow - tabsNorth2[6].m_flow - tabsNorth2[5].m_flow - tabsNorth2[4].m_flow - tabsNorth2[3].m_flow - tabsNorth2[2].m_flow - tabsNorth2[1].m_flow - tabsNorth1[4].m_flow - tabsNorth1[3].m_flow - tabsNorth1[2].m_flow - tabsNorth1[1].m_flow - tabsSouth2[8].m_flow - tabsSouth2[7].m_flow - tabsSouth2[6].m_flow - tabsSouth2[5].m_flow - tabsSouth2[4].m_flow - tabsSouth2[3].m_flow - tabsSouth2[2].m_flow - tabsSouth2[1].m_flow - tabsSouth1[4].m_flow - tabsSouth1[3].m_flow - tabsSouth1[2].m_flow - tabsSouth1[1].m_flow = 0.0 3 : 0.0 = valSouth.res1.m_flow + valSouth.res3.m_flow - pmpSouth.m_flow 4 : valNorth.res1.m_flow + valSouth.res1.m_flow + $cse420 + $cse422 = 0.0 [ -1.0 , 0.0 , 0.0 , -1.0 ; 0.0 , 0.0 , 1.0 , 1.0 ; 0.0 , -1.0 , -1.0 , 0.0 ; 1.0 , 1.0 , 0.0 , 0.0 ] * [ valNorth.res1.m_flow ; valSouth.res1.m_flow ; valSouth.res3.m_flow ; valNorth.res3.m_flow ] = [ -pmpNorth.m_flow ; tabsNorth2[7].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow + tabsSouth1[3].m_flow + tabsSouth1[4].m_flow + tabsSouth2[1].m_flow + tabsSouth2[2].m_flow + tabsSouth2[3].m_flow + tabsSouth2[4].m_flow + tabsSouth2[5].m_flow + tabsSouth2[6].m_flow + tabsSouth2[7].m_flow + tabsSouth2[8].m_flow + tabsNorth1[1].m_flow + tabsNorth1[2].m_flow + tabsNorth1[3].m_flow + tabsNorth1[4].m_flow + tabsNorth2[1].m_flow + tabsNorth2[2].m_flow + tabsNorth2[3].m_flow + tabsNorth2[4].m_flow + tabsNorth2[5].m_flow + tabsNorth2[6].m_flow + tabsNorth2[8].m_flow + (-spl1.res1.m_flow) - spl3.res1.m_flow ; -pmpSouth.m_flow ; (-$cse420) - $cse422 ] might be structurally or numerically singular for variable valNorth.res3.m_flow since U(4,4) = 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 (613): * Single equations (assignments): 590 * 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 155,1 1,63 212} [/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]