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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 114.5 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 217 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.368/1.368, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8244/0.8244, allocations: 134 MB / 446.4 MB, free: 10.2 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 66.58 kB / 0.6186 GB, free: 7.117 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1575, allocations: 85.9 MB / 0.7025 GB, free: 1.285 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.1.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.1.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.7371/0.8946, allocations: 363.1 MB / 1.057 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.5933/1.488, allocations: 73.29 MB / 1.129 GB, free: 53.13 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01644/1.504, allocations: 0.5694 MB / 1.129 GB, free: 53.13 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01548/1.52, allocations: 5.55 MB / 1.135 GB, free: 53.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.04038/1.56, allocations: 14.44 MB / 1.149 GB, free: 52.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.02473/1.585, allocations: 10.08 MB / 1.159 GB, free: 52.12 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.05255/1.637, allocations: 38.15 MB / 1.196 GB, free: 37.47 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02951/1.667, allocations: 15.66 MB / 1.211 GB, free: 26.11 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03809/1.705, allocations: 17.44 MB / 1.228 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03069/1.736, allocations: 16.65 MB / 1.244 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.009567/1.745, allocations: 1.867 MB / 1.246 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02438/1.77, allocations: 6.089 MB / 1.252 GB, free: 2.43 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0119/1.782, allocations: 5.974 MB / 1.258 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.02596/1.808, allocations: 10.41 MB / 1.268 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0521/1.86, allocations: 29.5 MB / 1.297 GB, free: 6.098 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.86, allocations: 4 kB / 1.297 GB, free: 6.094 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.623e-06/1.86, allocations: 0 / 1.297 GB, free: 6.094 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0008297/1.86, allocations: 0 / 1.297 GB, free: 6.094 MB / 0.8887 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.05822/1.919, allocations: 20.43 MB / 1.317 GB, free: 1.797 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/1.919, allocations: 12.03 kB / 1.317 GB, free: 1.785 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004459/1.923, allocations: 1.039 MB / 1.318 GB, free: 0.7422 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01161/1.935, allocations: 2.339 MB / 1.32 GB, free: 14.39 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04231/1.977, allocations: 17.94 MB / 1.338 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007726/1.978, allocations: 0.6607 MB / 1.338 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004033/1.982, allocations: 0.9219 MB / 1.339 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03338/2.015, allocations: 16.58 MB / 1.355 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001939/2.016, allocations: 15.83 kB / 1.356 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001382/2.017, allocations: 330.2 kB / 1.356 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003675/2.017, allocations: 367.2 kB / 1.356 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03828/2.056, allocations: 21.22 MB / 1.377 GB, free: 4.438 MB / 0.9669 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.8067/2.862, allocations: 80.3 MB / 1.455 GB, free: 459 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02126/2.883, allocations: 11.06 MB / 1.466 GB, free: 456 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01474/2.898, allocations: 8.67 MB / 1.475 GB, free: 452.7 MB / 1.029 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.07442/2.973, allocations: 31.72 MB / 1.506 GB, free: 434.4 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01749/2.99, allocations: 9.729 MB / 1.515 GB, free: 428.4 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02841/3.019, allocations: 8.196 MB / 1.523 GB, free: 426.3 MB / 1.029 GB Notification: Performance of pre-optimization done (n=551): time 4.596e-05/3.019, allocations: 0 / 1.523 GB, free: 426.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=822): time 0.85/3.869, allocations: 216.3 MB / 1.734 GB, free: 213.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.13/3.999, allocations: 55.6 MB / 1.789 GB, free: 156.9 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02694/4.026, allocations: 17.68 MB / 1.806 GB, free: 139.4 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.00441/4.03, allocations: 213.7 kB / 1.806 GB, free: 139.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.007523/4.037, allocations: 7.287 MB / 1.813 GB, free: 132.3 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.007838/4.045, allocations: 3.059 MB / 1.816 GB, free: 129.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007658/4.053, allocations: 3.548 MB / 1.82 GB, free: 126.1 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 4.493e-05/4.053, allocations: 301.1 kB / 1.82 GB, free: 125.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02388/4.077, allocations: 18.89 MB / 1.838 GB, free: 106.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02865/4.106, allocations: 21.46 MB / 1.859 GB, free: 84.44 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05823/4.164, allocations: 36.06 MB / 1.895 GB, free: 47.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001307/4.164, allocations: 16 kB / 1.895 GB, free: 47.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=1347) (initialization): time 1.379/5.543, allocations: 131 MB / 2.022 GB, free: 402 MB / 1.03 GB Notification: Performance of prepare postOptimizeDAE: time 0.000112/5.543, allocations: 56.42 kB / 2.023 GB, free: 402 MB / 1.03 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.333e-05/5.543, allocations: 56.75 kB / 2.023 GB, free: 402 MB / 1.03 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5391/6.082, allocations: 118 MB / 2.138 GB, free: 296.4 MB / 1.03 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01594/6.098, allocations: 3.262 MB / 2.141 GB, free: 293.2 MB / 1.03 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1322/6.23, allocations: 81.46 MB / 2.22 GB, free: 211.7 MB / 1.03 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07604/6.306, allocations: 6.319 MB / 2.227 GB, free: 205.4 MB / 1.03 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006135/6.313, allocations: 1.283 MB / 2.228 GB, free: 204.1 MB / 1.03 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03499/6.348, allocations: 21.91 MB / 2.249 GB, free: 182.2 MB / 1.03 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02736/6.375, allocations: 21.02 MB / 2.27 GB, free: 160.1 MB / 1.03 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04973/6.425, allocations: 35.16 MB / 2.304 GB, free: 124.1 MB / 1.03 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.976e-05/6.425, allocations: 16 kB / 2.304 GB, free: 124.1 MB / 1.03 GB Notification: Performance of matching and sorting (n=1347) (initialization_lambda0): time 0.989/7.414, allocations: 129.5 MB / 2.431 GB, free: 402 MB / 1.03 GB Notification: Performance of prepare postOptimizeDAE: time 8.292e-05/7.414, allocations: 60.42 kB / 2.431 GB, free: 402 MB / 1.03 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.104e-05/7.414, allocations: 52.81 kB / 2.431 GB, free: 402 MB / 1.03 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5506/7.965, allocations: 117.6 MB / 2.546 GB, free: 358.5 MB / 1.03 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01502/7.98, allocations: 3.244 MB / 2.549 GB, free: 355.4 MB / 1.03 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1415/8.121, allocations: 85.92 MB / 2.633 GB, free: 269.5 MB / 1.03 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07697/8.198, allocations: 6.347 MB / 2.639 GB, free: 263.2 MB / 1.03 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006238/8.204, allocations: 1.251 MB / 2.64 GB, free: 261.9 MB / 1.03 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.007288/8.212, allocations: 0.7225 MB / 2.641 GB, free: 261.2 MB / 1.03 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007143/8.219, allocations: 1.548 MB / 2.642 GB, free: 260.6 MB / 1.03 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1865/8.405, allocations: 59.58 MB / 2.701 GB, free: 201.3 MB / 1.03 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1933/8.599, allocations: 65.62 MB / 2.765 GB, free: 135.9 MB / 1.03 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001342/8.599, allocations: 32 kB / 2.765 GB, free: 135.8 MB / 1.03 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1843/8.783, allocations: 64.95 MB / 2.828 GB, free: 71.03 MB / 1.03 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.683/9.466, allocations: 127.9 MB / 2.953 GB, free: 390.4 MB / 1.03 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001075/9.466, allocations: 0 / 2.953 GB, free: 390.4 MB / 1.03 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01013/9.476, allocations: 1.873 MB / 2.955 GB, free: 390.3 MB / 1.03 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2981/9.774, allocations: 81.37 MB / 3.034 GB, free: 340.6 MB / 1.03 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003573/9.778, allocations: 0.5689 MB / 3.035 GB, free: 340 MB / 1.03 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0955/9.873, allocations: 58.2 MB / 3.092 GB, free: 281.9 MB / 1.03 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.1049/9.978, allocations: 52.93 MB / 3.143 GB, free: 228.2 MB / 1.03 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2298/10.21, allocations: 94.06 MB / 3.235 GB, free: 135.2 MB / 1.03 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02/10.23, allocations: 5.897 MB / 3.241 GB, free: 130.2 MB / 1.03 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007434/10.24, allocations: 208 kB / 3.241 GB, free: 130 MB / 1.03 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04471/10.28, allocations: 3.229 MB / 3.244 GB, free: 126.8 MB / 1.03 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005428/10.29, allocations: 0.8884 MB / 3.245 GB, free: 125.9 MB / 1.03 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003375/10.29, allocations: 0.6198 MB / 3.246 GB, free: 125.3 MB / 1.03 GB Notification: Performance of sorting global known variables: time 0.02288/10.31, allocations: 12.39 MB / 3.258 GB, free: 113 MB / 1.03 GB Notification: Performance of sort global known variables: time 2.91e-07/10.31, allocations: 0 / 3.258 GB, free: 113 MB / 1.03 GB Notification: Performance of remove unused functions: time 0.08607/10.4, allocations: 38.13 MB / 3.295 GB, free: 74.99 MB / 1.03 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.6235/11.02, allocations: 95.4 MB / 3.388 GB, free: 409.2 MB / 1.03 GB Notification: Performance of simCode: created initialization part: time 0.1188/11.14, allocations: 71.03 MB / 3.458 GB, free: 387.8 MB / 1.03 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/11.14, allocations: 3.531 kB / 3.458 GB, free: 387.8 MB / 1.03 GB Notification: Performance of simCode: created simulation system equations: time 0.04778/11.19, allocations: 22.92 MB / 3.48 GB, free: 375.6 MB / 1.03 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04903/11.24, allocations: 7.182 MB / 3.487 GB, free: 370.4 MB / 1.03 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.79/13.03, allocations: 425.6 MB / 3.903 GB, free: 380.6 MB / 1.03 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01678/13.04, allocations: 9.735 MB / 3.912 GB, free: 376.5 MB / 1.03 GB Notification: Performance of simCode: alias equations: time 0.02701/13.07, allocations: 7.44 MB / 3.919 GB, free: 374.5 MB / 1.03 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02196/13.09, allocations: 9.612 MB / 3.929 GB, free: 371.8 MB / 1.03 GB Notification: Performance of SimCode: time 2.404e-06/13.09, allocations: 4 kB / 3.929 GB, free: 371.8 MB / 1.03 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.317/14.41, allocations: 0.7893 GB / 4.718 GB, free: 48.72 MB / 1.03 GB Notification: Performance of buildModelFMU: Generate platform static: time 94.3/108.7, allocations: 7.891 kB / 4.718 GB, free: 48.71 MB / 1.03 GB " [Timeout remaining time 551] (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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 112.69547778800188] Failed to read output from testmodel.py, exit status != 0: 109.1682573490034 109.189544855 107.325557283 Calling exit ...