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.001782/0.001782, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.002076/0.002076, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.42/1.42, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.8776/0.8776, allocations: 134 MB / 442.8 MB, free: 11.3 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.001961/0.001961, allocations: 75.56 kB / 0.6135 GB, free: 8.652 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1644, allocations: 85.85 MB / 0.6973 GB, free: 2.879 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.7625/0.9269, allocations: 359.5 MB / 1.048 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.5646/1.491, allocations: 73.02 MB / 1.12 GB, free: 51.77 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01886/1.51, allocations: 0.5712 MB / 1.12 GB, free: 51.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01866/1.529, allocations: 5.497 MB / 1.126 GB, free: 51.67 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.04295/1.572, allocations: 14.15 MB / 1.14 GB, free: 51.11 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.02535/1.597, allocations: 9.808 MB / 1.149 GB, free: 50.85 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.04575/1.643, allocations: 37.51 MB / 1.186 GB, free: 39.68 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02295/1.666, allocations: 17.23 MB / 1.203 GB, free: 26.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03486/1.701, allocations: 17.34 MB / 1.219 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03011/1.731, allocations: 16.63 MB / 1.236 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.01/1.741, allocations: 1.871 MB / 1.238 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02636/1.767, allocations: 5.965 MB / 1.243 GB, free: 3.469 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.01401/1.781, allocations: 5.949 MB / 1.249 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.02737/1.809, allocations: 10.4 MB / 1.259 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.05596/1.865, allocations: 29.49 MB / 1.288 GB, free: 7.188 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/1.865, allocations: 4 kB / 1.288 GB, free: 7.184 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.803e-06/1.865, allocations: 0 / 1.288 GB, free: 7.184 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.001126/1.866, allocations: 3.938 kB / 1.288 GB, free: 7.18 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.06741/1.933, allocations: 20.48 MB / 1.308 GB, free: 2.816 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/1.933, allocations: 13.11 kB / 1.308 GB, free: 2.805 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005373/1.939, allocations: 1.05 MB / 1.309 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01281/1.951, allocations: 2.343 MB / 1.311 GB, free: 15.39 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0436/1.995, allocations: 18.17 MB / 1.329 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009668/1.996, allocations: 0.6621 MB / 1.33 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0054/2.001, allocations: 0.9251 MB / 1.331 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04261/2.044, allocations: 16.57 MB / 1.347 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000377/2.044, allocations: 15.83 kB / 1.347 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003529/2.048, allocations: 340 kB / 1.347 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004553/2.048, allocations: 359.3 kB / 1.348 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04549/2.094, allocations: 21.22 MB / 1.368 GB, free: 5.242 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.8112/2.905, allocations: 80.22 MB / 1.447 GB, free: 460.1 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02312/2.928, allocations: 11.2 MB / 1.458 GB, free: 456.9 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01534/2.944, allocations: 8.667 MB / 1.466 GB, free: 453.6 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.06404/3.008, allocations: 33.15 MB / 1.498 GB, free: 433.1 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01554/3.023, allocations: 9.725 MB / 1.508 GB, free: 427.2 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02861/3.052, allocations: 8.197 MB / 1.516 GB, free: 425.1 MB / 1.029 GB Notification: Performance of pre-optimization done (n=551): time 4.172e-05/3.052, allocations: 0 / 1.516 GB, free: 425.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=822): time 0.9122/3.964, allocations: 216.5 MB / 1.727 GB, free: 212.2 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1216/4.086, allocations: 55.85 MB / 1.782 GB, free: 155.2 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02419/4.11, allocations: 17.65 MB / 1.799 GB, free: 137.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.003963/4.114, allocations: 217.7 kB / 1.799 GB, free: 137.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.007114/4.121, allocations: 7.278 MB / 1.807 GB, free: 130.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.007361/4.128, allocations: 3.063 MB / 1.809 GB, free: 128.1 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0108/4.139, allocations: 3.548 MB / 1.813 GB, free: 124.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 3.429e-05/4.139, allocations: 305.1 kB / 1.813 GB, free: 124.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02466/4.164, allocations: 18.88 MB / 1.832 GB, free: 105.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0278/4.192, allocations: 21.45 MB / 1.853 GB, free: 82.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05204/4.244, allocations: 36.04 MB / 1.888 GB, free: 45.96 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.322e-05/4.244, allocations: 16 kB / 1.888 GB, free: 45.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=1347) (initialization): time 1.3/5.544, allocations: 131 MB / 2.016 GB, free: 403.6 MB / 1.03 GB Notification: Performance of prepare postOptimizeDAE: time 7.704e-05/5.544, allocations: 54.7 kB / 2.016 GB, free: 403.6 MB / 1.03 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.591e-05/5.544, allocations: 52.62 kB / 2.016 GB, free: 403.6 MB / 1.03 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5762/6.12, allocations: 118 MB / 2.131 GB, free: 298.1 MB / 1.03 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01635/6.136, allocations: 3.273 MB / 2.134 GB, free: 294.9 MB / 1.03 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1344/6.271, allocations: 81.56 MB / 2.214 GB, free: 213.3 MB / 1.03 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08631/6.357, allocations: 6.32 MB / 2.22 GB, free: 207 MB / 1.03 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00567/6.363, allocations: 1.282 MB / 2.221 GB, free: 205.7 MB / 1.03 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03308/6.396, allocations: 21.91 MB / 2.243 GB, free: 183.8 MB / 1.03 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02622/6.422, allocations: 21.01 MB / 2.263 GB, free: 161.8 MB / 1.03 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04888/6.471, allocations: 35.14 MB / 2.298 GB, free: 125.8 MB / 1.03 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.854e-05/6.471, allocations: 21.91 kB / 2.298 GB, free: 125.8 MB / 1.03 GB Notification: Performance of matching and sorting (n=1347) (initialization_lambda0): time 1.056/7.527, allocations: 129.5 MB / 2.424 GB, free: 402.4 MB / 1.03 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/7.527, allocations: 57.84 kB / 2.424 GB, free: 402.3 MB / 1.03 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001039/7.527, allocations: 52.16 kB / 2.424 GB, free: 402.3 MB / 1.03 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5807/8.108, allocations: 117.6 MB / 2.539 GB, free: 360.4 MB / 1.03 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01537/8.123, allocations: 3.246 MB / 2.542 GB, free: 357.3 MB / 1.03 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1396/8.263, allocations: 86.14 MB / 2.626 GB, free: 271.2 MB / 1.03 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08607/8.349, allocations: 6.357 MB / 2.633 GB, free: 264.8 MB / 1.03 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005485/8.354, allocations: 1.251 MB / 2.634 GB, free: 263.6 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.005792/8.36, allocations: 0.7211 MB / 2.634 GB, free: 262.9 MB / 1.03 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006181/8.366, allocations: 1.549 MB / 2.636 GB, free: 262.2 MB / 1.03 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2026/8.569, allocations: 59.55 MB / 2.694 GB, free: 203 MB / 1.03 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2114/8.78, allocations: 65.59 MB / 2.758 GB, free: 137.6 MB / 1.03 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001472/8.78, allocations: 32 kB / 2.758 GB, free: 137.5 MB / 1.03 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2016/8.982, allocations: 64.94 MB / 2.822 GB, free: 72.75 MB / 1.03 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6733/9.655, allocations: 127.8 MB / 2.946 GB, free: 391.8 MB / 1.03 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.379e-05/9.655, allocations: 0 / 2.946 GB, free: 391.8 MB / 1.03 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01089/9.666, allocations: 1.878 MB / 2.948 GB, free: 391.7 MB / 1.03 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3232/9.989, allocations: 81.38 MB / 3.028 GB, free: 342.4 MB / 1.03 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003724/9.993, allocations: 0.5727 MB / 3.028 GB, free: 341.8 MB / 1.03 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09713/10.09, allocations: 58.3 MB / 3.085 GB, free: 283.5 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.1025/10.19, allocations: 54 MB / 3.138 GB, free: 228.5 MB / 1.03 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2434/10.44, allocations: 94.01 MB / 3.23 GB, free: 135.6 MB / 1.03 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01605/10.45, allocations: 5.809 MB / 3.235 GB, free: 130.6 MB / 1.03 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007023/10.46, allocations: 204 kB / 3.236 GB, free: 130.4 MB / 1.03 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05047/10.51, allocations: 3.233 MB / 3.239 GB, free: 127.2 MB / 1.03 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005123/10.51, allocations: 0.8615 MB / 3.24 GB, free: 126.3 MB / 1.03 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002843/10.52, allocations: 0.6207 MB / 3.24 GB, free: 125.7 MB / 1.03 GB Notification: Performance of sorting global known variables: time 0.0199/10.54, allocations: 12.35 MB / 3.252 GB, free: 113.4 MB / 1.03 GB Notification: Performance of sort global known variables: time 2.4e-07/10.54, allocations: 0 / 3.252 GB, free: 113.4 MB / 1.03 GB Notification: Performance of remove unused functions: time 0.08773/10.63, allocations: 38.13 MB / 3.29 GB, free: 75.45 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.658/11.28, allocations: 95.37 MB / 3.383 GB, free: 410 MB / 1.03 GB Notification: Performance of simCode: created initialization part: time 0.1246/11.41, allocations: 70.99 MB / 3.452 GB, free: 388.9 MB / 1.03 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/11.41, allocations: 0 / 3.452 GB, free: 388.9 MB / 1.03 GB Notification: Performance of simCode: created simulation system equations: time 0.0524/11.46, allocations: 22.91 MB / 3.474 GB, free: 377.4 MB / 1.03 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05512/11.52, allocations: 7.187 MB / 3.481 GB, free: 372.2 MB / 1.03 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.897/13.41, allocations: 425.3 MB / 3.897 GB, free: 382.7 MB / 1.03 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01512/13.43, allocations: 9.736 MB / 3.906 GB, free: 378.6 MB / 1.03 GB Notification: Performance of simCode: alias equations: time 0.0309/13.46, allocations: 7.442 MB / 3.914 GB, free: 376.6 MB / 1.03 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02498/13.48, allocations: 9.612 MB / 3.923 GB, free: 373.8 MB / 1.03 GB Notification: Performance of SimCode: time 1.412e-06/13.48, allocations: 0 / 3.923 GB, free: 373.8 MB / 1.03 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.42/14.9, allocations: 0.7705 GB / 4.693 GB, free: 70.48 MB / 1.03 GB Notification: Performance of buildModelFMU: Generate platform static: time 101.6/116.5, allocations: 3.938 kB / 4.693 GB, free: 70.47 MB / 1.03 GB " [Timeout remaining time 543] (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: 120.56826844200259] Failed to read output from testmodel.py, exit status != 0: 116.95581122599833 116.971751387 115.10367747 Calling exit ...