Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0009456/0.0009456, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 196.1 kB / 16.53 MB, free: 6.699 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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9847/0.9847, allocations: 143.1 MB / 433.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 55.91 kB / 0.5143 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1465, allocations: 82.04 MB / 0.5944 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3): time 0.8958/1.042, allocations: 358.2 MB / 0.9442 GB, free: 40.58 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.09081/1.133, allocations: 76.17 MB / 1.019 GB, free: 17.76 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01624/1.149, allocations: 433.5 kB / 1.019 GB, free: 17.33 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.03694/1.186, allocations: 23.52 MB / 1.042 GB, free: 9.773 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.04104/1.228, allocations: 14.09 MB / 1.056 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.02389/1.251, allocations: 10.04 MB / 1.065 GB, free: 1.703 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.09045/1.342, allocations: 66.78 MB / 1.131 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02704/1.369, allocations: 20.02 MB / 1.15 GB, free: 10.73 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.7817/2.151, allocations: 16.93 MB / 1.167 GB, free: 64.82 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03203/2.183, allocations: 16.37 MB / 1.183 GB, free: 64.82 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.01179/2.195, allocations: 1.959 MB / 1.185 GB, free: 64.82 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02859/2.223, allocations: 6.631 MB / 1.191 GB, free: 64.82 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.01364/2.237, allocations: 6.503 MB / 1.198 GB, free: 64.1 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0278/2.265, allocations: 11.3 MB / 1.209 GB, free: 61.16 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.05175/2.317, allocations: 33.08 MB / 1.241 GB, free: 57.91 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/2.317, allocations: 1.906 kB / 1.241 GB, free: 57.91 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.394e-06/2.317, allocations: 3.562 kB / 1.241 GB, free: 57.91 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.001058/2.318, allocations: 0 / 1.241 GB, free: 57.91 MB / 0.795 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.06899/2.387, allocations: 24.19 MB / 1.264 GB, free: 47.5 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/2.387, allocations: 10.94 kB / 1.265 GB, free: 47.5 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004877/2.392, allocations: 1.05 MB / 1.266 GB, free: 47.22 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01969/2.411, allocations: 3.201 MB / 1.269 GB, free: 45.77 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04274/2.454, allocations: 21.92 MB / 1.29 GB, free: 36.66 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007215/2.455, allocations: 0.7035 MB / 1.291 GB, free: 36.25 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005072/2.46, allocations: 0.938 MB / 1.292 GB, free: 35.61 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03757/2.498, allocations: 17.08 MB / 1.308 GB, free: 23.74 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00022/2.498, allocations: 10.19 kB / 1.308 GB, free: 23.74 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002804/2.501, allocations: 336.2 kB / 1.309 GB, free: 23.66 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002809/2.501, allocations: 367.2 kB / 1.309 GB, free: 23.32 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03802/2.539, allocations: 21.52 MB / 1.33 GB, free: 3.18 MB / 0.795 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.1562/2.695, allocations: 84.47 MB / 1.413 GB, free: 12.11 MB / 0.8888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0241/2.719, allocations: 13.04 MB / 1.425 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01765/2.737, allocations: 10.04 MB / 1.435 GB, free: 5.254 MB / 0.9044 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.07935/2.816, allocations: 35.72 MB / 1.47 GB, free: 1.16 MB / 0.9357 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0198/2.836, allocations: 10.16 MB / 1.48 GB, free: 6.941 MB / 0.9513 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02222/2.858, allocations: 5.816 MB / 1.486 GB, free: 1.285 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=567): time 2.762e-05/2.859, allocations: 3.938 kB / 1.486 GB, free: 1.281 MB / 0.9513 GB Notification: Performance of matching and sorting (n=838): time 1.256/4.114, allocations: 217.9 MB / 1.698 GB, free: 330.7 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1303/4.245, allocations: 56.09 MB / 1.753 GB, free: 273.6 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02626/4.271, allocations: 20.23 MB / 1.773 GB, free: 253.5 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.004467/4.275, allocations: 221.7 kB / 1.773 GB, free: 253.3 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.007654/4.283, allocations: 7.792 MB / 1.781 GB, free: 245.8 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.007731/4.291, allocations: 3.011 MB / 1.784 GB, free: 242.8 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01024/4.301, allocations: 4.079 MB / 1.788 GB, free: 238.7 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 3.223e-05/4.301, allocations: 317 kB / 1.788 GB, free: 238.4 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02788/4.329, allocations: 20.6 MB / 1.808 GB, free: 217.8 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03051/4.359, allocations: 23.48 MB / 1.831 GB, free: 193.2 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05732/4.417, allocations: 39.28 MB / 1.869 GB, free: 153.1 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.699e-05/4.417, allocations: 18.94 kB / 1.869 GB, free: 153.1 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1667) (initialization): time 0.6478/5.065, allocations: 135.3 MB / 2.002 GB, free: 17.64 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-05/5.065, allocations: 58.73 kB / 2.002 GB, free: 17.58 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.742e-05/5.065, allocations: 52 kB / 2.002 GB, free: 17.53 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9268/5.992, allocations: 118 MB / 2.117 GB, free: 388.3 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01953/6.011, allocations: 3.592 MB / 2.12 GB, free: 387.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1409/6.152, allocations: 81.93 MB / 2.2 GB, free: 316 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1021/6.254, allocations: 6.464 MB / 2.207 GB, free: 309.6 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005506/6.26, allocations: 1.341 MB / 2.208 GB, free: 308.2 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03486/6.295, allocations: 24.01 MB / 2.231 GB, free: 284.2 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02805/6.323, allocations: 22.97 MB / 2.254 GB, free: 260.2 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05244/6.375, allocations: 38.25 MB / 2.291 GB, free: 221.3 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.356e-05/6.375, allocations: 16 kB / 2.291 GB, free: 221.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1667) (initialization_lambda0): time 0.6363/7.012, allocations: 133.7 MB / 2.422 GB, free: 88.45 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.462e-05/7.012, allocations: 57.69 kB / 2.422 GB, free: 88.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.063e-05/7.012, allocations: 52 kB / 2.422 GB, free: 88.34 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9434/7.955, allocations: 117.7 MB / 2.537 GB, free: 383 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0189/7.974, allocations: 3.575 MB / 2.54 GB, free: 383 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1486/8.123, allocations: 86.17 MB / 2.625 GB, free: 361.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09942/8.222, allocations: 6.511 MB / 2.631 GB, free: 359.8 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005822/8.228, allocations: 1.315 MB / 2.632 GB, free: 359 MB / 0.9669 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 (1203): * Single equations (assignments): 1175 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 12 * 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.005538/8.234, allocations: 0.7766 MB / 2.633 GB, free: 358.5 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006951/8.241, allocations: 1.621 MB / 2.635 GB, free: 358.5 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2225/8.463, allocations: 60.79 MB / 2.694 GB, free: 302.3 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2325/8.696, allocations: 67.07 MB / 2.759 GB, free: 235.4 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.881e-05/8.696, allocations: 29.97 kB / 2.759 GB, free: 235.4 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2136/8.909, allocations: 66.38 MB / 2.824 GB, free: 169 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2872/9.197, allocations: 130.8 MB / 2.952 GB, free: 38.42 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.321e-05/9.197, allocations: 3.984 kB / 2.952 GB, free: 38.42 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01176/9.209, allocations: 1.978 MB / 2.954 GB, free: 36.44 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6755/9.884, allocations: 81.55 MB / 3.034 GB, free: 379.9 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003571/9.888, allocations: 0.5677 MB / 3.034 GB, free: 379.9 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1043/9.992, allocations: 58.56 MB / 3.091 GB, free: 367.3 MB / 0.9669 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 + (-valHea.m_flow) - bou.ports[1].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 + (-valHea.m_flow) - bou.ports[1].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 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - bou.ports.1.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.1085/10.1, allocations: 54.21 MB / 3.144 GB, free: 331.1 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2545/10.36, allocations: 96.2 MB / 3.238 GB, free: 236 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01543/10.37, allocations: 6.052 MB / 3.244 GB, free: 230.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006491/10.38, allocations: 208 kB / 3.244 GB, free: 230.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05578/10.43, allocations: 3.323 MB / 3.248 GB, free: 227.3 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004957/10.44, allocations: 0.8616 MB / 3.248 GB, free: 226.4 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002088/10.44, allocations: 0.6353 MB / 3.249 GB, free: 225.8 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.02216/10.46, allocations: 14.04 MB / 3.263 GB, free: 211.8 MB / 0.9669 GB Notification: Performance of sort global known variables: time 4.7e-07/10.46, allocations: 0 / 3.263 GB, free: 211.8 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.08613/10.55, allocations: 38.88 MB / 3.301 GB, free: 173.1 MB / 0.9669 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.2518/10.8, allocations: 97.87 MB / 3.396 GB, free: 75.47 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.4643/11.26, allocations: 102.6 MB / 3.496 GB, free: 413.6 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/11.26, allocations: 2.188 kB / 3.496 GB, free: 413.6 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0616/11.33, allocations: 25.5 MB / 3.521 GB, free: 406.2 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05687/11.38, allocations: 7.943 MB / 3.529 GB, free: 404.3 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.913/13.3, allocations: 0.5515 GB / 4.081 GB, free: 383.7 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01137/13.31, allocations: 10.48 MB / 4.091 GB, free: 376.6 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.02997/13.34, allocations: 7.983 MB / 4.099 GB, free: 368.9 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02231/13.36, allocations: 10.38 MB / 4.109 GB, free: 358.7 MB / 0.9669 GB Notification: Performance of SimCode: time 8.11e-07/13.36, allocations: 0 / 4.109 GB, free: 358.7 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.654/15.01, allocations: 0.8156 GB / 4.924 GB, free: 240.6 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.77/45.78, allocations: 5.859 kB / 4.924 GB, free: 240.6 MB / 0.9669 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified3.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)