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.001924/0.001924, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.003075/0.003075, allocations: 213.3 kB / 22.25 MB, free: 5.262 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.781/1.781, allocations: 230.6 MB / 256 MB, free: 7.742 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.971/2.971, allocations: 476 MB / 0.7699 GB, free: 4.715 MB / 0.6231 GB " [Timeout remaining time 176] 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.002222/0.002222, allocations: 68.69 kB / 1.117 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4398/0.442, allocations: 169.9 MB / 1.283 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.317/1.759, allocations: 328.8 MB / 1.604 GB, free: 58.64 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.1092/1.869, allocations: 70.8 MB / 1.673 GB, free: 56.39 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01895/1.888, allocations: 0.5764 MB / 1.673 GB, free: 56.39 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.02217/1.91, allocations: 6.397 MB / 1.68 GB, free: 55.15 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.05378/1.964, allocations: 15.04 MB / 1.694 GB, free: 50.19 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.02679/1.99, allocations: 10.5 MB / 1.705 GB, free: 45.6 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.1004/2.091, allocations: 76.21 MB / 1.779 GB, free: 7.422 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03565/2.126, allocations: 15.78 MB / 1.795 GB, free: 8.262 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04949/2.176, allocations: 18.06 MB / 1.812 GB, free: 7.156 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03804/2.214, allocations: 16.89 MB / 1.829 GB, free: 7.406 MB / 1.326 GB Notification: Performance of NFPackage.collectConstants: time 0.009646/2.224, allocations: 1.832 MB / 1.83 GB, free: 5.574 MB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02287/2.246, allocations: 5.247 MB / 1.836 GB, free: 0.5391 MB / 1.326 GB Notification: Performance of NFScalarize.scalarize: time 0.01346/2.26, allocations: 6.498 MB / 1.842 GB, free: 10.27 MB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.02598/2.286, allocations: 9.107 MB / 1.851 GB, free: 1.371 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.06774/2.354, allocations: 30.99 MB / 1.881 GB, free: 3.527 MB / 1.373 GB Notification: Performance of FrontEnd - DAE generated: time 6.974e-06/2.354, allocations: 0 / 1.881 GB, free: 3.527 MB / 1.373 GB Notification: Performance of FrontEnd: time 2.063e-06/2.354, allocations: 0 / 1.881 GB, free: 3.527 MB / 1.373 GB Notification: Performance of Transformations before backend: time 0.001053/2.355, allocations: 0 / 1.881 GB, free: 3.527 MB / 1.373 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.07144/2.426, allocations: 21.69 MB / 1.902 GB, free: 13.91 MB / 1.404 GB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/2.426, allocations: 15.98 kB / 1.902 GB, free: 13.89 MB / 1.404 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005799/2.432, allocations: 1.05 MB / 1.903 GB, free: 12.84 MB / 1.404 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02147/2.453, allocations: 3.305 MB / 1.907 GB, free: 9.52 MB / 1.404 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05427/2.508, allocations: 22.02 MB / 1.928 GB, free: 3.766 MB / 1.42 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009067/2.509, allocations: 0.6717 MB / 1.929 GB, free: 3.102 MB / 1.42 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005581/2.514, allocations: 0.9334 MB / 1.93 GB, free: 2.176 MB / 1.42 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04838/2.563, allocations: 18.17 MB / 1.947 GB, free: 15.57 MB / 1.451 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003982/2.563, allocations: 27.77 kB / 1.947 GB, free: 15.55 MB / 1.451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004242/2.567, allocations: 326.9 kB / 1.948 GB, free: 15.24 MB / 1.451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004945/2.568, allocations: 367.4 kB / 1.948 GB, free: 14.88 MB / 1.451 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04964/2.617, allocations: 21.84 MB / 1.969 GB, free: 9.02 MB / 1.467 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.1626/2.78, allocations: 64.19 MB / 2.032 GB, free: 9.129 MB / 1.529 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02471/2.805, allocations: 11.7 MB / 2.043 GB, free: 13.7 MB / 1.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01954/2.824, allocations: 8.954 MB / 2.052 GB, free: 4.738 MB / 1.545 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.08065/2.905, allocations: 29.83 MB / 2.081 GB, free: 6.965 MB / 1.576 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02467/2.93, allocations: 11.23 MB / 2.092 GB, free: 11.44 MB / 1.592 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0324/2.962, allocations: 8.261 MB / 2.1 GB, free: 3.348 MB / 1.592 GB Notification: Performance of pre-optimization done (n=567): time 3.244e-05/2.962, allocations: 0 / 2.1 GB, free: 3.348 MB / 1.592 GB Notification: Performance of matching and sorting (n=838): time 1.77/4.732, allocations: 217.4 MB / 2.313 GB, free: 0.6046 GB / 1.701 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1307/4.862, allocations: 54.32 MB / 2.366 GB, free: 0.5514 GB / 1.701 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03385/4.896, allocations: 20.34 MB / 2.386 GB, free: 0.5319 GB / 1.701 GB Notification: Performance of collectPreVariables (initialization): time 0.005741/4.902, allocations: 221.2 kB / 2.386 GB, free: 0.5317 GB / 1.701 GB Notification: Performance of collectInitialEqns (initialization): time 0.01018/4.912, allocations: 7.886 MB / 2.394 GB, free: 0.5255 GB / 1.701 GB Notification: Performance of collectInitialBindings (initialization): time 0.007978/4.92, allocations: 3.144 MB / 2.397 GB, free: 0.5229 GB / 1.701 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01521/4.935, allocations: 3.98 MB / 2.4 GB, free: 0.519 GB / 1.701 GB Notification: Performance of setup shared object (initialization): time 3.795e-05/4.935, allocations: 309.1 kB / 2.401 GB, free: 0.5187 GB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0291/4.964, allocations: 20.32 MB / 2.421 GB, free: 0.4988 GB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03272/4.997, allocations: 25.33 MB / 2.445 GB, free: 483.9 MB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05864/5.056, allocations: 38.67 MB / 2.483 GB, free: 444.4 MB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.982e-05/5.056, allocations: 16 kB / 2.483 GB, free: 444.4 MB / 1.701 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.6102/5.666, allocations: 134.3 MB / 2.614 GB, free: 310 MB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 9.667e-05/5.666, allocations: 57.7 kB / 2.614 GB, free: 309.9 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.873e-05/5.666, allocations: 52 kB / 2.614 GB, free: 309.9 MB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5948/6.261, allocations: 117.8 MB / 2.73 GB, free: 192.1 MB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01824/6.279, allocations: 3.549 MB / 2.733 GB, free: 188.5 MB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1436/6.423, allocations: 81 MB / 2.812 GB, free: 107.2 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09392/6.517, allocations: 6.437 MB / 2.818 GB, free: 100.7 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005728/6.522, allocations: 1.31 MB / 2.82 GB, free: 99.43 MB / 1.701 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03945/6.562, allocations: 23.71 MB / 2.843 GB, free: 75.68 MB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03361/6.596, allocations: 24.8 MB / 2.867 GB, free: 49.32 MB / 1.701 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0599/6.655, allocations: 37.63 MB / 2.904 GB, free: 10.87 MB / 1.701 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.184e-05/6.656, allocations: 16 kB / 2.904 GB, free: 10.86 MB / 1.701 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 1.411/8.066, allocations: 132.7 MB / 3.033 GB, free: 0.5752 GB / 1.701 GB Notification: Performance of prepare postOptimizeDAE: time 7.528e-05/8.066, allocations: 61.77 kB / 3.033 GB, free: 0.5752 GB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-05/8.066, allocations: 59.94 kB / 3.034 GB, free: 0.5751 GB / 1.701 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5827/8.649, allocations: 117.5 MB / 3.148 GB, free: 471.8 MB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01625/8.665, allocations: 3.533 MB / 3.152 GB, free: 468.3 MB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1389/8.804, allocations: 84.26 MB / 3.234 GB, free: 384.1 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09225/8.896, allocations: 6.478 MB / 3.24 GB, free: 377.6 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004939/8.901, allocations: 1.286 MB / 3.242 GB, free: 376.4 MB / 1.701 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1171): * Single equations (assignments): 1151 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.00578/8.907, allocations: 0.7609 MB / 3.242 GB, free: 375.6 MB / 1.701 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006989/8.914, allocations: 1.704 MB / 3.244 GB, free: 374.8 MB / 1.701 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2153/9.129, allocations: 60.3 MB / 3.303 GB, free: 314.8 MB / 1.701 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2213/9.351, allocations: 66.1 MB / 3.367 GB, free: 248.9 MB / 1.701 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.059e-05/9.351, allocations: 28 kB / 3.367 GB, free: 248.8 MB / 1.701 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2187/9.57, allocations: 65.44 MB / 3.431 GB, free: 183.4 MB / 1.701 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2895/9.859, allocations: 111.1 MB / 3.54 GB, free: 72.36 MB / 1.701 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.981e-05/9.859, allocations: 0 / 3.54 GB, free: 72.36 MB / 1.701 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01161/9.871, allocations: 1.973 MB / 3.542 GB, free: 70.38 MB / 1.701 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.024/10.89, allocations: 81.28 MB / 3.621 GB, free: 0.6012 GB / 1.701 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003602/10.9, allocations: 0.5687 MB / 3.622 GB, free: 0.6012 GB / 1.701 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1037/11, allocations: 57.92 MB / 3.678 GB, free: 0.588 GB / 1.701 GB Warning: The linear system: 1 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 3 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 [ -1.0 , 0.0 , -1.0 ; 0.0 , -1.0 , 1.0 ; 1.0 , 1.0 , 0.0 ] * [ valCoo.m_flow ; spl1.res1.m_flow ; valHea.m_flow ] = [ (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; -bou.ports[1].m_flow ; tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ] might be structurally or numerically singular for variable valHea.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 3 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow ; valHea.m_flow ; spl1.res1.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ] might be structurally or numerically singular for variable spl1.res1.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 3 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1052/11.11, allocations: 51.94 MB / 3.729 GB, free: 0.5552 GB / 1.701 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2558/11.36, allocations: 95.36 MB / 3.822 GB, free: 478 MB / 1.701 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02096/11.38, allocations: 6.188 MB / 3.828 GB, free: 472.2 MB / 1.701 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007608/11.39, allocations: 216 kB / 3.828 GB, free: 472 MB / 1.701 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05325/11.44, allocations: 3.322 MB / 3.832 GB, free: 468.6 MB / 1.701 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005199/11.45, allocations: 0.8963 MB / 3.833 GB, free: 467.7 MB / 1.701 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003363/11.45, allocations: 0.6237 MB / 3.833 GB, free: 467.1 MB / 1.701 GB Notification: Performance of sorting global known variables: time 0.02412/11.48, allocations: 14.12 MB / 3.847 GB, free: 453.1 MB / 1.701 GB Notification: Performance of sort global known variables: time 3.01e-07/11.48, allocations: 0 / 3.847 GB, free: 453.1 MB / 1.701 GB Notification: Performance of remove unused functions: time 0.08446/11.56, allocations: 38.69 MB / 3.885 GB, free: 414.5 MB / 1.701 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],valSouth1[1].filter.s[1],valSouth1[2].filter.s[1],valSouth1[3].filter.s[1],valSouth1[4].filter.s[1],valSouth2[1].filter.s[1],valSouth2[2].filter.s[1],valSouth2[3].filter.s[1],valSouth2[4].filter.s[1],valSouth2[5].filter.s[1],valSouth2[6].filter.s[1],valSouth2[7].filter.s[1],valSouth2[8].filter.s[1],valNorth1[1].filter.s[1],valNorth1[2].filter.s[1],valNorth1[3].filter.s[1],valNorth1[4].filter.s[1],valNorth2[1].filter.s[1],valNorth2[2].filter.s[1],valNorth2[3].filter.s[1],valNorth2[4].filter.s[1],valNorth2[5].filter.s[1],valNorth2[6].filter.s[1],valNorth2[7].filter.s[1],valNorth2[8].filter.s[1],valSouth.vol.dynBal.U,valSouth.filter.s[1],valNorth.vol.dynBal.U,valNorth.filter.s[1],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],valHea.filter.s[1],valCoo.filter.s[1],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1],vol.p) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (621): * Single equations (assignments): 600 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(7,83), (1,1), (38,197)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2601/11.82, allocations: 96.78 MB / 3.979 GB, free: 318.1 MB / 1.701 GB Notification: Performance of simCode: created initialization part: time 0.1264/11.95, allocations: 74.07 MB / 4.052 GB, free: 244 MB / 1.701 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/11.95, allocations: 4.5 kB / 4.052 GB, free: 244 MB / 1.701 GB Notification: Performance of simCode: created simulation system equations: time 0.05316/12, allocations: 23.18 MB / 4.074 GB, free: 220.8 MB / 1.701 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05475/12.06, allocations: 7.994 MB / 4.082 GB, free: 213.1 MB / 1.701 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.906/14.96, allocations: 443.3 MB / 4.515 GB, free: 471.9 MB / 1.701 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01079/14.97, allocations: 10.21 MB / 4.525 GB, free: 461.7 MB / 1.701 GB Notification: Performance of simCode: alias equations: time 0.02628/15, allocations: 7.995 MB / 4.533 GB, free: 453.9 MB / 1.701 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01842/15.02, allocations: 10.35 MB / 4.543 GB, free: 443.5 MB / 1.701 GB Notification: Performance of SimCode: time 9.62e-07/15.02, allocations: 0 / 4.543 GB, free: 443.5 MB / 1.701 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.687/16.7, allocations: 0.8411 GB / 5.384 GB, free: 271.8 MB / 1.701 GB Notification: Performance of buildModelFMU: Generate platform static: time 105.1/121.8, allocations: 7.234 kB / 5.384 GB, free: 271.8 MB / 1.701 GB " [Timeout remaining time 178] (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: 129.84074796922505] Failed to read output from testmodel.py, exit status != 0: 122.30203648190945 122.312267628 119.955845875 Calling exit ...