Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001438/0.001438, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001643/0.001643, allocations: 218.8 kB / 22.25 MB, free: 5.125 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.316/1.316, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.795/2.795, allocations: 0.49 GB / 0.7951 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_12_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.001828/0.001828, allocations: 65.72 kB / 1.154 GB, free: 25.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2648, allocations: 176.1 MB / 1.326 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.9121/1.177, allocations: 365.3 MB / 1.683 GB, free: 54.33 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.07683/1.254, allocations: 76.21 MB / 1.757 GB, free: 45.27 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01289/1.267, allocations: 0.5974 MB / 1.758 GB, free: 45.27 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01483/1.281, allocations: 6.713 MB / 1.764 GB, free: 43.18 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.03132/1.313, allocations: 14.95 MB / 1.779 GB, free: 33.65 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01934/1.332, allocations: 10.63 MB / 1.789 GB, free: 26.94 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.05985/1.392, allocations: 56.21 MB / 1.844 GB, free: 12.12 MB / 1.326 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02133/1.413, allocations: 15.43 MB / 1.859 GB, free: 13.23 MB / 1.342 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03404/1.447, allocations: 17.72 MB / 1.877 GB, free: 12.45 MB / 1.357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02793/1.475, allocations: 16.28 MB / 1.892 GB, free: 13.23 MB / 1.373 GB Notification: Performance of NFPackage.collectConstants: time 0.006476/1.482, allocations: 1.867 MB / 1.894 GB, free: 11.36 MB / 1.373 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01816/1.5, allocations: 6.329 MB / 1.9 GB, free: 5.309 MB / 1.373 GB Notification: Performance of NFScalarize.scalarize: time 0.009327/1.509, allocations: 6.277 MB / 1.907 GB, free: 15.26 MB / 1.389 GB Notification: Performance of NFVerifyModel.verify: time 0.02134/1.531, allocations: 10.85 MB / 1.917 GB, free: 4.602 MB / 1.389 GB Notification: Performance of NFConvertDAE.convert: time 0.0509/1.581, allocations: 30.43 MB / 1.947 GB, free: 7.332 MB / 1.42 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.581, allocations: 0 / 1.947 GB, free: 7.332 MB / 1.42 GB Notification: Performance of FrontEnd: time 1.302e-06/1.581, allocations: 0 / 1.947 GB, free: 7.332 MB / 1.42 GB Notification: Performance of Transformations before backend: time 0.0007128/1.582, allocations: 4 kB / 1.947 GB, free: 7.328 MB / 1.42 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1949 * Number of variables: 1949 Notification: Performance of Generate backend data structure: time 0.05221/1.634, allocations: 21.02 MB / 1.967 GB, free: 2.34 MB / 1.436 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/1.634, allocations: 12.03 kB / 1.967 GB, free: 2.328 MB / 1.436 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003412/1.638, allocations: 1.002 MB / 1.968 GB, free: 1.316 MB / 1.436 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01621/1.654, allocations: 3.212 MB / 1.972 GB, free: 14.09 MB / 1.451 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04646/1.7, allocations: 22.5 MB / 1.994 GB, free: 7.871 MB / 1.467 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000708/1.701, allocations: 0.6476 MB / 1.994 GB, free: 7.223 MB / 1.467 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003896/1.705, allocations: 0.8818 MB / 1.995 GB, free: 6.344 MB / 1.467 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0431/1.748, allocations: 17.12 MB / 2.012 GB, free: 5 MB / 1.482 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003369/1.749, allocations: 7.938 kB / 2.012 GB, free: 4.992 MB / 1.482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003223/1.752, allocations: 322.4 kB / 2.012 GB, free: 4.68 MB / 1.482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002135/1.752, allocations: 204 kB / 2.012 GB, free: 4.48 MB / 1.482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0414/1.793, allocations: 21.4 MB / 2.033 GB, free: 15.06 MB / 1.514 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.1468/1.94, allocations: 81.71 MB / 2.113 GB, free: 9.566 MB / 1.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.025/1.965, allocations: 12.33 MB / 2.125 GB, free: 13.51 MB / 1.607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01781/1.983, allocations: 9.185 MB / 2.134 GB, free: 4.309 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.07341/2.056, allocations: 31.9 MB / 2.165 GB, free: 4.391 MB / 1.639 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02056/2.077, allocations: 10.49 MB / 2.175 GB, free: 9.871 MB / 1.654 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02825/2.105, allocations: 8.227 MB / 2.183 GB, free: 1.637 MB / 1.654 GB Notification: Performance of pre-optimization done (n=503): time 3.075e-05/2.105, allocations: 4 kB / 2.183 GB, free: 1.633 MB / 1.654 GB Notification: Performance of matching and sorting (n=742): time 1.402/3.508, allocations: 218 MB / 2.396 GB, free: 0.5755 GB / 1.732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.105/3.613, allocations: 48.73 MB / 2.444 GB, free: 0.5271 GB / 1.732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02818/3.641, allocations: 19.75 MB / 2.463 GB, free: 0.508 GB / 1.732 GB Notification: Performance of collectPreVariables (initialization): time 0.004064/3.645, allocations: 201.7 kB / 2.463 GB, free: 0.5078 GB / 1.732 GB Notification: Performance of collectInitialEqns (initialization): time 0.006781/3.652, allocations: 7.666 MB / 2.471 GB, free: 0.5007 GB / 1.732 GB Notification: Performance of collectInitialBindings (initialization): time 0.007362/3.659, allocations: 2.751 MB / 2.474 GB, free: 0.498 GB / 1.732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01465/3.674, allocations: 3.793 MB / 2.477 GB, free: 0.4943 GB / 1.732 GB Notification: Performance of setup shared object (initialization): time 3.365e-05/3.674, allocations: 301.1 kB / 2.477 GB, free: 0.494 GB / 1.732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02712/3.701, allocations: 19.45 MB / 2.496 GB, free: 486.4 MB / 1.732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02932/3.73, allocations: 22.22 MB / 2.518 GB, free: 463.1 MB / 1.732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05456/3.785, allocations: 37.36 MB / 2.555 GB, free: 425 MB / 1.732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.918e-05/3.785, allocations: 12 kB / 2.555 GB, free: 425 MB / 1.732 GB Notification: Performance of matching and sorting (n=1491) (initialization): time 0.541/4.326, allocations: 132.2 MB / 2.684 GB, free: 292.7 MB / 1.732 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-05/4.326, allocations: 59.25 kB / 2.684 GB, free: 292.6 MB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-05/4.326, allocations: 52 kB / 2.684 GB, free: 292.6 MB / 1.732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5182/4.844, allocations: 118 MB / 2.799 GB, free: 174.7 MB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01525/4.859, allocations: 3.166 MB / 2.802 GB, free: 171.5 MB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1342/4.994, allocations: 81.76 MB / 2.882 GB, free: 89.38 MB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07484/5.068, allocations: 6.58 MB / 2.888 GB, free: 82.79 MB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005391/5.074, allocations: 1.302 MB / 2.89 GB, free: 81.49 MB / 1.732 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03414/5.108, allocations: 22.55 MB / 2.912 GB, free: 58.92 MB / 1.732 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02748/5.135, allocations: 21.69 MB / 2.933 GB, free: 36.2 MB / 1.732 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.6236/5.759, allocations: 36.31 MB / 2.968 GB, free: 0.6104 GB / 1.732 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.848e-05/5.759, allocations: 19.16 kB / 2.968 GB, free: 0.6104 GB / 1.732 GB Notification: Performance of matching and sorting (n=1491) (initialization_lambda0): time 0.5309/6.29, allocations: 130.6 MB / 3.096 GB, free: 0.5486 GB / 1.732 GB Notification: Performance of prepare postOptimizeDAE: time 7.372e-05/6.29, allocations: 54.64 kB / 3.096 GB, free: 0.5485 GB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.984e-05/6.29, allocations: 52 kB / 3.096 GB, free: 0.5485 GB / 1.732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5169/6.807, allocations: 117.6 MB / 3.211 GB, free: 444.3 MB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01414/6.821, allocations: 3.155 MB / 3.214 GB, free: 441.2 MB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1461/6.967, allocations: 85.87 MB / 3.298 GB, free: 355.3 MB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07772/7.045, allocations: 6.625 MB / 3.304 GB, free: 348.7 MB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005847/7.051, allocations: 1.274 MB / 3.306 GB, free: 347.4 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 (1043): * Single equations (assignments): 1023 * 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.008721/7.06, allocations: 0.7239 MB / 3.306 GB, free: 346.7 MB / 1.732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008328/7.068, allocations: 1.614 MB / 3.308 GB, free: 345.7 MB / 1.732 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1901/7.258, allocations: 60 MB / 3.367 GB, free: 285.8 MB / 1.732 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1903/7.448, allocations: 63.65 MB / 3.429 GB, free: 222.2 MB / 1.732 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001123/7.448, allocations: 28 kB / 3.429 GB, free: 222.2 MB / 1.732 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1812/7.63, allocations: 63.01 MB / 3.49 GB, free: 159.1 MB / 1.732 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.263/7.893, allocations: 127.3 MB / 3.615 GB, free: 31.87 MB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.038e-05/7.893, allocations: 0 / 3.615 GB, free: 31.87 MB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01069/7.903, allocations: 2.125 MB / 3.617 GB, free: 29.74 MB / 1.732 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.889/8.792, allocations: 78.42 MB / 3.693 GB, free: 0.5934 GB / 1.732 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003546/8.796, allocations: 0.5313 MB / 3.694 GB, free: 0.593 GB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0885/8.884, allocations: 55.55 MB / 3.748 GB, free: 0.566 GB / 1.732 GB 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 + 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 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 3 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow ; valHea.m_flow ; valCoo.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 ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; -bou.ports[1].m_flow ] might be structurally or numerically singular for variable valCoo.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. 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 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 3 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; spl1.res1.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 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable spl1.res1.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.08402/8.968, allocations: 47.64 MB / 3.795 GB, free: 0.5189 GB / 1.732 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2121/9.181, allocations: 90.7 MB / 3.883 GB, free: 441.8 MB / 1.732 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01771/9.198, allocations: 5.577 MB / 3.889 GB, free: 436.3 MB / 1.732 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007258/9.206, allocations: 171.9 kB / 3.889 GB, free: 436.2 MB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04463/9.25, allocations: 3.473 MB / 3.892 GB, free: 432.7 MB / 1.732 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004838/9.255, allocations: 0.8527 MB / 3.893 GB, free: 431.8 MB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003638/9.259, allocations: 0.6158 MB / 3.894 GB, free: 431.2 MB / 1.732 GB Notification: Performance of sorting global known variables: time 0.02215/9.281, allocations: 13.76 MB / 3.907 GB, free: 417.5 MB / 1.732 GB Notification: Performance of sort global known variables: time 2.51e-07/9.281, allocations: 0 / 3.907 GB, free: 417.5 MB / 1.732 GB Notification: Performance of remove unused functions: time 0.07818/9.359, allocations: 34.92 MB / 3.941 GB, free: 382.6 MB / 1.732 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 42 ($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,pmpNorth.vol.dynBal.U,valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,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 (556): * Single equations (assignments): 535 * 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,166)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2295/9.589, allocations: 92.27 MB / 4.031 GB, free: 290.4 MB / 1.732 GB Notification: Performance of simCode: created initialization part: time 0.1288/9.717, allocations: 69.45 MB / 4.099 GB, free: 220.9 MB / 1.732 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/9.717, allocations: 0 / 4.099 GB, free: 220.9 MB / 1.732 GB Notification: Performance of simCode: created simulation system equations: time 0.04923/9.767, allocations: 22.13 MB / 4.121 GB, free: 198.8 MB / 1.732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05466/9.821, allocations: 8.116 MB / 4.129 GB, free: 191 MB / 1.732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.589/12.41, allocations: 424.5 MB / 4.543 GB, free: 460.1 MB / 1.733 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01471/12.42, allocations: 9.902 MB / 4.553 GB, free: 450.1 MB / 1.733 GB Notification: Performance of simCode: alias equations: time 0.02801/12.45, allocations: 6.813 MB / 4.559 GB, free: 443.5 MB / 1.733 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02114/12.47, allocations: 10.04 MB / 4.569 GB, free: 433.5 MB / 1.733 GB Notification: Performance of SimCode: time 9.51e-07/12.47, allocations: 0 / 4.569 GB, free: 433.5 MB / 1.733 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.518/13.99, allocations: 0.8 GB / 5.369 GB, free: 291.3 MB / 1.733 GB Notification: Performance of buildModelFMU: Generate platform static: time 115.3/129.3, allocations: 11.06 kB / 5.369 GB, free: 291.3 MB / 1.733 GB " [Timeout remaining time 170] (rm -f Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 135.77004179600044] Failed to read output from testmodel.py, exit status != 0: 129.81109746999937 129.827295613 128.242312671 Calling exit ...