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: translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001227/0.001227, allocations: 191 kB / 17.29 MB, free: 5.516 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8047/0.8047, allocations: 132.2 MB / 423.3 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 63.91 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.349, allocations: 80.18 MB / 0.5815 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified3): time 0.6502/0.9993, allocations: 355.6 MB / 0.9287 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.09987/1.099, allocations: 72.83 MB / 0.9998 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01497/1.114, allocations: 429.5 kB / 1 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.01598/1.13, allocations: 5.317 MB / 1.005 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.04569/1.176, allocations: 13.5 MB / 1.019 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.02448/1.201, allocations: 9.738 MB / 1.028 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.5411/1.742, allocations: 37.49 MB / 1.065 GB, free: 26.91 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0334/1.775, allocations: 19.8 MB / 1.084 GB, free: 24.86 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04316/1.818, allocations: 16.71 MB / 1.1 GB, free: 23.59 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03158/1.85, allocations: 15.84 MB / 1.116 GB, free: 21.52 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.01048/1.86, allocations: 1.855 MB / 1.118 GB, free: 21.52 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0219/1.882, allocations: 5.701 MB / 1.123 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.01205/1.894, allocations: 5.775 MB / 1.129 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.02829/1.923, allocations: 10.31 MB / 1.139 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.04383/1.967, allocations: 28.75 MB / 1.167 GB, free: 5.59 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/1.967, allocations: 0 / 1.167 GB, free: 5.59 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.964e-06/1.967, allocations: 0 / 1.167 GB, free: 5.59 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0009323/1.968, allocations: 0 / 1.167 GB, free: 5.59 MB / 0.7481 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.06716/2.035, allocations: 22.1 MB / 1.189 GB, free: 2.133 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/2.035, allocations: 8.031 kB / 1.189 GB, free: 2.125 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01214/2.047, allocations: 2.236 MB / 1.191 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0385/2.086, allocations: 15.84 MB / 1.206 GB, free: 0.6133 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008876/2.086, allocations: 0.6653 MB / 1.207 GB, free: 15.96 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006083/2.093, allocations: 0.9269 MB / 1.208 GB, free: 15.04 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03747/2.13, allocations: 16.4 MB / 1.224 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002519/2.13, allocations: 19.59 kB / 1.224 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003207/2.134, allocations: 327.4 kB / 1.224 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003627/2.134, allocations: 370.6 kB / 1.225 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04051/2.174, allocations: 20.85 MB / 1.245 GB, free: 8.965 MB / 0.8262 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.1482/2.323, allocations: 81.17 MB / 1.324 GB, free: 5.27 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02058/2.343, allocations: 12.36 MB / 1.336 GB, free: 9.133 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01568/2.359, allocations: 9.732 MB / 1.346 GB, free: 15.39 MB / 0.9356 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.6474/3.006, allocations: 34.15 MB / 1.379 GB, free: 465.2 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01748/3.024, allocations: 9.59 MB / 1.388 GB, free: 461.9 MB / 0.9357 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01957/3.044, allocations: 5.752 MB / 1.394 GB, free: 460.6 MB / 0.9357 GB Notification: Performance of pre-optimization done (n=551): time 4.118e-05/3.044, allocations: 0 / 1.394 GB, free: 460.6 MB / 0.9357 GB Notification: Performance of matching and sorting (n=822): time 0.9274/3.971, allocations: 216.6 MB / 1.606 GB, free: 259.6 MB / 0.9357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1446/4.116, allocations: 55.92 MB / 1.66 GB, free: 202.6 MB / 0.9357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02922/4.145, allocations: 14.92 MB / 1.675 GB, free: 187.9 MB / 0.9357 GB Notification: Performance of collectPreVariables (initialization): time 0.004303/4.149, allocations: 224.8 kB / 1.675 GB, free: 187.6 MB / 0.9357 GB Notification: Performance of collectInitialEqns (initialization): time 0.007615/4.157, allocations: 7.148 MB / 1.682 GB, free: 180.6 MB / 0.9357 GB Notification: Performance of collectInitialBindings (initialization): time 0.008102/4.165, allocations: 2.921 MB / 1.685 GB, free: 177.7 MB / 0.9357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01546/4.181, allocations: 3.544 MB / 1.688 GB, free: 174.2 MB / 0.9357 GB Notification: Performance of setup shared object (initialization): time 4.291e-05/4.181, allocations: 305.1 kB / 1.689 GB, free: 173.9 MB / 0.9357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02921/4.21, allocations: 18.87 MB / 1.707 GB, free: 155 MB / 0.9357 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03072/4.241, allocations: 21.45 MB / 1.728 GB, free: 132.5 MB / 0.9357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05683/4.298, allocations: 36.04 MB / 1.763 GB, free: 95.64 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.842e-05/4.298, allocations: 16 kB / 1.763 GB, free: 95.62 MB / 0.9357 GB Notification: Performance of matching and sorting (n=1347) (initialization): time 1.138/5.435, allocations: 131.3 MB / 1.891 GB, free: 417.8 MB / 0.9358 GB Notification: Performance of prepare postOptimizeDAE: time 8.681e-05/5.435, allocations: 59.33 kB / 1.891 GB, free: 417.7 MB / 0.9358 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-05/5.435, allocations: 64.56 kB / 1.892 GB, free: 417.7 MB / 0.9358 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5375/5.973, allocations: 118 MB / 2.007 GB, free: 328.3 MB / 0.9358 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01666/5.99, allocations: 3.268 MB / 2.01 GB, free: 325.1 MB / 0.9358 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1324/6.122, allocations: 81.55 MB / 2.09 GB, free: 243.5 MB / 0.9358 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0737/6.196, allocations: 6.318 MB / 2.096 GB, free: 237.2 MB / 0.9358 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005673/6.202, allocations: 1.279 MB / 2.097 GB, free: 235.9 MB / 0.9358 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03163/6.233, allocations: 21.9 MB / 2.118 GB, free: 214 MB / 0.9358 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02654/6.26, allocations: 21 MB / 2.139 GB, free: 192 MB / 0.9358 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05109/6.311, allocations: 35.15 MB / 2.173 GB, free: 156 MB / 0.9358 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.487e-05/6.311, allocations: 12 kB / 2.173 GB, free: 156 MB / 0.9358 GB Notification: Performance of matching and sorting (n=1347) (initialization_lambda0): time 0.5418/6.853, allocations: 129.9 MB / 2.3 GB, free: 26.77 MB / 0.9358 GB Notification: Performance of prepare postOptimizeDAE: time 6.804e-05/6.853, allocations: 60.42 kB / 2.3 GB, free: 26.71 MB / 0.9358 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-05/6.853, allocations: 56 kB / 2.3 GB, free: 26.66 MB / 0.9358 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8484/7.701, allocations: 117.6 MB / 2.415 GB, free: 378.3 MB / 0.9358 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01599/7.717, allocations: 3.242 MB / 2.418 GB, free: 375.3 MB / 0.9358 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1439/7.861, allocations: 86.11 MB / 2.502 GB, free: 291 MB / 0.9358 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07315/7.935, allocations: 6.344 MB / 2.508 GB, free: 284.6 MB / 0.9358 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005581/7.94, allocations: 1.258 MB / 2.51 GB, free: 283.4 MB / 0.9358 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.006029/7.946, allocations: 0.7151 MB / 2.51 GB, free: 282.7 MB / 0.9358 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005714/7.952, allocations: 1.464 MB / 2.512 GB, free: 282 MB / 0.9358 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1868/8.139, allocations: 60.03 MB / 2.57 GB, free: 222.1 MB / 0.9358 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1924/8.331, allocations: 66.56 MB / 2.635 GB, free: 155.6 MB / 0.9358 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001658/8.331, allocations: 32 kB / 2.635 GB, free: 155.6 MB / 0.9358 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1886/8.52, allocations: 65.88 MB / 2.7 GB, free: 89.7 MB / 0.9358 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6451/9.165, allocations: 128.6 MB / 2.825 GB, free: 398.4 MB / 0.9358 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001014/9.165, allocations: 3.969 kB / 2.825 GB, free: 398.4 MB / 0.9358 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01124/9.176, allocations: 1.871 MB / 2.827 GB, free: 398.3 MB / 0.9358 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3063/9.483, allocations: 81.38 MB / 2.907 GB, free: 348 MB / 0.9358 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004112/9.487, allocations: 0.569 MB / 2.907 GB, free: 347.4 MB / 0.9358 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09296/9.58, allocations: 58.27 MB / 2.964 GB, free: 289.1 MB / 0.9358 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.1034/9.683, allocations: 54 MB / 3.017 GB, free: 234 MB / 0.9358 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2227/9.906, allocations: 94.87 MB / 3.11 GB, free: 140 MB / 0.9358 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01587/9.922, allocations: 5.649 MB / 3.115 GB, free: 135.1 MB / 0.9358 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00634/9.928, allocations: 212 kB / 3.115 GB, free: 134.9 MB / 0.9358 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04295/9.971, allocations: 3.222 MB / 3.118 GB, free: 131.7 MB / 0.9358 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005098/9.977, allocations: 0.8692 MB / 3.119 GB, free: 130.8 MB / 0.9358 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003359/9.98, allocations: 0.6159 MB / 3.12 GB, free: 130.2 MB / 0.9358 GB Notification: Performance of sorting global known variables: time 0.01833/9.998, allocations: 10.22 MB / 3.13 GB, free: 120 MB / 0.9358 GB Notification: Performance of sort global known variables: time 9.62e-07/9.998, allocations: 3.938 kB / 3.13 GB, free: 120 MB / 0.9358 GB Notification: Performance of remove unused functions: time 0.08286/10.08, allocations: 38.09 MB / 3.167 GB, free: 82.06 MB / 0.9358 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.006059/10.09, allocations: 1.771 MB / 3.169 GB, free: 80.54 MB / 0.9358 GB Notification: Performance of simCode: created initialization part: time 0.4791/10.57, allocations: 74.11 MB / 3.241 GB, free: 422.7 MB / 0.9358 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/10.57, allocations: 3.969 kB / 3.241 GB, free: 422.7 MB / 0.9358 GB Notification: Performance of simCode: created simulation system equations: time 0.05589/10.62, allocations: 25.23 MB / 3.266 GB, free: 422.3 MB / 0.9358 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05035/10.67, allocations: 7.179 MB / 3.273 GB, free: 421.8 MB / 0.9358 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0864/10.76, allocations: 51.1 MB / 3.323 GB, free: 403.2 MB / 0.9358 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01659/10.78, allocations: 9.726 MB / 3.332 GB, free: 397.6 MB / 0.9358 GB Notification: Performance of simCode: alias equations: time 0.03016/10.81, allocations: 7.442 MB / 3.339 GB, free: 392 MB / 0.9358 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0125/10.82, allocations: 1.923 MB / 3.341 GB, free: 390.6 MB / 0.9358 GB Notification: Performance of SimCode: time 2.175e-06/10.82, allocations: 0 / 3.341 GB, free: 390.6 MB / 0.9358 GB Notification: Performance of Templates: time 1.177/12, allocations: 0.6051 GB / 3.946 GB, free: 218.6 MB / 0.9358 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.makefile (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 & ./IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)