Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="IDEAS_dev_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.004967/0.004967, allocations: 101.9 kB / 15.73 MB, free: 5.516 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.001163/0.001163, allocations: 203.4 kB / 16.68 MB, free: 5.445 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 4.121 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8918/0.8918, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 59.89 kB / 0.5852 GB, free: 3.73 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.362, allocations: 80.91 MB / 0.6642 GB, free: 7.25 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.657/1.019, allocations: 355.6 MB / 1.011 GB, free: 6.371 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.09245/1.112, allocations: 72.84 MB / 1.083 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0147/1.126, allocations: 429.5 kB / 1.083 GB, free: 12.94 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.01467/1.141, allocations: 5.436 MB / 1.088 GB, free: 7.469 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.03684/1.178, allocations: 14.15 MB / 1.102 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.022/1.2, allocations: 9.76 MB / 1.112 GB, free: 15.58 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.04426/1.244, allocations: 37.58 MB / 1.148 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0269/1.271, allocations: 19.83 MB / 1.168 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03189/1.303, allocations: 17.13 MB / 1.184 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02622/1.329, allocations: 15.83 MB / 1.2 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.006664/1.336, allocations: 1.855 MB / 1.202 GB, free: 3.004 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.8278/2.164, allocations: 5.694 MB / 1.207 GB, free: 53.36 MB / 0.8732 GB Notification: Performance of NFScalarize.scalarize: time 0.01017/2.174, allocations: 5.774 MB / 1.213 GB, free: 53.36 MB / 0.8732 GB Notification: Performance of NFVerifyModel.verify: time 0.02739/2.201, allocations: 10.38 MB / 1.223 GB, free: 52.56 MB / 0.8732 GB Notification: Performance of NFConvertDAE.convert: time 0.04846/2.25, allocations: 29.11 MB / 1.251 GB, free: 48.85 MB / 0.8732 GB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/2.25, allocations: 2.406 kB / 1.251 GB, free: 48.85 MB / 0.8732 GB Notification: Performance of FrontEnd: time 2.204e-06/2.25, allocations: 2.438 kB / 1.251 GB, free: 48.85 MB / 0.8732 GB Notification: Performance of Transformations before backend: time 0.001174/2.251, allocations: 0 / 1.251 GB, free: 48.85 MB / 0.8732 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.06902/2.32, allocations: 22.83 MB / 1.274 GB, free: 40.56 MB / 0.8732 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/2.32, allocations: 8.531 kB / 1.274 GB, free: 40.56 MB / 0.8732 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00569/2.326, allocations: 1.04 MB / 1.275 GB, free: 40.47 MB / 0.8732 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01304/2.339, allocations: 2.334 MB / 1.277 GB, free: 39.4 MB / 0.8732 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04016/2.379, allocations: 18.13 MB / 1.295 GB, free: 36.46 MB / 0.8732 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008164/2.38, allocations: 0.6634 MB / 1.295 GB, free: 36.45 MB / 0.8732 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005996/2.386, allocations: 0.9319 MB / 1.296 GB, free: 36.43 MB / 0.8732 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04068/2.427, allocations: 16.4 MB / 1.312 GB, free: 35.62 MB / 0.8732 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004504/2.427, allocations: 12.72 kB / 1.312 GB, free: 35.62 MB / 0.8732 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004856/2.432, allocations: 328.7 kB / 1.313 GB, free: 35.62 MB / 0.8732 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003683/2.432, allocations: 375.1 kB / 1.313 GB, free: 35.61 MB / 0.8732 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03749/2.47, allocations: 20.85 MB / 1.333 GB, free: 33.18 MB / 0.8732 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.1423/2.612, allocations: 81.95 MB / 1.413 GB, free: 12.95 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02225/2.635, allocations: 12.35 MB / 1.426 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01655/2.651, allocations: 9.777 MB / 1.435 GB, free: 7.043 MB / 0.9357 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.07641/2.728, allocations: 34.43 MB / 1.469 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01776/2.745, allocations: 9.591 MB / 1.478 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0214/2.767, allocations: 5.778 MB / 1.484 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=551): time 2.747e-05/2.767, allocations: 0 / 1.484 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=822): time 1.301/4.068, allocations: 217 MB / 1.696 GB, free: 464 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1263/4.194, allocations: 55.99 MB / 1.75 GB, free: 407.3 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0247/4.219, allocations: 17.63 MB / 1.768 GB, free: 389.8 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.003786/4.223, allocations: 221.7 kB / 1.768 GB, free: 389.5 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.006485/4.229, allocations: 7.275 MB / 1.775 GB, free: 382.7 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.007138/4.236, allocations: 3.073 MB / 1.778 GB, free: 379.8 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007923/4.244, allocations: 3.54 MB / 1.781 GB, free: 376.2 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.597e-05/4.244, allocations: 305.1 kB / 1.782 GB, free: 375.9 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02446/4.269, allocations: 18.88 MB / 1.8 GB, free: 357.1 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02718/4.296, allocations: 21.45 MB / 1.821 GB, free: 334.6 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05333/4.349, allocations: 36.04 MB / 1.856 GB, free: 297.7 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.973e-05/4.35, allocations: 20 kB / 1.856 GB, free: 297.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=1347) (initialization): time 0.5942/4.944, allocations: 131.4 MB / 1.985 GB, free: 166.2 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 7.567e-05/4.944, allocations: 53.7 kB / 1.985 GB, free: 166.1 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.202e-05/4.944, allocations: 63.92 kB / 1.985 GB, free: 166 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5849/5.529, allocations: 118 MB / 2.1 GB, free: 48.16 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01716/5.546, allocations: 3.264 MB / 2.103 GB, free: 44.89 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4585/6.005, allocations: 81.58 MB / 2.183 GB, free: 464.6 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09486/6.1, allocations: 6.324 MB / 2.189 GB, free: 464.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005496/6.105, allocations: 1.288 MB / 2.19 GB, free: 464.4 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03543/6.141, allocations: 21.9 MB / 2.211 GB, free: 457.6 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02791/6.169, allocations: 21.01 MB / 2.232 GB, free: 449.4 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04944/6.218, allocations: 35.14 MB / 2.266 GB, free: 426.4 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.717e-05/6.218, allocations: 16 kB / 2.266 GB, free: 426.4 MB / 1.076 GB Notification: Performance of matching and sorting (n=1347) (initialization_lambda0): time 0.5844/6.802, allocations: 130 MB / 2.393 GB, free: 297.3 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.558e-05/6.803, allocations: 53.7 kB / 2.393 GB, free: 297.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.646e-05/6.803, allocations: 57.73 kB / 2.393 GB, free: 297.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5834/7.386, allocations: 117.6 MB / 2.508 GB, free: 179.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01557/7.402, allocations: 3.241 MB / 2.511 GB, free: 176.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1388/7.541, allocations: 86.13 MB / 2.596 GB, free: 90.34 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09577/7.636, allocations: 6.341 MB / 2.602 GB, free: 84 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005479/7.642, allocations: 1.254 MB / 2.603 GB, free: 82.74 MB / 1.076 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.007035/7.649, allocations: 0.7268 MB / 2.604 GB, free: 82.05 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006861/7.656, allocations: 1.552 MB / 2.605 GB, free: 80.48 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5562/8.212, allocations: 60.04 MB / 2.664 GB, free: 467 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2234/8.435, allocations: 66.56 MB / 2.729 GB, free: 458.8 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002492/8.436, allocations: 33.06 kB / 2.729 GB, free: 458.7 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2139/8.65, allocations: 65.88 MB / 2.793 GB, free: 429.5 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2924/8.942, allocations: 128.8 MB / 2.919 GB, free: 301 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.261e-05/8.942, allocations: 0 / 2.919 GB, free: 301 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0108/8.953, allocations: 1.874 MB / 2.921 GB, free: 299.1 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3307/9.284, allocations: 81.38 MB / 3 GB, free: 218 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00379/9.288, allocations: 0.5651 MB / 3.001 GB, free: 217.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1008/9.388, allocations: 58.31 MB / 3.058 GB, free: 159.1 MB / 1.076 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.1026/9.491, allocations: 54.04 MB / 3.111 GB, free: 104 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6139/10.11, allocations: 94.97 MB / 3.203 GB, free: 449.1 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02251/10.13, allocations: 5.807 MB / 3.209 GB, free: 449 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008693/10.14, allocations: 205.5 kB / 3.209 GB, free: 449 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0546/10.19, allocations: 3.23 MB / 3.212 GB, free: 449 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005218/10.2, allocations: 0.855 MB / 3.213 GB, free: 449 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002419/10.2, allocations: 0.6199 MB / 3.214 GB, free: 449 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.02473/10.22, allocations: 12.35 MB / 3.226 GB, free: 448.6 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.392e-06/10.22, allocations: 0 / 3.226 GB, free: 448.6 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.08531/10.31, allocations: 38.13 MB / 3.263 GB, free: 448.6 MB / 1.076 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.2455/10.55, allocations: 96.36 MB / 3.357 GB, free: 395.2 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.1204/10.67, allocations: 74.15 MB / 3.43 GB, free: 327.6 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/10.67, allocations: 3.562 kB / 3.43 GB, free: 327.6 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.05271/10.73, allocations: 25.24 MB / 3.454 GB, free: 302.6 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05268/10.78, allocations: 7.171 MB / 3.461 GB, free: 295.7 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.82/12.6, allocations: 426.2 MB / 3.877 GB, free: 404.4 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0128/12.61, allocations: 9.729 MB / 3.887 GB, free: 394.6 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.02401/12.64, allocations: 7.444 MB / 3.894 GB, free: 387.3 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01819/12.66, allocations: 9.611 MB / 3.904 GB, free: 377.7 MB / 1.076 GB Notification: Performance of SimCode: time 9.12e-07/12.66, allocations: 0 / 3.904 GB, free: 377.7 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.292/13.95, allocations: 0.7645 GB / 4.668 GB, free: 119.5 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 81/94.95, allocations: 3.75 kB / 4.668 GB, free: 119.5 MB / 1.076 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Examples_FlowSystem_Simplified3.fmu > IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)