Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.512/2.512, allocations: 476.7 MB / 0.7628 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_11_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 59.91 kB / 1.107 GB, free: 5.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7637/0.7656, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.366/1.132, allocations: 363.9 MB / 1.627 GB, free: 8.242 MB / 1.311 GB Notification: Performance of NFInst.instExpressions: time 0.1123/1.244, allocations: 76.27 MB / 1.701 GB, free: 11.79 MB / 1.389 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01709/1.261, allocations: 429.6 kB / 1.702 GB, free: 11.36 MB / 1.389 GB Notification: Performance of NFTyping.typeComponents: time 0.01931/1.28, allocations: 6.63 MB / 1.708 GB, free: 4.699 MB / 1.389 GB Notification: Performance of NFTyping.typeBindings: time 0.04163/1.322, allocations: 14.75 MB / 1.723 GB, free: 5.895 MB / 1.404 GB Notification: Performance of NFTyping.typeClassSections: time 0.02402/1.346, allocations: 10.31 MB / 1.733 GB, free: 11.64 MB / 1.42 GB Notification: Performance of NFFlatten.flatten: time 0.1027/1.449, allocations: 74.99 MB / 1.806 GB, free: 0.5117 MB / 1.482 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02543/1.474, allocations: 15.82 MB / 1.821 GB, free: 0.5352 MB / 1.498 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03371/1.508, allocations: 17.48 MB / 1.838 GB, free: 15.03 MB / 1.529 GB Notification: Performance of NFSimplifyModel.simplify: time 1.238/2.746, allocations: 17.2 MB / 1.855 GB, free: 133 MB / 1.529 GB Notification: Performance of NFPackage.collectConstants: time 0.007133/2.753, allocations: 1.968 MB / 1.857 GB, free: 133 MB / 1.529 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01697/2.77, allocations: 6.149 MB / 1.863 GB, free: 133 MB / 1.529 GB Notification: Performance of NFScalarize.scalarize: time 0.01024/2.78, allocations: 6.681 MB / 1.87 GB, free: 133 MB / 1.529 GB Notification: Performance of NFVerifyModel.verify: time 0.02551/2.805, allocations: 11.29 MB / 1.881 GB, free: 133 MB / 1.529 GB Notification: Performance of NFConvertDAE.convert: time 0.04709/2.852, allocations: 31.53 MB / 1.912 GB, free: 129.3 MB / 1.529 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/2.852, allocations: 3 kB / 1.912 GB, free: 129.3 MB / 1.529 GB Notification: Performance of FrontEnd: time 3.367e-06/2.852, allocations: 0 / 1.912 GB, free: 129.3 MB / 1.529 GB Notification: Performance of Transformations before backend: time 0.0009061/2.853, allocations: 1 kB / 1.912 GB, free: 129.3 MB / 1.529 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.06548/2.919, allocations: 22.35 MB / 1.933 GB, free: 120.2 MB / 1.529 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/2.919, allocations: 8.5 kB / 1.933 GB, free: 120.2 MB / 1.529 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004991/2.924, allocations: 1.05 MB / 1.934 GB, free: 120.1 MB / 1.529 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01732/2.941, allocations: 3.299 MB / 1.938 GB, free: 119 MB / 1.529 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.041/2.982, allocations: 23.19 MB / 1.96 GB, free: 115.9 MB / 1.529 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006009/2.983, allocations: 0.6707 MB / 1.961 GB, free: 115.8 MB / 1.529 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005086/2.988, allocations: 0.9465 MB / 1.962 GB, free: 115.8 MB / 1.529 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03572/3.024, allocations: 17.22 MB / 1.979 GB, free: 115 MB / 1.529 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002215/3.024, allocations: 15.8 kB / 1.979 GB, free: 115 MB / 1.529 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002562/3.026, allocations: 329.7 kB / 1.979 GB, free: 115 MB / 1.529 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000256/3.027, allocations: 371.9 kB / 1.979 GB, free: 115 MB / 1.529 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03067/3.057, allocations: 21.86 MB / 2.001 GB, free: 114.9 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 removeSimpleEquations (simulation): time 0.1058/3.163, allocations: 82.36 MB / 2.081 GB, free: 69.14 MB / 1.529 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01736/3.181, allocations: 11.85 MB / 2.093 GB, free: 64.66 MB / 1.529 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01115/3.192, allocations: 8.96 MB / 2.101 GB, free: 56.82 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.04769/3.239, allocations: 34.28 MB / 2.135 GB, free: 22.23 MB / 1.529 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01098/3.25, allocations: 10.28 MB / 2.145 GB, free: 11.87 MB / 1.529 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02486/3.275, allocations: 8.26 MB / 2.153 GB, free: 3.852 MB / 1.529 GB Notification: Performance of pre-optimization done (n=567): time 2.252e-05/3.275, allocations: 4 kB / 2.153 GB, free: 3.848 MB / 1.529 GB Notification: Performance of matching and sorting (n=838): time 0.9215/4.197, allocations: 217.6 MB / 2.366 GB, free: 9.461 MB / 1.748 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1509/4.348, allocations: 55.86 MB / 2.42 GB, free: 0.5742 MB / 1.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04191/4.389, allocations: 20.51 MB / 2.44 GB, free: 12.17 MB / 1.826 GB Notification: Performance of collectPreVariables (initialization): time 0.004218/4.394, allocations: 221.7 kB / 2.44 GB, free: 11.95 MB / 1.826 GB Notification: Performance of collectInitialEqns (initialization): time 0.01121/4.405, allocations: 7.877 MB / 2.448 GB, free: 4.094 MB / 1.826 GB Notification: Performance of collectInitialBindings (initialization): time 0.008696/4.414, allocations: 3.155 MB / 2.451 GB, free: 0.9766 MB / 1.826 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01628/4.43, allocations: 4.001 MB / 2.455 GB, free: 12.96 MB / 1.842 GB Notification: Performance of setup shared object (initialization): time 0.0001245/4.43, allocations: 308.3 kB / 2.455 GB, free: 12.66 MB / 1.842 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03475/4.465, allocations: 20.27 MB / 2.475 GB, free: 8.367 MB / 1.858 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03781/4.503, allocations: 23.1 MB / 2.498 GB, free: 276 kB / 1.873 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7413/5.244, allocations: 38.6 MB / 2.535 GB, free: 0.5014 GB / 1.904 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-05/5.244, allocations: 16.56 kB / 2.535 GB, free: 0.5014 GB / 1.904 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.571/5.815, allocations: 134.2 MB / 2.666 GB, free: 489.9 MB / 1.904 GB Notification: Performance of prepare postOptimizeDAE: time 8.715e-05/5.815, allocations: 56.47 kB / 2.666 GB, free: 489.8 MB / 1.904 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.799e-05/5.815, allocations: 50.38 kB / 2.667 GB, free: 489.8 MB / 1.904 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5518/6.367, allocations: 118 MB / 2.782 GB, free: 393.1 MB / 1.904 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01739/6.384, allocations: 3.555 MB / 2.785 GB, free: 389.8 MB / 1.904 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1233/6.508, allocations: 81.91 MB / 2.865 GB, free: 327.9 MB / 1.904 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08722/6.595, allocations: 6.458 MB / 2.871 GB, free: 321.5 MB / 1.904 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004056/6.599, allocations: 1.31 MB / 2.873 GB, free: 320.2 MB / 1.904 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03188/6.631, allocations: 23.67 MB / 2.896 GB, free: 296.5 MB / 1.904 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02567/6.656, allocations: 22.58 MB / 2.918 GB, free: 272.9 MB / 1.904 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04765/6.704, allocations: 37.59 MB / 2.955 GB, free: 234.7 MB / 1.904 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.417e-05/6.704, allocations: 12 kB / 2.955 GB, free: 234.7 MB / 1.904 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.5568/7.261, allocations: 132.6 MB / 3.084 GB, free: 103.7 MB / 1.904 GB Notification: Performance of prepare postOptimizeDAE: time 6.089e-05/7.261, allocations: 57.11 kB / 3.084 GB, free: 103.6 MB / 1.904 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.7e-05/7.261, allocations: 52 kB / 3.084 GB, free: 103.6 MB / 1.904 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5583/7.819, allocations: 117.6 MB / 3.199 GB, free: 2.359 MB / 1.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01793/7.837, allocations: 3.527 MB / 3.203 GB, free: 14.96 MB / 1.936 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8703/8.708, allocations: 86.15 MB / 3.287 GB, free: 0.5112 GB / 1.936 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08859/8.796, allocations: 6.496 MB / 3.293 GB, free: 0.5112 GB / 1.936 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004891/8.801, allocations: 1.279 MB / 3.294 GB, free: 0.5112 GB / 1.936 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.004961/8.806, allocations: 0.7689 MB / 3.295 GB, free: 0.511 GB / 1.936 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00615/8.812, allocations: 1.705 MB / 3.297 GB, free: 0.511 GB / 1.936 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2014/9.014, allocations: 60.27 MB / 3.356 GB, free: 0.5035 GB / 1.936 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2074/9.221, allocations: 66.09 MB / 3.42 GB, free: 479.8 MB / 1.936 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.697e-05/9.221, allocations: 28 kB / 3.42 GB, free: 479.8 MB / 1.936 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1951/9.416, allocations: 65.4 MB / 3.484 GB, free: 415 MB / 1.936 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2571/9.673, allocations: 129.7 MB / 3.611 GB, free: 286.6 MB / 1.936 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-05/9.673, allocations: 0 / 3.611 GB, free: 286.6 MB / 1.936 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01063/9.684, allocations: 1.983 MB / 3.613 GB, free: 284.7 MB / 1.936 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3111/9.995, allocations: 81.4 MB / 3.692 GB, free: 203.7 MB / 1.936 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003414/9.998, allocations: 0.5702 MB / 3.693 GB, free: 203.2 MB / 1.936 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09341/10.09, allocations: 58.56 MB / 3.75 GB, free: 144.6 MB / 1.936 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.0955/10.19, allocations: 54.07 MB / 3.803 GB, free: 89.6 MB / 1.936 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.9818/11.17, allocations: 95.31 MB / 3.896 GB, free: 0.5054 GB / 1.936 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01763/11.19, allocations: 6.109 MB / 3.902 GB, free: 0.5054 GB / 1.936 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008403/11.2, allocations: 213.7 kB / 3.902 GB, free: 0.5054 GB / 1.936 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05327/11.25, allocations: 3.318 MB / 3.905 GB, free: 0.5054 GB / 1.936 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004951/11.25, allocations: 0.8707 MB / 3.906 GB, free: 0.5053 GB / 1.936 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002503/11.26, allocations: 0.63 MB / 3.907 GB, free: 0.5053 GB / 1.936 GB Notification: Performance of sorting global known variables: time 0.02793/11.28, allocations: 14.3 MB / 3.921 GB, free: 0.5049 GB / 1.936 GB Notification: Performance of sort global known variables: time 2.1e-07/11.28, allocations: 3.312 kB / 3.921 GB, free: 0.5049 GB / 1.936 GB Notification: Performance of remove unused functions: time 0.08743/11.37, allocations: 38.73 MB / 3.958 GB, free: 0.5049 GB / 1.936 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.2392/11.61, allocations: 96.84 MB / 4.053 GB, free: 0.4916 GB / 1.936 GB Notification: Performance of simCode: created initialization part: time 0.1139/11.72, allocations: 74.01 MB / 4.125 GB, free: 450.1 MB / 1.936 GB Notification: Performance of simCode: created event and clocks part: time 7.994e-06/11.72, allocations: 4 kB / 4.125 GB, free: 450.1 MB / 1.936 GB Notification: Performance of simCode: created simulation system equations: time 0.04757/11.77, allocations: 23.18 MB / 4.148 GB, free: 427.1 MB / 1.936 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05206/11.82, allocations: 7.975 MB / 4.156 GB, free: 419.5 MB / 1.936 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.987/13.81, allocations: 443.7 MB / 4.589 GB, free: 0.8069 GB / 1.951 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01879/13.83, allocations: 10.46 MB / 4.599 GB, free: 0.8057 GB / 1.951 GB Notification: Performance of simCode: alias equations: time 0.02855/13.86, allocations: 7.997 MB / 4.607 GB, free: 0.8055 GB / 1.951 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01933/13.88, allocations: 10.37 MB / 4.617 GB, free: 0.8055 GB / 1.951 GB Notification: Performance of SimCode: time 1.413e-06/13.88, allocations: 1 kB / 4.617 GB, free: 0.8055 GB / 1.951 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8924/14.77, allocations: 0.8215 GB / 5.439 GB, free: 78.17 MB / 1.951 GB Notification: Performance of buildModelFMU: Generate platform static: time 85.67/100.4, allocations: 11.91 kB / 5.439 GB, free: 78.16 MB / 1.951 GB " [Timeout remaining time 199] (rm -f Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.csv --start-time 0 --stop-time 1000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 Buildings_11_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 106.25914509299764]