Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Basic") translateModel(IDEAS.Fluid.Examples.FlowSystem.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000877/0.000877, 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.0008525/0.0008526, 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.15/1.15, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8146/0.8146, allocations: 135.2 MB / 426.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002807/0.0002808, allocations: 8 kB / 0.5068 GB, free: 5.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1392, allocations: 82.31 MB / 0.5872 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Basic): time 0.7888/0.928, allocations: 297.4 MB / 0.8776 GB, free: 50.18 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.08234/1.01, allocations: 63.21 MB / 0.9394 GB, free: 49.57 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01561/1.026, allocations: 346.5 kB / 0.9397 GB, free: 49.57 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01715/1.043, allocations: 4.351 MB / 0.9439 GB, free: 49.57 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.04533/1.089, allocations: 13.27 MB / 0.9569 GB, free: 49.38 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.02501/1.114, allocations: 8.478 MB / 0.9652 GB, free: 48.74 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0372/1.151, allocations: 22.09 MB / 0.9867 GB, free: 46.01 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02495/1.176, allocations: 16.03 MB / 1.002 GB, free: 40.24 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02876/1.205, allocations: 12.96 MB / 1.015 GB, free: 30.77 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02134/1.226, allocations: 12 MB / 1.027 GB, free: 19.44 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.00618/1.232, allocations: 1.082 MB / 1.028 GB, free: 18.36 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01717/1.249, allocations: 3.898 MB / 1.032 GB, free: 14.62 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.008053/1.257, allocations: 4.651 MB / 1.036 GB, free: 10.29 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.008251/1.266, allocations: 3.266 MB / 1.039 GB, free: 7.008 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02719/1.293, allocations: 21.97 MB / 1.061 GB, free: 1.957 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/1.293, allocations: 0 / 1.061 GB, free: 1.957 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.024e-06/1.293, allocations: 0 / 1.061 GB, free: 1.957 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0008124/1.294, allocations: 0 / 1.061 GB, free: 1.957 MB / 0.6856 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.0492/1.343, allocations: 20.53 MB / 1.081 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/1.343, allocations: 8.031 kB / 1.081 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/1.353, allocations: 2.312 MB / 1.083 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04029/1.394, allocations: 19.28 MB / 1.102 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007515/1.394, allocations: 0.7035 MB / 1.103 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004006/1.398, allocations: 0.9615 MB / 1.104 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03416/1.433, allocations: 16.46 MB / 1.12 GB, free: 5.832 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003184/1.433, allocations: 17.81 kB / 1.12 GB, free: 5.816 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002846/1.436, allocations: 329.8 kB / 1.12 GB, free: 5.504 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003955/1.436, allocations: 379.5 kB / 1.12 GB, free: 5.133 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03844/1.475, allocations: 20.98 MB / 1.141 GB, free: 140 kB / 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.614/2.089, allocations: 82.12 MB / 1.221 GB, free: 250.1 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02167/2.11, allocations: 13.03 MB / 1.234 GB, free: 244.4 MB / 0.7794 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.06719/2.178, allocations: 33.73 MB / 1.267 GB, free: 221.9 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01317/2.191, allocations: 9.833 MB / 1.276 GB, free: 215.9 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0237/2.215, allocations: 9.802 MB / 1.286 GB, free: 212.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=613): time 3.138e-05/2.215, allocations: 2.297 kB / 1.286 GB, free: 212.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=931): time 1.504/3.719, allocations: 325.8 MB / 1.604 GB, free: 226.5 MB / 0.7795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1238/3.843, allocations: 54.79 MB / 1.658 GB, free: 171.6 MB / 0.7795 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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-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/IDEAS 3.0.0-master/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-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/IDEAS 3.0.0-master/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-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/IDEAS 3.0.0-master/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-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.02883/3.871, allocations: 17.63 MB / 1.675 GB, free: 154.2 MB / 0.7795 GB Notification: Performance of collectPreVariables (initialization): time 0.00461/3.876, allocations: 248.4 kB / 1.675 GB, free: 154 MB / 0.7795 GB Notification: Performance of collectInitialEqns (initialization): time 0.007776/3.884, allocations: 7.22 MB / 1.682 GB, free: 147.9 MB / 0.7795 GB Notification: Performance of collectInitialBindings (initialization): time 0.01197/3.896, allocations: 3.36 MB / 1.685 GB, free: 144.6 MB / 0.7795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005084/3.901, allocations: 212 kB / 1.686 GB, free: 144.4 MB / 0.7795 GB Notification: Performance of setup shared object (initialization): time 0.0008279/3.902, allocations: 0.7534 MB / 1.686 GB, free: 143.6 MB / 0.7795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03247/3.934, allocations: 24.97 MB / 1.711 GB, free: 118.6 MB / 0.7795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03497/3.969, allocations: 27.73 MB / 1.738 GB, free: 89.84 MB / 0.7795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03477/4.004, allocations: 26.29 MB / 1.763 GB, free: 63.5 MB / 0.7795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.376e-05/4.004, allocations: 12 kB / 1.763 GB, free: 63.49 MB / 0.7795 GB Notification: Performance of matching and sorting (n=1433) (initialization): time 0.8742/4.879, allocations: 158.8 MB / 1.918 GB, free: 215.1 MB / 0.7795 GB Notification: Performance of prepare postOptimizeDAE: time 0.004767/4.883, allocations: 31.91 MB / 1.95 GB, free: 181.3 MB / 0.7795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.48e-05/4.884, allocations: 44 kB / 1.95 GB, free: 181.3 MB / 0.7795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5801/5.464, allocations: 151.6 MB / 2.098 GB, free: 29.48 MB / 0.7795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01719/5.481, allocations: 3.481 MB / 2.101 GB, free: 25.99 MB / 0.7795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4356/5.917, allocations: 87.19 MB / 2.186 GB, free: 231.4 MB / 0.7795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2163/6.133, allocations: 10.35 MB / 2.196 GB, free: 230.6 MB / 0.7795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005699/6.139, allocations: 1.741 MB / 2.198 GB, free: 230.5 MB / 0.7795 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/6.139, allocations: 3.969 kB / 2.198 GB, free: 230.5 MB / 0.7795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5527/6.691, allocations: 157 MB / 2.351 GB, free: 99.77 MB / 0.7795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000131/6.692, allocations: 46.19 kB / 2.351 GB, free: 99.72 MB / 0.7795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8503/7.542, allocations: 149.9 MB / 2.498 GB, free: 224.8 MB / 0.7795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01603/7.558, allocations: 3.425 MB / 2.501 GB, free: 223.6 MB / 0.7795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1384/7.696, allocations: 94.24 MB / 2.593 GB, free: 144.3 MB / 0.7795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2159/7.912, allocations: 10.32 MB / 2.603 GB, free: 134 MB / 0.7795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007287/7.92, allocations: 1.691 MB / 2.605 GB, free: 132.3 MB / 0.7795 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.01445/7.934, allocations: 4.055 MB / 2.609 GB, free: 128.3 MB / 0.7795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006946/7.941, allocations: 1.511 MB / 2.61 GB, free: 127.6 MB / 0.7795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2101/8.151, allocations: 72.49 MB / 2.681 GB, free: 55.2 MB / 0.7795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.5152/8.666, allocations: 88.86 MB / 2.768 GB, free: 219.9 MB / 0.7795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001389/8.667, allocations: 30.28 kB / 2.768 GB, free: 219.9 MB / 0.7795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.215/8.882, allocations: 87.64 MB / 2.854 GB, free: 170.9 MB / 0.7795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6872/9.569, allocations: 227.5 MB / 3.076 GB, free: 211.4 MB / 0.7795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.838e-05/9.569, allocations: 0 / 3.076 GB, free: 211.4 MB / 0.7795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01175/9.581, allocations: 2.153 MB / 3.078 GB, free: 211.3 MB / 0.7795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5819/10.16, allocations: 161.4 MB / 3.235 GB, free: 70.35 MB / 0.7795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003937/10.17, allocations: 0.8804 MB / 3.236 GB, free: 69.47 MB / 0.7795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5183/10.68, allocations: 133.6 MB / 3.367 GB, free: 217.2 MB / 0.7795 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/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 (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/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]