Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_10_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.007225/0.007224, allocations: 105.4 kB / 15.74 MB, free: 6.012 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.001802/0.001802, allocations: 199.2 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.398/2.398, allocations: 437.1 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 71.89 kB / 1.018 GB, free: 9.824 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7529/0.7543, allocations: 151.6 MB / 1.166 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.3476/1.102, allocations: 357.8 MB / 1.516 GB, free: 12.84 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.8515/1.953, allocations: 75.84 MB / 1.59 GB, free: 61.94 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01614/1.97, allocations: 434.9 kB / 1.59 GB, free: 61.94 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01728/1.987, allocations: 6.429 MB / 1.596 GB, free: 61.92 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.03589/2.023, allocations: 14.09 MB / 1.61 GB, free: 61.38 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02385/2.047, allocations: 10.19 MB / 1.62 GB, free: 61.04 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.09426/2.141, allocations: 74.18 MB / 1.693 GB, free: 53.17 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0281/2.169, allocations: 20.02 MB / 1.712 GB, free: 37.91 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03475/2.204, allocations: 17.03 MB / 1.729 GB, free: 22.3 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02735/2.231, allocations: 16.38 MB / 1.745 GB, free: 7.086 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.008651/2.24, allocations: 1.957 MB / 1.747 GB, free: 5.129 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02068/2.261, allocations: 6.041 MB / 1.752 GB, free: 15.36 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0118/2.273, allocations: 6.494 MB / 1.759 GB, free: 9.094 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.02734/2.3, allocations: 11.26 MB / 1.77 GB, free: 14.02 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.05355/2.354, allocations: 31.3 MB / 1.8 GB, free: 15.82 MB / 1.342 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/2.354, allocations: 0 / 1.8 GB, free: 15.82 MB / 1.342 GB Notification: Performance of FrontEnd: time 1.904e-06/2.354, allocations: 4 kB / 1.8 GB, free: 15.82 MB / 1.342 GB Notification: Performance of Transformations before backend: time 0.001172/2.355, allocations: 0 / 1.8 GB, free: 15.82 MB / 1.342 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2045 * Number of variables: 2045 Notification: Performance of Generate backend data structure: time 0.07453/2.429, allocations: 24.06 MB / 1.824 GB, free: 7.805 MB / 1.357 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/2.429, allocations: 12.92 kB / 1.824 GB, free: 7.793 MB / 1.357 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004678/2.434, allocations: 1.047 MB / 1.825 GB, free: 6.742 MB / 1.357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01925/2.453, allocations: 3.196 MB / 1.828 GB, free: 3.52 MB / 1.357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05148/2.505, allocations: 23.01 MB / 1.851 GB, free: 12.82 MB / 1.389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008238/2.506, allocations: 0.6728 MB / 1.851 GB, free: 12.15 MB / 1.389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004895/2.511, allocations: 0.9358 MB / 1.852 GB, free: 11.22 MB / 1.389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04114/2.552, allocations: 17.07 MB / 1.869 GB, free: 9.957 MB / 1.404 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000326/2.552, allocations: 15.81 kB / 1.869 GB, free: 9.941 MB / 1.404 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003155/2.555, allocations: 329.5 kB / 1.869 GB, free: 9.625 MB / 1.404 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003701/2.556, allocations: 363.4 kB / 1.869 GB, free: 9.27 MB / 1.404 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04036/2.596, allocations: 21.5 MB / 1.89 GB, free: 3.754 MB / 1.42 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.1466/2.743, allocations: 83.97 MB / 1.972 GB, free: 13.25 MB / 1.514 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02297/2.766, allocations: 13.03 MB / 1.985 GB, free: 476 kB / 1.514 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01691/2.783, allocations: 10.07 MB / 1.995 GB, free: 6.383 MB / 1.529 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.07602/2.859, allocations: 35.56 MB / 2.03 GB, free: 2.488 MB / 1.561 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01749/2.876, allocations: 10.15 MB / 2.04 GB, free: 8.27 MB / 1.576 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02171/2.898, allocations: 5.81 MB / 2.045 GB, free: 2.617 MB / 1.576 GB Notification: Performance of pre-optimization done (n=567): time 3.033e-05/2.898, allocations: 0 / 2.045 GB, free: 2.617 MB / 1.576 GB Notification: Performance of matching and sorting (n=838): time 1.566/4.464, allocations: 217.7 MB / 2.258 GB, free: 0.6943 GB / 1.701 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1316/4.596, allocations: 55.93 MB / 2.313 GB, free: 0.6393 GB / 1.701 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02768/4.624, allocations: 20.51 MB / 2.333 GB, free: 0.6196 GB / 1.701 GB Notification: Performance of collectPreVariables (initialization): time 0.003845/4.628, allocations: 225.5 kB / 2.333 GB, free: 0.6194 GB / 1.701 GB Notification: Performance of collectInitialEqns (initialization): time 0.006079/4.634, allocations: 7.777 MB / 2.34 GB, free: 0.6132 GB / 1.701 GB Notification: Performance of collectInitialBindings (initialization): time 0.007376/4.641, allocations: 2.996 MB / 2.343 GB, free: 0.6115 GB / 1.701 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008004/4.649, allocations: 3.995 MB / 2.347 GB, free: 0.6076 GB / 1.701 GB Notification: Performance of setup shared object (initialization): time 3.584e-05/4.649, allocations: 301.1 kB / 2.348 GB, free: 0.6073 GB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02579/4.675, allocations: 20.28 MB / 2.367 GB, free: 0.5875 GB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02979/4.705, allocations: 23.1 MB / 2.39 GB, free: 0.5639 GB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05535/4.76, allocations: 38.61 MB / 2.428 GB, free: 0.5254 GB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.613e-05/4.76, allocations: 16 kB / 2.428 GB, free: 0.5254 GB / 1.701 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.6322/5.392, allocations: 134.6 MB / 2.559 GB, free: 403.3 MB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/5.393, allocations: 53.89 kB / 2.559 GB, free: 403.3 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.974e-05/5.393, allocations: 56 kB / 2.559 GB, free: 403.2 MB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6095/6.002, allocations: 118 MB / 2.674 GB, free: 285.3 MB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01805/6.02, allocations: 3.557 MB / 2.678 GB, free: 281.8 MB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1324/6.153, allocations: 81.88 MB / 2.758 GB, free: 199.5 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09975/6.252, allocations: 6.449 MB / 2.764 GB, free: 193.1 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004781/6.257, allocations: 1.315 MB / 2.765 GB, free: 191.7 MB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03308/6.29, allocations: 23.67 MB / 2.788 GB, free: 168 MB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02804/6.318, allocations: 22.59 MB / 2.81 GB, free: 144.4 MB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05032/6.369, allocations: 37.58 MB / 2.847 GB, free: 106 MB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.864e-05/6.369, allocations: 16 kB / 2.847 GB, free: 106 MB / 1.701 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 1.214/7.583, allocations: 133 MB / 2.977 GB, free: 0.6912 GB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 7.035e-05/7.583, allocations: 61.61 kB / 2.977 GB, free: 0.6912 GB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.69e-05/7.583, allocations: 60.22 kB / 2.977 GB, free: 0.6912 GB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.623/8.206, allocations: 117.6 MB / 3.092 GB, free: 0.6103 GB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01888/8.225, allocations: 3.521 MB / 3.095 GB, free: 0.607 GB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1431/8.369, allocations: 86.13 MB / 3.18 GB, free: 0.5228 GB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09805/8.467, allocations: 6.501 MB / 3.186 GB, free: 0.5165 GB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006038/8.473, allocations: 1.286 MB / 3.187 GB, free: 0.5152 GB / 1.701 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * 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 (1171): * Single equations (assignments): 1151 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 4 * 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.007248/8.48, allocations: 0.7555 MB / 3.188 GB, free: 0.5145 GB / 1.701 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007295/8.487, allocations: 1.624 MB / 3.19 GB, free: 0.5138 GB / 1.701 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2159/8.703, allocations: 60.75 MB / 3.249 GB, free: 465.7 MB / 1.701 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2331/8.936, allocations: 67.04 MB / 3.314 GB, free: 398.8 MB / 1.701 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001343/8.937, allocations: 28 kB / 3.314 GB, free: 398.7 MB / 1.701 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2256/9.162, allocations: 66.36 MB / 3.379 GB, free: 332.4 MB / 1.701 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3058/9.468, allocations: 130.6 MB / 3.507 GB, free: 201.9 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.83e-05/9.468, allocations: 0 / 3.507 GB, free: 201.9 MB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01175/9.48, allocations: 1.977 MB / 3.509 GB, free: 199.9 MB / 1.701 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3597/9.84, allocations: 81.39 MB / 3.588 GB, free: 118.6 MB / 1.701 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00368/9.843, allocations: 0.569 MB / 3.589 GB, free: 118 MB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1099/9.953, allocations: 58.55 MB / 3.646 GB, free: 59.41 MB / 1.701 GB Warning: The linear system: 1 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 3 : 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 [ -1.0 , 0.0 , -1.0 ; 0.0 , -1.0 , 1.0 ; 1.0 , 1.0 , 0.0 ] * [ valCoo.m_flow ; spl1.res1.m_flow ; valHea.m_flow ] = [ (-valNorth.res1.m_flow) - valSouth.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 ] might be structurally or numerically singular for variable valHea.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. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.6856/10.64, allocations: 54.07 MB / 3.699 GB, free: 0.6801 GB / 1.701 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2682/10.91, allocations: 96.19 MB / 3.793 GB, free: 0.6585 GB / 1.701 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01788/10.93, allocations: 6.027 MB / 3.799 GB, free: 0.6544 GB / 1.701 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007671/10.93, allocations: 214.6 kB / 3.799 GB, free: 0.6542 GB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05656/10.99, allocations: 3.319 MB / 3.802 GB, free: 0.6526 GB / 1.701 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005132/10.99, allocations: 0.864 MB / 3.803 GB, free: 0.6523 GB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003382/11, allocations: 0.63 MB / 3.803 GB, free: 0.652 GB / 1.701 GB Notification: Performance of sorting global known variables: time 0.02141/11.02, allocations: 14.29 MB / 3.817 GB, free: 0.6393 GB / 1.701 GB Notification: Performance of sort global known variables: time 7.31e-07/11.02, allocations: 0 / 3.817 GB, free: 0.6393 GB / 1.701 GB Notification: Performance of remove unused functions: time 0.08808/11.11, allocations: 38.71 MB / 3.855 GB, free: 0.6017 GB / 1.701 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 (621): * Single equations (assignments): 600 * 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.2771/11.38, allocations: 97.69 MB / 3.951 GB, free: 0.5079 GB / 1.701 GB Notification: Performance of simCode: created initialization part: time 0.1297/11.51, allocations: 77.43 MB / 4.026 GB, free: 442.7 MB / 1.701 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/11.51, allocations: 8.062 kB / 4.026 GB, free: 442.7 MB / 1.701 GB Notification: Performance of simCode: created simulation system equations: time 0.0559/11.57, allocations: 25.49 MB / 4.051 GB, free: 417.2 MB / 1.701 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06121/11.63, allocations: 7.98 MB / 4.059 GB, free: 409.7 MB / 1.701 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.764/14.4, allocations: 443.7 MB / 4.492 GB, free: 0.6595 GB / 1.701 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01439/14.41, allocations: 10.46 MB / 4.502 GB, free: 0.6584 GB / 1.701 GB Notification: Performance of simCode: alias equations: time 0.02493/14.44, allocations: 7.989 MB / 4.51 GB, free: 0.6581 GB / 1.701 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01836/14.45, allocations: 10.37 MB / 4.52 GB, free: 0.6573 GB / 1.701 GB Notification: Performance of SimCode: time 1.042e-06/14.45, allocations: 0 / 4.52 GB, free: 0.6573 GB / 1.701 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.526/15.98, allocations: 0.8086 GB / 5.329 GB, free: 0.6028 GB / 1.701 GB Notification: Performance of buildModelFMU: Generate platform static: time 107.7/123.7, allocations: 9.812 kB / 5.329 GB, free: 0.6028 GB / 1.701 GB (rm -f Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)