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.001085/0.001085, allocations: 108 kB / 15.61 MB, free: 152 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.001225/0.001225, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.284/1.284, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7357/0.7357, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 64.22 kB / 0.5018 GB, free: 3.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4442/0.4457, allocations: 80.2 MB / 0.5801 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified3): time 0.6293/1.075, allocations: 355.6 MB / 0.9273 GB, free: 38.61 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.08865/1.164, allocations: 72.85 MB / 0.9984 GB, free: 13.39 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01407/1.178, allocations: 425.5 kB / 0.9988 GB, free: 12.98 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01486/1.193, allocations: 5.307 MB / 1.004 GB, free: 7.637 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.03656/1.229, allocations: 13.51 MB / 1.017 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.02182/1.251, allocations: 9.615 MB / 1.027 GB, free: 0.5547 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.04485/1.296, allocations: 37.38 MB / 1.063 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02803/1.324, allocations: 19.8 MB / 1.082 GB, free: 7.125 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03294/1.357, allocations: 16.63 MB / 1.099 GB, free: 6.48 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.8894/2.246, allocations: 15.82 MB / 1.114 GB, free: 36.47 MB / 0.7638 GB Notification: Performance of NFPackage.collectConstants: time 0.01176/2.258, allocations: 1.857 MB / 1.116 GB, free: 36.47 MB / 0.7638 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02542/2.284, allocations: 5.692 MB / 1.122 GB, free: 36.47 MB / 0.7638 GB Notification: Performance of NFScalarize.scalarize: time 0.01311/2.297, allocations: 5.774 MB / 1.127 GB, free: 36.47 MB / 0.7638 GB Notification: Performance of NFVerifyModel.verify: time 0.02885/2.326, allocations: 10.3 MB / 1.137 GB, free: 35.59 MB / 0.7638 GB Notification: Performance of NFConvertDAE.convert: time 0.04957/2.375, allocations: 28.45 MB / 1.165 GB, free: 32.71 MB / 0.7638 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/2.375, allocations: 2.812 kB / 1.165 GB, free: 32.71 MB / 0.7638 GB Notification: Performance of FrontEnd: time 1.853e-06/2.375, allocations: 0 / 1.165 GB, free: 32.71 MB / 0.7638 GB Notification: Performance of Transformations before backend: time 0.001095/2.377, allocations: 0 / 1.165 GB, free: 32.71 MB / 0.7638 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.08187/2.458, allocations: 22.1 MB / 1.187 GB, free: 24.98 MB / 0.7638 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/2.458, allocations: 10.06 kB / 1.187 GB, free: 24.98 MB / 0.7638 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01665/2.475, allocations: 2.232 MB / 1.189 GB, free: 24 MB / 0.7638 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04291/2.518, allocations: 15.29 MB / 1.204 GB, free: 21.1 MB / 0.7638 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008264/2.519, allocations: 0.6778 MB / 1.204 GB, free: 21.08 MB / 0.7638 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006151/2.525, allocations: 0.9311 MB / 1.205 GB, free: 21.05 MB / 0.7638 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04109/2.566, allocations: 16.41 MB / 1.221 GB, free: 16.13 MB / 0.7638 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004507/2.567, allocations: 10.84 kB / 1.221 GB, free: 16.13 MB / 0.7638 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004973/2.572, allocations: 326.2 kB / 1.222 GB, free: 16.13 MB / 0.7638 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004043/2.572, allocations: 368.8 kB / 1.222 GB, free: 16.09 MB / 0.7638 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04166/2.614, allocations: 20.86 MB / 1.242 GB, free: 9.527 MB / 0.7638 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1491/2.763, allocations: 81.5 MB / 1.322 GB, free: 8.742 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02291/2.786, allocations: 12.36 MB / 1.334 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01617/2.802, allocations: 9.722 MB / 1.344 GB, free: 2.875 MB / 0.8575 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.08011/2.882, allocations: 34.17 MB / 1.377 GB, free: 332 kB / 0.8888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02111/2.903, allocations: 9.597 MB / 1.386 GB, free: 6.652 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02326/2.927, allocations: 5.758 MB / 1.392 GB, free: 1.051 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=551): time 3.495e-05/2.927, allocations: 0 / 1.392 GB, free: 1.051 MB / 0.9044 GB Notification: Performance of matching and sorting (n=822): time 1.285/4.212, allocations: 216.7 MB / 1.603 GB, free: 362.7 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1336/4.346, allocations: 56 MB / 1.658 GB, free: 305.7 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02959/4.375, allocations: 14.92 MB / 1.673 GB, free: 290.9 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 0.004981/4.38, allocations: 217.7 kB / 1.673 GB, free: 290.7 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.009161/4.389, allocations: 7.178 MB / 1.68 GB, free: 283.9 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.008815/4.398, allocations: 2.925 MB / 1.683 GB, free: 281 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01795/4.416, allocations: 3.533 MB / 1.686 GB, free: 277.4 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 4.411e-05/4.416, allocations: 309.1 kB / 1.687 GB, free: 277.1 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03003/4.446, allocations: 18.87 MB / 1.705 GB, free: 258.2 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02981/4.476, allocations: 21.46 MB / 1.726 GB, free: 235.7 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05677/4.533, allocations: 36.04 MB / 1.761 GB, free: 198.9 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.13e-05/4.533, allocations: 16 kB / 1.761 GB, free: 198.9 MB / 0.9513 GB Notification: Performance of matching and sorting (n=1347) (initialization): time 0.5966/5.13, allocations: 131.3 MB / 1.889 GB, free: 67.39 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/5.13, allocations: 60.36 kB / 1.889 GB, free: 67.32 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.381e-05/5.13, allocations: 52 kB / 1.89 GB, free: 67.27 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9037/6.034, allocations: 118 MB / 2.005 GB, free: 418.8 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01772/6.051, allocations: 3.266 MB / 2.008 GB, free: 418.8 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1484/6.2, allocations: 81.57 MB / 2.088 GB, free: 359.5 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09377/6.294, allocations: 6.308 MB / 2.094 GB, free: 353.2 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005488/6.299, allocations: 1.283 MB / 2.095 GB, free: 351.9 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03349/6.333, allocations: 21.9 MB / 2.116 GB, free: 330 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02731/6.36, allocations: 21 MB / 2.137 GB, free: 308 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05196/6.412, allocations: 35.15 MB / 2.171 GB, free: 272 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.754e-05/6.412, allocations: 16 kB / 2.171 GB, free: 272 MB / 0.9513 GB Notification: Performance of matching and sorting (n=1347) (initialization_lambda0): time 0.5972/7.009, allocations: 129.9 MB / 2.298 GB, free: 142.9 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 8.97e-05/7.01, allocations: 53.7 kB / 2.298 GB, free: 142.9 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.712e-05/7.01, allocations: 52 kB / 2.298 GB, free: 142.8 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5834/7.593, allocations: 117.7 MB / 2.413 GB, free: 25.37 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.379/7.972, allocations: 3.25 MB / 2.416 GB, free: 413.2 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.158/8.13, allocations: 86.14 MB / 2.5 GB, free: 394.7 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09203/8.222, allocations: 6.343 MB / 2.507 GB, free: 394.5 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005642/8.228, allocations: 1.253 MB / 2.508 GB, free: 394.4 MB / 0.9513 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.006976/8.235, allocations: 0.7234 MB / 2.509 GB, free: 393.9 MB / 0.9513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006721/8.241, allocations: 1.46 MB / 2.51 GB, free: 393.9 MB / 0.9513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2094/8.451, allocations: 60.06 MB / 2.569 GB, free: 355.2 MB / 0.9513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2093/8.66, allocations: 66.57 MB / 2.634 GB, free: 288.8 MB / 0.9513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001016/8.66, allocations: 28 kB / 2.634 GB, free: 288.8 MB / 0.9513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2002/8.861, allocations: 65.87 MB / 2.698 GB, free: 223.1 MB / 0.9513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2893/9.15, allocations: 128.6 MB / 2.824 GB, free: 94.58 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.063e-05/9.15, allocations: 0 / 2.824 GB, free: 94.58 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01074/9.161, allocations: 1.876 MB / 2.825 GB, free: 92.7 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6785/9.839, allocations: 81.52 MB / 2.905 GB, free: 410.1 MB / 0.9513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004786/9.844, allocations: 0.5594 MB / 2.906 GB, free: 410.1 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1073/9.951, allocations: 58.31 MB / 2.963 GB, free: 398.5 MB / 0.9513 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.1126/10.06, allocations: 54.05 MB / 3.015 GB, free: 373.6 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2517/10.32, allocations: 94.87 MB / 3.108 GB, free: 290.2 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01676/10.33, allocations: 5.648 MB / 3.114 GB, free: 285.3 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008772/10.34, allocations: 215.9 kB / 3.114 GB, free: 285.1 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05216/10.39, allocations: 3.219 MB / 3.117 GB, free: 281.9 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006503/10.4, allocations: 0.8576 MB / 3.118 GB, free: 281 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003752/10.4, allocations: 0.6198 MB / 3.118 GB, free: 280.4 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.02112/10.43, allocations: 10.22 MB / 3.128 GB, free: 270.2 MB / 0.9513 GB Notification: Performance of sort global known variables: time 8.12e-07/10.43, allocations: 4 kB / 3.128 GB, free: 270.2 MB / 0.9513 GB Notification: Performance of remove unused functions: time 0.0861/10.51, allocations: 38.08 MB / 3.165 GB, free: 232.3 MB / 0.9513 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.006402/10.52, allocations: 1.773 MB / 3.167 GB, free: 230.7 MB / 0.9513 GB Notification: Performance of simCode: created initialization part: time 0.1852/10.7, allocations: 97.68 MB / 3.263 GB, free: 133.1 MB / 0.9513 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/10.7, allocations: 4.125 kB / 3.263 GB, free: 133.1 MB / 0.9513 GB Notification: Performance of simCode: created simulation system equations: time 0.05694/10.76, allocations: 25.23 MB / 3.287 GB, free: 107.9 MB / 0.9513 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05999/10.82, allocations: 7.186 MB / 3.294 GB, free: 101.1 MB / 0.9513 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0894/10.91, allocations: 51.49 MB / 3.345 GB, free: 49.62 MB / 0.9513 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0179/10.93, allocations: 9.737 MB / 3.354 GB, free: 39.84 MB / 0.9513 GB Notification: Performance of simCode: alias equations: time 0.0355/10.96, allocations: 7.443 MB / 3.361 GB, free: 32.39 MB / 0.9513 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01421/10.98, allocations: 1.926 MB / 3.363 GB, free: 30.46 MB / 0.9513 GB Notification: Performance of SimCode: time 1.653e-06/10.98, allocations: 0 / 3.363 GB, free: 30.46 MB / 0.9513 GB Notification: Performance of Templates: time 1.488/12.47, allocations: 0.6092 GB / 3.972 GB, free: 336.6 MB / 0.9513 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)