Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_9_Buildings_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.008158/0.008158, allocations: 106.3 kB / 15.74 MB, free: 6.004 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.001992/0.001992, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.188/2.188, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 59.91 kB / 0.9505 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.795/0.7962, allocations: 140.4 MB / 1.088 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.3481/1.144, allocations: 355.6 MB / 1.435 GB, free: 9.617 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.1017/1.246, allocations: 72.95 MB / 1.506 GB, free: 488 kB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01334/1.259, allocations: 425.5 kB / 1.506 GB, free: 60 kB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.01482/1.274, allocations: 5.311 MB / 1.512 GB, free: 10.71 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.03786/1.312, allocations: 13.52 MB / 1.525 GB, free: 13.14 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.02383/1.336, allocations: 9.767 MB / 1.534 GB, free: 3.445 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.04625/1.382, allocations: 37.55 MB / 1.571 GB, free: 13.8 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 1.268/2.651, allocations: 19.78 MB / 1.59 GB, free: 77.48 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03465/2.685, allocations: 16.7 MB / 1.607 GB, free: 77.47 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03381/2.719, allocations: 15.83 MB / 1.622 GB, free: 75.57 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.009766/2.729, allocations: 1.858 MB / 1.624 GB, free: 75.57 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02238/2.751, allocations: 5.702 MB / 1.63 GB, free: 75.57 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.01219/2.763, allocations: 5.78 MB / 1.635 GB, free: 74.9 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.02558/2.789, allocations: 10.38 MB / 1.645 GB, free: 72.22 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.05011/2.839, allocations: 29 MB / 1.674 GB, free: 68.79 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/2.839, allocations: 3.781 kB / 1.674 GB, free: 68.79 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.473e-06/2.839, allocations: 0 / 1.674 GB, free: 68.79 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0009131/2.84, allocations: 0 / 1.674 GB, free: 68.79 MB / 1.311 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.06796/2.908, allocations: 22.25 MB / 1.695 GB, free: 60.81 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/2.908, allocations: 9.719 kB / 1.695 GB, free: 60.81 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004565/2.913, allocations: 1.04 MB / 1.696 GB, free: 60.72 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0136/2.926, allocations: 2.582 MB / 1.699 GB, free: 59.71 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03893/2.965, allocations: 18.12 MB / 1.717 GB, free: 56.16 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007685/2.966, allocations: 0.6661 MB / 1.717 GB, free: 56.15 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005235/2.971, allocations: 0.9244 MB / 1.718 GB, free: 56.13 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03265/3.004, allocations: 16.52 MB / 1.734 GB, free: 51.17 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002589/3.004, allocations: 13.28 kB / 1.734 GB, free: 51.17 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002866/3.007, allocations: 328.9 kB / 1.735 GB, free: 51.16 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002951/3.008, allocations: 368.1 kB / 1.735 GB, free: 51.12 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03786/3.045, allocations: 21.04 MB / 1.756 GB, free: 47.96 MB / 1.311 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.134/3.179, allocations: 82.11 MB / 1.836 GB, free: 9.711 MB / 1.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0206/3.2, allocations: 12.54 MB / 1.848 GB, free: 13.39 MB / 1.358 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01559/3.216, allocations: 9.873 MB / 1.858 GB, free: 3.508 MB / 1.358 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.07698/3.293, allocations: 34.52 MB / 1.891 GB, free: 0.6992 MB / 1.389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0195/3.312, allocations: 9.689 MB / 1.901 GB, free: 6.938 MB / 1.404 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02225/3.335, allocations: 5.762 MB / 1.906 GB, free: 1.336 MB / 1.404 GB Notification: Performance of pre-optimization done (n=551): time 3.025e-05/3.335, allocations: 0 / 1.906 GB, free: 1.336 MB / 1.404 GB Notification: Performance of matching and sorting (n=822): time 1.004/4.338, allocations: 217.1 MB / 2.118 GB, free: 7.383 MB / 1.623 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.6732/5.012, allocations: 55.94 MB / 2.173 GB, free: 0.7186 GB / 1.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0395/5.051, allocations: 17.64 MB / 2.19 GB, free: 0.717 GB / 1.67 GB Notification: Performance of collectPreVariables (initialization): time 0.004051/5.055, allocations: 213.3 kB / 2.19 GB, free: 0.7168 GB / 1.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0089/5.064, allocations: 7.187 MB / 2.197 GB, free: 0.7126 GB / 1.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.008171/5.072, allocations: 2.931 MB / 2.2 GB, free: 0.7122 GB / 1.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01798/5.09, allocations: 3.534 MB / 2.204 GB, free: 0.7114 GB / 1.67 GB Notification: Performance of setup shared object (initialization): time 3.926e-05/5.09, allocations: 301.6 kB / 2.204 GB, free: 0.7111 GB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03304/5.123, allocations: 18.96 MB / 2.223 GB, free: 0.7057 GB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03504/5.158, allocations: 21.56 MB / 2.244 GB, free: 0.6974 GB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05954/5.218, allocations: 36.2 MB / 2.279 GB, free: 0.6844 GB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.834e-05/5.218, allocations: 17.81 kB / 2.279 GB, free: 0.6844 GB / 1.67 GB Notification: Performance of matching and sorting (n=1347) (initialization): time 0.6221/5.84, allocations: 131.5 MB / 2.407 GB, free: 0.5847 GB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.924e-05/5.84, allocations: 57.7 kB / 2.407 GB, free: 0.5847 GB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.969e-05/5.84, allocations: 55.28 kB / 2.408 GB, free: 0.5846 GB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6092/6.45, allocations: 118 MB / 2.523 GB, free: 480.7 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01808/6.468, allocations: 3.307 MB / 2.526 GB, free: 477.4 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1394/6.607, allocations: 81.55 MB / 2.606 GB, free: 395.5 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09673/6.704, allocations: 6.354 MB / 2.612 GB, free: 389.2 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006369/6.71, allocations: 1.279 MB / 2.613 GB, free: 387.9 MB / 1.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03676/6.747, allocations: 22 MB / 2.635 GB, free: 365.9 MB / 1.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02928/6.777, allocations: 21.09 MB / 2.655 GB, free: 343.7 MB / 1.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05326/6.83, allocations: 35.31 MB / 2.69 GB, free: 307.6 MB / 1.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.72e-05/6.83, allocations: 19.94 kB / 2.69 GB, free: 307.6 MB / 1.67 GB Notification: Performance of matching and sorting (n=1347) (initialization_lambda0): time 0.6168/7.447, allocations: 130.1 MB / 2.817 GB, free: 177.4 MB / 1.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.598e-05/7.447, allocations: 53.7 kB / 2.817 GB, free: 177.3 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-05/7.447, allocations: 56.3 kB / 2.817 GB, free: 177.3 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5991/8.046, allocations: 117.6 MB / 2.932 GB, free: 59.69 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01718/8.063, allocations: 3.284 MB / 2.935 GB, free: 56.4 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7816/8.845, allocations: 86.09 MB / 3.019 GB, free: 0.6751 GB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1016/8.946, allocations: 6.381 MB / 3.025 GB, free: 0.6749 GB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00704/8.954, allocations: 1.254 MB / 3.026 GB, free: 0.6748 GB / 1.67 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.008975/8.963, allocations: 0.7184 MB / 3.027 GB, free: 0.6744 GB / 1.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00899/8.972, allocations: 1.472 MB / 3.029 GB, free: 0.6744 GB / 1.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2346/9.206, allocations: 60.24 MB / 3.087 GB, free: 0.6611 GB / 1.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2428/9.449, allocations: 66.73 MB / 3.152 GB, free: 0.6189 GB / 1.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002299/9.449, allocations: 39.11 kB / 3.153 GB, free: 0.6189 GB / 1.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2294/9.679, allocations: 66.04 MB / 3.217 GB, free: 0.5545 GB / 1.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3156/9.994, allocations: 129.1 MB / 3.343 GB, free: 439.1 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001143/9.994, allocations: 0 / 3.343 GB, free: 439.1 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01233/10.01, allocations: 1.911 MB / 3.345 GB, free: 437.2 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3493/10.36, allocations: 81.37 MB / 3.424 GB, free: 356 MB / 1.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004272/10.36, allocations: 0.5612 MB / 3.425 GB, free: 355.4 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1178/10.48, allocations: 58.3 MB / 3.482 GB, free: 297 MB / 1.67 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.127/10.61, allocations: 54.02 MB / 3.535 GB, free: 241.9 MB / 1.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2739/10.88, allocations: 95.15 MB / 3.628 GB, free: 147.5 MB / 1.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01895/10.9, allocations: 5.737 MB / 3.633 GB, free: 141.7 MB / 1.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008164/10.91, allocations: 212 kB / 3.633 GB, free: 141.5 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05697/10.96, allocations: 3.253 MB / 3.637 GB, free: 138.2 MB / 1.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005395/10.97, allocations: 0.8615 MB / 3.637 GB, free: 137.4 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003626/10.97, allocations: 0.6198 MB / 3.638 GB, free: 136.8 MB / 1.67 GB Notification: Performance of sorting global known variables: time 0.0217/10.99, allocations: 12.37 MB / 3.65 GB, free: 124.5 MB / 1.67 GB Notification: Performance of sort global known variables: time 4.11e-07/10.99, allocations: 0 / 3.65 GB, free: 124.5 MB / 1.67 GB Notification: Performance of remove unused functions: time 0.09902/11.09, allocations: 38.11 MB / 3.687 GB, free: 86.45 MB / 1.67 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.8672/11.96, allocations: 96.54 MB / 3.782 GB, free: 0.6933 GB / 1.67 GB Notification: Performance of simCode: created initialization part: time 0.1481/12.11, allocations: 74.38 MB / 3.854 GB, free: 0.6703 GB / 1.67 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/12.11, allocations: 7.469 kB / 3.854 GB, free: 0.6703 GB / 1.67 GB Notification: Performance of simCode: created simulation system equations: time 0.05714/12.17, allocations: 25.31 MB / 3.879 GB, free: 0.6625 GB / 1.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05606/12.22, allocations: 7.178 MB / 3.886 GB, free: 0.6606 GB / 1.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.555/13.78, allocations: 426.1 MB / 4.302 GB, free: 266.9 MB / 1.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01426/13.79, allocations: 9.732 MB / 4.312 GB, free: 257.1 MB / 1.67 GB Notification: Performance of simCode: alias equations: time 0.02598/13.82, allocations: 7.465 MB / 4.319 GB, free: 249.6 MB / 1.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01875/13.84, allocations: 9.619 MB / 4.328 GB, free: 240 MB / 1.67 GB Notification: Performance of SimCode: time 7.82e-07/13.84, allocations: 0 / 4.328 GB, free: 240 MB / 1.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.502/15.34, allocations: 0.7652 GB / 5.093 GB, free: 239.3 MB / 1.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 91.5/106.8, allocations: 11.78 kB / 5.093 GB, free: 239.3 MB / 1.67 GB (rm -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.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 Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)