Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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: "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Basic,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_FlowSystem_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Basic,fileNamePrefix="IDEAS_IDEAS_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.001888/0.001888, 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.002448/0.002448, 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 2.213/2.213, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.359/1.359, allocations: 132.2 MB / 423.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006548/0.0006551, allocations: 8 kB / 0.5033 GB, free: 4.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9528/0.9535, allocations: 81.58 MB / 0.583 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Basic): time 1.589/2.543, allocations: 297.4 MB / 0.8734 GB, free: 57.86 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.1932/2.736, allocations: 63.19 MB / 0.9351 GB, free: 47.23 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03722/2.773, allocations: 344.3 kB / 0.9355 GB, free: 47.23 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.03814/2.812, allocations: 4.358 MB / 0.9397 GB, free: 44.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.09475/2.906, allocations: 13.27 MB / 0.9527 GB, free: 36.85 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.04728/2.954, allocations: 8.469 MB / 0.961 GB, free: 29.77 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0615/3.015, allocations: 22.1 MB / 0.9825 GB, free: 8.488 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04953/3.065, allocations: 16.02 MB / 0.9982 GB, free: 8.375 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07352/3.139, allocations: 12.96 MB / 1.011 GB, free: 11.38 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04984/3.188, allocations: 12 MB / 1.023 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.01376/3.202, allocations: 1.082 MB / 1.024 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03837/3.241, allocations: 3.902 MB / 1.027 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.02232/3.263, allocations: 4.645 MB / 1.032 GB, free: 5.688 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.02486/3.288, allocations: 3.274 MB / 1.035 GB, free: 2.398 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.06689/3.355, allocations: 21.96 MB / 1.057 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/3.355, allocations: 0 / 1.057 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.428e-06/3.355, allocations: 0 / 1.057 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.001403/3.357, allocations: 0 / 1.057 GB, free: 12.39 MB / 0.7169 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.125/3.482, allocations: 20.53 MB / 1.077 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 8.635e-05/3.482, allocations: 16.03 kB / 1.077 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01327/3.495, allocations: 1.054 MB / 1.078 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02528/3.521, allocations: 2.31 MB / 1.08 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09211/3.613, allocations: 19.28 MB / 1.099 GB, free: 0.9023 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001733/3.615, allocations: 0.7053 MB / 1.099 GB, free: 204 kB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202/4.817, allocations: 0.9546 MB / 1.1 GB, free: 289 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07661/4.894, allocations: 16.46 MB / 1.116 GB, free: 283.5 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006118/4.894, allocations: 15.09 kB / 1.116 GB, free: 283.5 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006814/4.901, allocations: 328.7 kB / 1.117 GB, free: 283.3 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008148/4.902, allocations: 375.9 kB / 1.117 GB, free: 283.3 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06102/4.963, allocations: 20.98 MB / 1.138 GB, free: 273.6 MB / 0.7482 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.2138/5.177, allocations: 82.12 MB / 1.218 GB, free: 196.6 MB / 0.7482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02915/5.206, allocations: 13.04 MB / 1.231 GB, free: 183.6 MB / 0.7482 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.1061/5.312, allocations: 33.74 MB / 1.264 GB, free: 149.6 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0251/5.337, allocations: 9.827 MB / 1.273 GB, free: 139.7 MB / 0.7482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04347/5.381, allocations: 9.798 MB / 1.283 GB, free: 130.6 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=613): time 9.257e-05/5.381, allocations: 0 / 1.283 GB, free: 130.6 MB / 0.7482 GB Notification: Performance of matching and sorting (n=931): time 3.038/8.419, allocations: 325.8 MB / 1.601 GB, free: 118.8 MB / 0.7483 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2651/8.684, allocations: 54.8 MB / 1.654 GB, free: 63.25 MB / 0.7483 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/Actuators/BaseClasses/ValveParameters.mo:26:3-31:105: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/IDEAS 3.0.0/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/IDEAS 3.0.0/Fluid/Actuators/BaseClasses/ValveParameters.mo:26:3-31:105: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/IDEAS 3.0.0/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/IDEAS 3.0.0/Fluid/Actuators/BaseClasses/ValveParameters.mo:26:3-31:105: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/IDEAS 3.0.0/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/IDEAS 3.0.0/Fluid/Actuators/BaseClasses/ValveParameters.mo:26:3-31:105: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/IDEAS 3.0.0/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.06005/8.744, allocations: 17.64 MB / 1.672 GB, free: 45.75 MB / 0.7483 GB Notification: Performance of collectPreVariables (initialization): time 0.007325/8.752, allocations: 241.7 kB / 1.672 GB, free: 45.51 MB / 0.7483 GB Notification: Performance of collectInitialEqns (initialization): time 0.01414/8.766, allocations: 7.215 MB / 1.679 GB, free: 38.6 MB / 0.7483 GB Notification: Performance of collectInitialBindings (initialization): time 0.02438/8.79, allocations: 3.358 MB / 1.682 GB, free: 35.27 MB / 0.7483 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009984/8.801, allocations: 212 kB / 1.682 GB, free: 35.06 MB / 0.7483 GB Notification: Performance of setup shared object (initialization): time 0.001714/8.802, allocations: 0.7495 MB / 1.683 GB, free: 34.3 MB / 0.7483 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.7702/9.573, allocations: 24.98 MB / 1.707 GB, free: 240.1 MB / 0.7483 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.08136/9.654, allocations: 27.73 MB / 1.735 GB, free: 231.1 MB / 0.7483 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08423/9.738, allocations: 26.28 MB / 1.76 GB, free: 223.4 MB / 0.7483 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001448/9.739, allocations: 17.78 kB / 1.76 GB, free: 223.4 MB / 0.7483 GB Notification: Performance of matching and sorting (n=1433) (initialization): time 1.269/11.01, allocations: 158.8 MB / 1.915 GB, free: 81.09 MB / 0.7483 GB Notification: Performance of prepare postOptimizeDAE: time 0.007345/11.01, allocations: 31.91 MB / 1.946 GB, free: 47.3 MB / 0.7483 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002021/11.02, allocations: 48 kB / 1.946 GB, free: 47.25 MB / 0.7483 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903/12.92, allocations: 151.6 MB / 2.095 GB, free: 197.9 MB / 0.7483 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03029/12.95, allocations: 3.484 MB / 2.098 GB, free: 194.6 MB / 0.7483 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3151/13.26, allocations: 87.19 MB / 2.183 GB, free: 107.5 MB / 0.7483 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.4075/13.67, allocations: 10.35 MB / 2.193 GB, free: 97.17 MB / 0.7483 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01718/13.69, allocations: 1.738 MB / 2.195 GB, free: 95.43 MB / 0.7483 GB Notification: Performance of prepare postOptimizeDAE: time 3.504e-05/13.69, allocations: 4 kB / 2.195 GB, free: 95.43 MB / 0.7483 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 2.025/15.71, allocations: 157 MB / 2.348 GB, free: 192.6 MB / 0.7483 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003069/15.71, allocations: 45.56 kB / 2.348 GB, free: 192.6 MB / 0.7483 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274/16.99, allocations: 149.9 MB / 2.495 GB, free: 62.34 MB / 0.7483 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03508/17.02, allocations: 3.426 MB / 2.498 GB, free: 58.99 MB / 0.7483 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146/18.17, allocations: 94.24 MB / 2.59 GB, free: 193.2 MB / 0.7483 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3509/18.52, allocations: 10.32 MB / 2.6 GB, free: 192.8 MB / 0.7483 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01632/18.54, allocations: 1.692 MB / 2.602 GB, free: 192.7 MB / 0.7483 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.03102/18.57, allocations: 4.058 MB / 2.606 GB, free: 191 MB / 0.7483 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01573/18.58, allocations: 1.509 MB / 2.607 GB, free: 191 MB / 0.7483 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3853/18.97, allocations: 72.48 MB / 2.678 GB, free: 152.1 MB / 0.7483 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3664/19.34, allocations: 88.87 MB / 2.765 GB, free: 63.12 MB / 0.7483 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0004535/19.34, allocations: 28 kB / 2.765 GB, free: 63.09 MB / 0.7483 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102/20.44, allocations: 87.63 MB / 2.85 GB, free: 204.4 MB / 0.7483 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5825/21.02, allocations: 227.5 MB / 3.073 GB, free: 20.07 MB / 0.7483 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003155/21.02, allocations: 4 kB / 3.073 GB, free: 20.07 MB / 0.7483 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01946/21.04, allocations: 2.166 MB / 3.075 GB, free: 17.93 MB / 0.7483 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744/22.78, allocations: 161.4 MB / 3.232 GB, free: 133.7 MB / 0.7483 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.007675/22.79, allocations: 0.8749 MB / 3.233 GB, free: 133 MB / 0.7483 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058/23.85, allocations: 133.6 MB / 3.364 GB, free: 215.9 MB / 0.7483 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]