Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.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.Simplified3,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified3",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.001139/0.00114, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 195.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7649/0.7649, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 65.08 kB / 0.5019 GB, free: 8.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1258, allocations: 80.2 MB / 0.5802 GB, free: 8.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified3): time 0.7897/0.9155, allocations: 355.5 MB / 0.9274 GB, free: 41.65 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.07991/0.9955, allocations: 72.83 MB / 0.9985 GB, free: 30.41 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01358/1.009, allocations: 430.9 kB / 0.9989 GB, free: 30.4 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01319/1.022, allocations: 5.307 MB / 1.004 GB, free: 27.69 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.03475/1.057, allocations: 13.51 MB / 1.017 GB, free: 18.72 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.02045/1.078, allocations: 9.632 MB / 1.027 GB, free: 12.18 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.04177/1.119, allocations: 37.37 MB / 1.063 GB, free: 7.844 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02859/1.148, allocations: 19.81 MB / 1.083 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03181/1.18, allocations: 16.62 MB / 1.099 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02606/1.206, allocations: 15.83 MB / 1.114 GB, free: 6.109 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.007121/1.213, allocations: 1.855 MB / 1.116 GB, free: 4.254 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01832/1.231, allocations: 5.695 MB / 1.122 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.009515/1.241, allocations: 5.775 MB / 1.127 GB, free: 9.254 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.01969/1.261, allocations: 10.38 MB / 1.137 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.03931/1.3, allocations: 28.68 MB / 1.165 GB, free: 3.449 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.3, allocations: 4 kB / 1.165 GB, free: 3.445 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.322e-06/1.3, allocations: 3.938 kB / 1.165 GB, free: 3.441 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0007052/1.301, allocations: 0 / 1.165 GB, free: 3.441 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.4529/1.754, allocations: 22.24 MB / 1.187 GB, free: 321.8 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/1.754, allocations: 8.688 kB / 1.187 GB, free: 321.8 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001662/1.755, allocations: 1.039 MB / 1.188 GB, free: 321.2 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007703/1.763, allocations: 2.241 MB / 1.19 GB, free: 320.2 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02891/1.792, allocations: 17.44 MB / 1.207 GB, free: 312.7 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006103/1.793, allocations: 0.6786 MB / 1.208 GB, free: 312.4 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003028/1.796, allocations: 0.9258 MB / 1.209 GB, free: 312.1 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03134/1.827, allocations: 16.4 MB / 1.225 GB, free: 306.1 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002238/1.827, allocations: 20.84 kB / 1.225 GB, free: 306.1 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001895/1.829, allocations: 324.4 kB / 1.225 GB, free: 305.9 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003628/1.83, allocations: 365.7 kB / 1.226 GB, free: 305.9 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0298/1.859, allocations: 20.86 MB / 1.246 GB, free: 296.8 MB / 0.795 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.09593/1.955, allocations: 82.17 MB / 1.326 GB, free: 211.6 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0143/1.97, allocations: 12.37 MB / 1.338 GB, free: 199.5 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01063/1.98, allocations: 9.725 MB / 1.348 GB, free: 189.7 MB / 0.795 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.04912/2.029, allocations: 34.42 MB / 1.381 GB, free: 154.9 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01092/2.04, allocations: 9.593 MB / 1.391 GB, free: 145.3 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01749/2.058, allocations: 5.745 MB / 1.396 GB, free: 139.7 MB / 0.795 GB Notification: Performance of pre-optimization done (n=551): time 2.275e-05/2.058, allocations: 0 / 1.396 GB, free: 139.7 MB / 0.795 GB Notification: Performance of matching and sorting (n=822): time 1.355/3.413, allocations: 216.7 MB / 1.608 GB, free: 269.8 MB / 0.7952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1268/3.54, allocations: 55.98 MB / 1.663 GB, free: 227.7 MB / 0.7952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02147/3.561, allocations: 17.63 MB / 1.68 GB, free: 210.2 MB / 0.7952 GB Notification: Performance of collectPreVariables (initialization): time 0.003179/3.564, allocations: 217.7 kB / 1.68 GB, free: 210 MB / 0.7952 GB Notification: Performance of collectInitialEqns (initialization): time 0.005548/3.57, allocations: 7.219 MB / 1.687 GB, free: 204.2 MB / 0.7952 GB Notification: Performance of collectInitialBindings (initialization): time 0.006625/3.577, allocations: 2.929 MB / 1.69 GB, free: 202.5 MB / 0.7952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00756/3.584, allocations: 3.536 MB / 1.694 GB, free: 198.9 MB / 0.7952 GB Notification: Performance of setup shared object (initialization): time 3.327e-05/3.584, allocations: 305.1 kB / 1.694 GB, free: 198.6 MB / 0.7952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0239/3.608, allocations: 18.87 MB / 1.712 GB, free: 179.8 MB / 0.7952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02761/3.636, allocations: 21.46 MB / 1.733 GB, free: 157.3 MB / 0.7952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0516/3.687, allocations: 36.04 MB / 1.768 GB, free: 120.4 MB / 0.7952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.684e-05/3.688, allocations: 12 kB / 1.768 GB, free: 120.4 MB / 0.7952 GB Notification: Performance of matching and sorting (n=1347) (initialization): time 0.8834/4.571, allocations: 131.3 MB / 1.897 GB, free: 268.5 MB / 0.7952 GB Notification: Performance of prepare postOptimizeDAE: time 8.391e-05/4.571, allocations: 57.17 kB / 1.897 GB, free: 268.5 MB / 0.7952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.237e-05/4.571, allocations: 53.34 kB / 1.897 GB, free: 268.5 MB / 0.7952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6287/5.2, allocations: 118 MB / 2.012 GB, free: 202.3 MB / 0.7952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01676/5.217, allocations: 3.27 MB / 2.015 GB, free: 199.1 MB / 0.7952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1405/5.357, allocations: 81.57 MB / 2.095 GB, free: 117.5 MB / 0.7952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0988/5.456, allocations: 6.324 MB / 2.101 GB, free: 111.2 MB / 0.7952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005108/5.461, allocations: 1.286 MB / 2.102 GB, free: 109.9 MB / 0.7952 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0336/5.495, allocations: 21.9 MB / 2.124 GB, free: 87.98 MB / 0.7952 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02703/5.522, allocations: 21.01 MB / 2.144 GB, free: 65.98 MB / 0.7952 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05061/5.572, allocations: 35.15 MB / 2.179 GB, free: 30.04 MB / 0.7952 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.554e-05/5.573, allocations: 20 kB / 2.179 GB, free: 30.02 MB / 0.7952 GB Notification: Performance of matching and sorting (n=1347) (initialization_lambda0): time 0.9004/6.473, allocations: 129.9 MB / 2.305 GB, free: 227.7 MB / 0.7952 GB Notification: Performance of prepare postOptimizeDAE: time 7.479e-05/6.473, allocations: 55.58 kB / 2.305 GB, free: 227.6 MB / 0.7952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.97e-05/6.473, allocations: 59.16 kB / 2.306 GB, free: 227.5 MB / 0.7952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6281/7.101, allocations: 117.7 MB / 2.42 GB, free: 110.2 MB / 0.7952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01561/7.117, allocations: 3.241 MB / 2.424 GB, free: 107 MB / 0.7952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.441/7.558, allocations: 86.15 MB / 2.508 GB, free: 254.2 MB / 0.7952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09989/7.658, allocations: 6.341 MB / 2.514 GB, free: 254.2 MB / 0.7952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00484/7.663, allocations: 1.247 MB / 2.515 GB, free: 254.2 MB / 0.7952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1027): * Single equations (assignments): 1011 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.004792/7.668, allocations: 0.7277 MB / 2.516 GB, free: 254 MB / 0.7952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005722/7.673, allocations: 1.467 MB / 2.517 GB, free: 254 MB / 0.7952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2263/7.9, allocations: 60.08 MB / 2.576 GB, free: 247.6 MB / 0.7952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2284/8.128, allocations: 66.56 MB / 2.641 GB, free: 207 MB / 0.7952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001085/8.128, allocations: 28 kB / 2.641 GB, free: 206.9 MB / 0.7952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2061/8.334, allocations: 65.89 MB / 2.705 GB, free: 141.2 MB / 0.7952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5417/8.876, allocations: 128.8 MB / 2.831 GB, free: 245.5 MB / 0.7952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.755e-05/8.876, allocations: 2.594 kB / 2.831 GB, free: 245.5 MB / 0.7952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.011/8.887, allocations: 1.876 MB / 2.833 GB, free: 245.4 MB / 0.7952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3557/9.243, allocations: 81.53 MB / 2.913 GB, free: 232.9 MB / 0.7952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003332/9.246, allocations: 0.5691 MB / 2.913 GB, free: 232.6 MB / 0.7952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1071/9.353, allocations: 58.3 MB / 2.97 GB, free: 190.2 MB / 0.7952 GB Warning: The linear system: 1 : 0.0 = spl1.res1.m_flow + (-valHea.m_flow) - bou.ports[1].m_flow 2 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.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 - tabsNorth2[7].m_flow = 0.0 3 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 [ 1.0 , 0.0 , -1.0 ; 0.0 , 1.0 , 1.0 ; -1.0 , -1.0 , 0.0 ] * [ valHea.m_flow ; valCoo.m_flow ; spl1.res1.m_flow ] = [ -bou.ports[1].m_flow ; tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].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[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ] might be structurally or numerically singular for variable spl1.res1.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.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 - tabsNorth2[7].m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-valHea.m_flow) - bou.ports[1].m_flow 3 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow ; valHea.m_flow ; spl1.res1.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].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[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ] might be structurally or numerically singular for variable spl1.res1.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 3 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 3 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1087/9.462, allocations: 54.05 MB / 3.023 GB, free: 135.1 MB / 0.7952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2518/9.714, allocations: 94.88 MB / 3.116 GB, free: 41.23 MB / 0.7952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01319/9.727, allocations: 5.734 MB / 3.121 GB, free: 36.18 MB / 0.7952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004534/9.732, allocations: 208 kB / 3.121 GB, free: 35.98 MB / 0.7952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05128/9.783, allocations: 3.227 MB / 3.125 GB, free: 32.75 MB / 0.7952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003777/9.787, allocations: 0.8576 MB / 3.125 GB, free: 31.89 MB / 0.7952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001506/9.788, allocations: 0.6236 MB / 3.126 GB, free: 31.27 MB / 0.7952 GB Notification: Performance of sorting global known variables: time 0.0156/9.804, allocations: 12.35 MB / 3.138 GB, free: 18.99 MB / 0.7952 GB Notification: Performance of sort global known variables: time 3.71e-07/9.804, allocations: 0 / 3.138 GB, free: 18.99 MB / 0.7952 GB Notification: Performance of remove unused functions: time 0.3336/10.14, allocations: 38.11 MB / 3.175 GB, free: 258.7 MB / 0.7952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($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.vol.dynBal.U,valSouth.filter.s[1],valNorth.vol.dynBal.U,valNorth.filter.s[1],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],vol.p) * 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 (605): * Single equations (assignments): 584 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(7,83), (1,1), (38,197)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2532/10.39, allocations: 96.25 MB / 3.269 GB, free: 213.3 MB / 0.7952 GB Notification: Performance of simCode: created initialization part: time 0.1831/10.57, allocations: 97.68 MB / 3.365 GB, free: 122.8 MB / 0.7952 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/10.57, allocations: 0 / 3.365 GB, free: 122.8 MB / 0.7952 GB Notification: Performance of simCode: created simulation system equations: time 0.05342/10.63, allocations: 25.24 MB / 3.389 GB, free: 98.07 MB / 0.7952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05244/10.68, allocations: 7.187 MB / 3.396 GB, free: 91.56 MB / 0.7952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.165/12.85, allocations: 0.5129 GB / 3.909 GB, free: 219 MB / 0.7952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01289/12.86, allocations: 9.73 MB / 3.919 GB, free: 214.9 MB / 0.7952 GB Notification: Performance of simCode: alias equations: time 0.02643/12.88, allocations: 7.438 MB / 3.926 GB, free: 212.9 MB / 0.7952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01823/12.9, allocations: 9.614 MB / 3.935 GB, free: 206.3 MB / 0.7952 GB Notification: Performance of SimCode: time 1.062e-06/12.9, allocations: 4 kB / 3.935 GB, free: 206.3 MB / 0.7952 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.857/14.76, allocations: 0.7638 GB / 4.699 GB, free: 230.9 MB / 0.7952 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.5/43.26, allocations: 3.875 kB / 4.699 GB, free: 230.9 MB / 0.7952 GB (rm -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified3.fmu > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)