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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 113 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002191/0.002191, allocations: 208.7 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.694/1.694, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.769/2.769, allocations: 476.7 MB / 0.7707 GB, free: 4.227 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 64.64 kB / 1.117 GB, free: 39.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.3001, allocations: 170 MB / 1.283 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.272/1.572, allocations: 365.3 MB / 1.64 GB, free: 62.85 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.1076/1.68, allocations: 76.35 MB / 1.715 GB, free: 61.74 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01896/1.699, allocations: 0.5773 MB / 1.715 GB, free: 61.74 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.02123/1.72, allocations: 6.724 MB / 1.722 GB, free: 61.62 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.04644/1.766, allocations: 15.04 MB / 1.737 GB, free: 58.52 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02691/1.793, allocations: 10.68 MB / 1.747 GB, free: 53.21 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.09665/1.89, allocations: 76.46 MB / 1.822 GB, free: 10.11 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03256/1.922, allocations: 15.82 MB / 1.837 GB, free: 10.9 MB / 1.326 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04425/1.967, allocations: 17.76 MB / 1.854 GB, free: 10.1 MB / 1.342 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03792/2.005, allocations: 17.22 MB / 1.871 GB, free: 10.05 MB / 1.357 GB Notification: Performance of NFPackage.collectConstants: time 0.009311/2.014, allocations: 1.973 MB / 1.873 GB, free: 8.074 MB / 1.357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02332/2.037, allocations: 6.463 MB / 1.88 GB, free: 1.887 MB / 1.357 GB Notification: Performance of NFScalarize.scalarize: time 0.01349/2.051, allocations: 6.683 MB / 1.886 GB, free: 11.43 MB / 1.373 GB Notification: Performance of NFVerifyModel.verify: time 0.02706/2.078, allocations: 11.29 MB / 1.897 GB, free: 344 kB / 1.373 GB Notification: Performance of NFConvertDAE.convert: time 0.0556/2.133, allocations: 31.81 MB / 1.928 GB, free: 1.703 MB / 1.404 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/2.133, allocations: 0 / 1.928 GB, free: 1.703 MB / 1.404 GB Notification: Performance of FrontEnd: time 1.222e-06/2.133, allocations: 0 / 1.928 GB, free: 1.703 MB / 1.404 GB Notification: Performance of Transformations before backend: time 0.001017/2.134, allocations: 0 / 1.928 GB, free: 1.703 MB / 1.404 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.07363/2.208, allocations: 22.3 MB / 1.95 GB, free: 11.48 MB / 1.436 GB Notification: Performance of prepare preOptimizeDAE: time 7.187e-05/2.208, allocations: 11.98 kB / 1.95 GB, free: 11.47 MB / 1.436 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007905/2.216, allocations: 1.051 MB / 1.951 GB, free: 10.41 MB / 1.436 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02001/2.236, allocations: 3.309 MB / 1.954 GB, free: 7.09 MB / 1.436 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05573/2.292, allocations: 23.2 MB / 1.977 GB, free: 164 kB / 1.451 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008813/2.293, allocations: 0.6682 MB / 1.977 GB, free: 15.5 MB / 1.467 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005475/2.298, allocations: 0.9398 MB / 1.978 GB, free: 14.57 MB / 1.467 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04496/2.343, allocations: 17.23 MB / 1.995 GB, free: 13.15 MB / 1.482 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003631/2.343, allocations: 15.89 kB / 1.995 GB, free: 13.14 MB / 1.482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003736/2.347, allocations: 337.9 kB / 1.996 GB, free: 12.81 MB / 1.482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004026/2.348, allocations: 371.3 kB / 1.996 GB, free: 12.45 MB / 1.482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04671/2.394, allocations: 21.88 MB / 2.017 GB, free: 6.559 MB / 1.498 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.1584/2.553, allocations: 82.44 MB / 2.098 GB, free: 1.109 MB / 1.576 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0253/2.578, allocations: 11.72 MB / 2.109 GB, free: 5.664 MB / 1.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0177/2.596, allocations: 8.963 MB / 2.118 GB, free: 12.7 MB / 1.607 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.0822/2.678, allocations: 32.85 MB / 2.15 GB, free: 11.91 MB / 1.639 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02246/2.7, allocations: 10.28 MB / 2.16 GB, free: 1.555 MB / 1.639 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0312/2.731, allocations: 8.264 MB / 2.168 GB, free: 9.469 MB / 1.654 GB Notification: Performance of pre-optimization done (n=567): time 2.888e-05/2.731, allocations: 0 / 2.168 GB, free: 9.469 MB / 1.654 GB Notification: Performance of matching and sorting (n=838): time 1.542/4.274, allocations: 217.4 MB / 2.38 GB, free: 0.613 GB / 1.732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1311/4.405, allocations: 55.6 MB / 2.435 GB, free: 0.5579 GB / 1.732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0323/4.437, allocations: 20.55 MB / 2.455 GB, free: 0.538 GB / 1.732 GB Notification: Performance of collectPreVariables (initialization): time 0.006294/4.443, allocations: 217.7 kB / 2.455 GB, free: 0.5378 GB / 1.732 GB Notification: Performance of collectInitialEqns (initialization): time 0.01074/4.454, allocations: 7.884 MB / 2.463 GB, free: 0.5305 GB / 1.732 GB Notification: Performance of collectInitialBindings (initialization): time 0.008053/4.462, allocations: 3.145 MB / 2.466 GB, free: 0.5275 GB / 1.732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01478/4.477, allocations: 4 MB / 2.47 GB, free: 0.5236 GB / 1.732 GB Notification: Performance of setup shared object (initialization): time 4.665e-05/4.477, allocations: 305.2 kB / 2.47 GB, free: 0.5233 GB / 1.732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02894/4.506, allocations: 20.3 MB / 2.49 GB, free: 0.5034 GB / 1.732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03134/4.537, allocations: 23.12 MB / 2.512 GB, free: 491.3 MB / 1.732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05949/4.597, allocations: 38.66 MB / 2.55 GB, free: 451.9 MB / 1.732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.269e-05/4.597, allocations: 19.98 kB / 2.55 GB, free: 451.9 MB / 1.732 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.5819/5.179, allocations: 134.2 MB / 2.681 GB, free: 317.5 MB / 1.732 GB Notification: Performance of prepare postOptimizeDAE: time 9.843e-05/5.179, allocations: 61.67 kB / 2.681 GB, free: 317.4 MB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.945e-05/5.179, allocations: 56 kB / 2.681 GB, free: 317.4 MB / 1.732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.566/5.745, allocations: 117.9 MB / 2.797 GB, free: 199.5 MB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01871/5.764, allocations: 3.556 MB / 2.8 GB, free: 195.9 MB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1361/5.9, allocations: 81.82 MB / 2.88 GB, free: 113.8 MB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08268/5.983, allocations: 6.444 MB / 2.886 GB, free: 107.3 MB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00533/5.988, allocations: 1.317 MB / 2.888 GB, free: 106 MB / 1.732 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03636/6.024, allocations: 23.69 MB / 2.911 GB, free: 82.28 MB / 1.732 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03015/6.054, allocations: 22.6 MB / 2.933 GB, free: 58.64 MB / 1.732 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05747/6.112, allocations: 37.62 MB / 2.969 GB, free: 20.21 MB / 1.732 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001206/6.112, allocations: 19.98 kB / 2.969 GB, free: 20.19 MB / 1.732 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 1.265/7.377, allocations: 132.7 MB / 3.099 GB, free: 0.6007 GB / 1.732 GB Notification: Performance of prepare postOptimizeDAE: time 8.294e-05/7.377, allocations: 57.69 kB / 3.099 GB, free: 0.6006 GB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-05/7.377, allocations: 55.94 kB / 3.099 GB, free: 0.6006 GB / 1.732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5529/7.93, allocations: 117.6 MB / 3.214 GB, free: 497.7 MB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01647/7.946, allocations: 3.533 MB / 3.217 GB, free: 494.2 MB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1405/8.087, allocations: 85.93 MB / 3.301 GB, free: 408.2 MB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08475/8.172, allocations: 6.494 MB / 3.308 GB, free: 401.7 MB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006412/8.178, allocations: 1.29 MB / 3.309 GB, free: 400.5 MB / 1.732 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.009283/8.187, allocations: 0.763 MB / 3.31 GB, free: 399.7 MB / 1.732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01006/8.197, allocations: 1.703 MB / 3.311 GB, free: 398.2 MB / 1.732 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2039/8.401, allocations: 60.3 MB / 3.37 GB, free: 338.1 MB / 1.732 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1995/8.601, allocations: 66.11 MB / 3.435 GB, free: 272.1 MB / 1.732 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001641/8.601, allocations: 31.94 kB / 3.435 GB, free: 272 MB / 1.732 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1936/8.795, allocations: 65.43 MB / 3.499 GB, free: 206.6 MB / 1.732 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3283/9.123, allocations: 129.7 MB / 3.625 GB, free: 76.95 MB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.592e-05/9.123, allocations: 4 kB / 3.625 GB, free: 76.94 MB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01144/9.134, allocations: 1.977 MB / 3.627 GB, free: 74.96 MB / 1.732 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142/10.28, allocations: 81.38 MB / 3.707 GB, free: 0.6282 GB / 1.732 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003862/10.28, allocations: 0.5663 MB / 3.707 GB, free: 0.6282 GB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1054/10.39, allocations: 58.46 MB / 3.764 GB, free: 0.6153 GB / 1.732 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.1238/10.51, allocations: 53 MB / 3.816 GB, free: 0.5823 GB / 1.732 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2459/10.76, allocations: 95.37 MB / 3.909 GB, free: 0.491 GB / 1.732 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02368/10.78, allocations: 6.196 MB / 3.915 GB, free: 496.6 MB / 1.732 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01033/10.79, allocations: 212 kB / 3.916 GB, free: 496.4 MB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05087/10.84, allocations: 3.323 MB / 3.919 GB, free: 493.1 MB / 1.732 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007599/10.85, allocations: 0.8963 MB / 3.92 GB, free: 492.2 MB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004937/10.85, allocations: 0.6237 MB / 3.92 GB, free: 491.6 MB / 1.732 GB Notification: Performance of sorting global known variables: time 0.02952/10.88, allocations: 14.33 MB / 3.934 GB, free: 477.3 MB / 1.732 GB Notification: Performance of sort global known variables: time 1.9e-07/10.88, allocations: 4 kB / 3.934 GB, free: 477.3 MB / 1.732 GB Notification: Performance of remove unused functions: time 0.09692/10.98, allocations: 38.74 MB / 3.972 GB, free: 438.8 MB / 1.732 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.2496/11.23, allocations: 96.83 MB / 4.067 GB, free: 342 MB / 1.732 GB Notification: Performance of simCode: created initialization part: time 0.1336/11.36, allocations: 74.09 MB / 4.139 GB, free: 267.9 MB / 1.732 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/11.36, allocations: 4 kB / 4.139 GB, free: 267.9 MB / 1.732 GB Notification: Performance of simCode: created simulation system equations: time 0.05183/11.41, allocations: 23.2 MB / 4.162 GB, free: 244.7 MB / 1.732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06414/11.48, allocations: 7.982 MB / 4.17 GB, free: 237 MB / 1.732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.987/14.47, allocations: 443.9 MB / 4.603 GB, free: 0.5068 GB / 1.733 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02171/14.49, allocations: 10.47 MB / 4.613 GB, free: 0.4965 GB / 1.733 GB Notification: Performance of simCode: alias equations: time 0.03649/14.52, allocations: 7.978 MB / 4.621 GB, free: 0.489 GB / 1.733 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02775/14.55, allocations: 10.37 MB / 4.631 GB, free: 490.3 MB / 1.733 GB Notification: Performance of SimCode: time 2.505e-06/14.55, allocations: 0 / 4.631 GB, free: 490.3 MB / 1.733 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.943/16.49, allocations: 0.8336 GB / 5.465 GB, free: 343.4 MB / 1.733 GB Notification: Performance of buildModelFMU: Generate platform static: time 103.9/120.4, allocations: 0 / 5.465 GB, free: 343.4 MB / 1.733 GB " [Timeout remaining time 179] (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: 127.72437666299993] Failed to read output from testmodel.py, exit status != 0: 121.37468908699884 120.924000366 118.786181083 Calling exit ...