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.007765/0.007765, allocations: 98.2 kB / 15.73 MB, free: 5.988 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.001824/0.001824, allocations: 185.1 kB / 16.67 MB, free: 5.918 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7351/0.7351, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 62.67 kB / 0.5809 GB, free: 1.051 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1372, allocations: 80.2 MB / 0.6593 GB, free: 13.91 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pmpSouth.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pmpNorth.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpHea.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpCoo.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified3): time 0.6213/0.7585, allocations: 355.6 MB / 1.006 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.09301/0.8515, allocations: 72.84 MB / 1.078 GB, free: 9.461 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01316/0.8648, allocations: 425.5 kB / 1.078 GB, free: 9.043 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.01433/0.8791, allocations: 5.44 MB / 1.083 GB, free: 3.57 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.03756/0.9167, allocations: 14.14 MB / 1.097 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.02365/0.9404, allocations: 9.761 MB / 1.107 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.9267/1.867, allocations: 37.56 MB / 1.143 GB, free: 32.73 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02551/1.893, allocations: 19.84 MB / 1.163 GB, free: 30.78 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03468/1.927, allocations: 17.12 MB / 1.179 GB, free: 30.06 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02772/1.955, allocations: 15.84 MB / 1.195 GB, free: 27.98 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.008422/1.964, allocations: 1.86 MB / 1.197 GB, free: 27.98 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01956/1.983, allocations: 5.698 MB / 1.202 GB, free: 27.9 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.01063/1.994, allocations: 5.774 MB / 1.208 GB, free: 27.23 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.02007/2.014, allocations: 10.38 MB / 1.218 GB, free: 24.55 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.03863/2.053, allocations: 29.11 MB / 1.247 GB, free: 17.82 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/2.053, allocations: 3.984 kB / 1.247 GB, free: 17.82 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.463e-06/2.053, allocations: 0 / 1.247 GB, free: 17.82 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.00083/2.053, allocations: 0 / 1.247 GB, free: 17.82 MB / 0.8419 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.0591/2.113, allocations: 22.83 MB / 1.269 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/2.113, allocations: 8.031 kB / 1.269 GB, free: 3.539 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004487/2.117, allocations: 1.044 MB / 1.27 GB, free: 2.98 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01164/2.129, allocations: 2.331 MB / 1.272 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04021/2.169, allocations: 18.13 MB / 1.29 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006622/2.17, allocations: 0.6669 MB / 1.29 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005115/2.175, allocations: 0.9217 MB / 1.291 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03498/2.21, allocations: 16.41 MB / 1.307 GB, free: 7.23 MB / 0.8732 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001668/2.21, allocations: 21.27 kB / 1.307 GB, free: 7.219 MB / 0.8732 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001273/2.211, allocations: 324.5 kB / 1.308 GB, free: 7.148 MB / 0.8732 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000325/2.212, allocations: 366.8 kB / 1.308 GB, free: 6.809 MB / 0.8732 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03642/2.248, allocations: 20.86 MB / 1.328 GB, free: 3.281 MB / 0.8888 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.1461/2.394, allocations: 81.94 MB / 1.408 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02257/2.417, allocations: 12.36 MB / 1.421 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01679/2.434, allocations: 9.778 MB / 1.43 GB, free: 8.965 MB / 0.9982 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.07942/2.513, allocations: 34.43 MB / 1.464 GB, free: 6.133 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01921/2.532, allocations: 9.587 MB / 1.473 GB, free: 12.48 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02158/2.554, allocations: 5.776 MB / 1.479 GB, free: 6.859 MB / 1.045 GB Notification: Performance of pre-optimization done (n=551): time 3.158e-05/2.554, allocations: 0 / 1.479 GB, free: 6.859 MB / 1.045 GB Notification: Performance of matching and sorting (n=822): time 1.269/3.823, allocations: 217 MB / 1.691 GB, free: 375.8 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1271/3.95, allocations: 55.97 MB / 1.745 GB, free: 318.7 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02393/3.974, allocations: 17.64 MB / 1.763 GB, free: 301.2 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.003682/3.978, allocations: 219.9 kB / 1.763 GB, free: 301 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.006186/3.984, allocations: 7.279 MB / 1.77 GB, free: 294 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.007406/3.991, allocations: 3.06 MB / 1.773 GB, free: 291 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007695/3.999, allocations: 3.543 MB / 1.776 GB, free: 287.4 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.493e-05/3.999, allocations: 309.1 kB / 1.777 GB, free: 287.1 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02341/4.023, allocations: 18.88 MB / 1.795 GB, free: 268.2 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02681/4.049, allocations: 21.45 MB / 1.816 GB, free: 245.8 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05252/4.102, allocations: 36.04 MB / 1.851 GB, free: 208.9 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-05/4.102, allocations: 16 kB / 1.851 GB, free: 208.9 MB / 1.061 GB Notification: Performance of matching and sorting (n=1347) (initialization): time 0.6017/4.704, allocations: 131.4 MB / 1.98 GB, free: 77.35 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.505e-05/4.704, allocations: 57.64 kB / 1.98 GB, free: 77.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.322e-05/4.704, allocations: 52 kB / 1.98 GB, free: 77.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9532/5.657, allocations: 117.9 MB / 2.095 GB, free: 465.6 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01727/5.674, allocations: 3.268 MB / 2.098 GB, free: 465.6 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1382/5.813, allocations: 81.59 MB / 2.178 GB, free: 414.6 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09173/5.904, allocations: 6.317 MB / 2.184 GB, free: 408.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005379/5.91, allocations: 1.282 MB / 2.185 GB, free: 407 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03449/5.944, allocations: 21.91 MB / 2.207 GB, free: 385.1 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02722/5.972, allocations: 21 MB / 2.227 GB, free: 363.1 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05059/6.022, allocations: 35.15 MB / 2.261 GB, free: 327.1 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.242e-05/6.022, allocations: 16 kB / 2.261 GB, free: 327.1 MB / 1.061 GB Notification: Performance of matching and sorting (n=1347) (initialization_lambda0): time 0.6002/6.623, allocations: 130 MB / 2.388 GB, free: 198 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.543e-05/6.623, allocations: 53.7 kB / 2.388 GB, free: 197.9 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.546e-05/6.623, allocations: 59.94 kB / 2.388 GB, free: 197.9 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5878/7.211, allocations: 117.6 MB / 2.503 GB, free: 80.6 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01635/7.227, allocations: 3.248 MB / 2.506 GB, free: 77.35 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5274/7.754, allocations: 86.13 MB / 2.591 GB, free: 446.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0929/7.847, allocations: 6.345 MB / 2.597 GB, free: 446.5 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005419/7.853, allocations: 1.251 MB / 2.598 GB, free: 446.5 MB / 1.061 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.007669/7.86, allocations: 0.7271 MB / 2.599 GB, free: 446.3 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007707/7.868, allocations: 1.546 MB / 2.6 GB, free: 446.3 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2222/8.09, allocations: 60.05 MB / 2.659 GB, free: 434.4 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2199/8.31, allocations: 66.56 MB / 2.724 GB, free: 387.1 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001784/8.311, allocations: 31.12 kB / 2.724 GB, free: 387.1 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2089/8.52, allocations: 65.89 MB / 2.788 GB, free: 321.4 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2887/8.808, allocations: 128.8 MB / 2.914 GB, free: 192.8 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.548e-05/8.808, allocations: 7.938 kB / 2.914 GB, free: 192.8 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01038/8.819, allocations: 1.872 MB / 2.916 GB, free: 190.9 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3323/9.151, allocations: 81.37 MB / 2.995 GB, free: 109.7 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003204/9.154, allocations: 0.569 MB / 2.996 GB, free: 109.1 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09773/9.252, allocations: 58.31 MB / 3.053 GB, free: 50.75 MB / 1.061 GB Warning: The linear system: 1 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.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 + (-bou.ports[1].m_flow) - valHea.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 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.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 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.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.4716/9.724, allocations: 54.04 MB / 3.106 GB, free: 449.1 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2518/9.976, allocations: 94.98 MB / 3.198 GB, free: 430 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0184/9.994, allocations: 5.809 MB / 3.204 GB, free: 425.9 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007031/10, allocations: 211.8 kB / 3.204 GB, free: 425.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05351/10.05, allocations: 3.22 MB / 3.207 GB, free: 424.2 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005108/10.06, allocations: 0.8627 MB / 3.208 GB, free: 423.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002935/10.06, allocations: 0.6188 MB / 3.209 GB, free: 423.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.02122/10.08, allocations: 12.35 MB / 3.221 GB, free: 413.3 MB / 1.061 GB Notification: Performance of sort global known variables: time 6.71e-07/10.08, allocations: 0 / 3.221 GB, free: 413.3 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.08628/10.17, allocations: 38.12 MB / 3.258 GB, free: 375.3 MB / 1.061 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.2477/10.42, allocations: 96.37 MB / 3.352 GB, free: 280.8 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.1212/10.54, allocations: 74.14 MB / 3.425 GB, free: 206.7 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/10.54, allocations: 4 kB / 3.425 GB, free: 206.7 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.05218/10.59, allocations: 25.24 MB / 3.449 GB, free: 181.4 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0487/10.64, allocations: 7.174 MB / 3.456 GB, free: 174.7 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.833/12.47, allocations: 426.2 MB / 3.872 GB, free: 281.7 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01042/12.48, allocations: 9.736 MB / 3.882 GB, free: 271.9 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.02468/12.51, allocations: 7.442 MB / 3.889 GB, free: 264.7 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01802/12.53, allocations: 9.615 MB / 3.899 GB, free: 255.1 MB / 1.061 GB Notification: Performance of SimCode: time 1.272e-06/12.53, allocations: 0 / 3.899 GB, free: 255.1 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.695/14.22, allocations: 0.7645 GB / 4.663 GB, free: 424.7 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 94.59/108.8, allocations: 11.88 kB / 4.663 GB, free: 424.7 MB / 1.061 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)