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.001714/0.001714, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002312/0.002312, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.524/1.524, allocations: 230.6 MB / 252.8 MB, free: 9.141 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.916/2.916, allocations: 476.7 MB / 0.7672 GB, free: 5.227 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.002166/0.002166, allocations: 63.91 kB / 1.112 GB, free: 1.445 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9149/0.9171, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.212/2.129, allocations: 361.8 MB / 1.632 GB, free: 62.19 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.09103/2.22, allocations: 76.07 MB / 1.706 GB, free: 61.07 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01499/2.235, allocations: 0.5795 MB / 1.706 GB, free: 61.07 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01833/2.254, allocations: 6.623 MB / 1.713 GB, free: 60.95 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.03662/2.29, allocations: 14.75 MB / 1.727 GB, free: 58.89 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02267/2.313, allocations: 10.41 MB / 1.738 GB, free: 53.8 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.08863/2.402, allocations: 74.39 MB / 1.81 GB, free: 13.01 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02806/2.43, allocations: 17.4 MB / 1.827 GB, free: 12.22 MB / 1.326 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04225/2.472, allocations: 17.68 MB / 1.844 GB, free: 11.5 MB / 1.342 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03358/2.505, allocations: 17.21 MB / 1.861 GB, free: 11.46 MB / 1.357 GB Notification: Performance of NFPackage.collectConstants: time 0.008393/2.514, allocations: 1.969 MB / 1.863 GB, free: 9.492 MB / 1.357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02221/2.536, allocations: 6.319 MB / 1.869 GB, free: 3.445 MB / 1.357 GB Notification: Performance of NFScalarize.scalarize: time 0.01224/2.548, allocations: 6.668 MB / 1.876 GB, free: 13.01 MB / 1.373 GB Notification: Performance of NFVerifyModel.verify: time 0.02596/2.574, allocations: 11.3 MB / 1.887 GB, free: 1.906 MB / 1.373 GB Notification: Performance of NFConvertDAE.convert: time 0.06066/2.635, allocations: 31.8 MB / 1.918 GB, free: 3.277 MB / 1.404 GB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/2.635, allocations: 0 / 1.918 GB, free: 3.277 MB / 1.404 GB Notification: Performance of FrontEnd: time 2.094e-06/2.635, allocations: 0 / 1.918 GB, free: 3.277 MB / 1.404 GB Notification: Performance of Transformations before backend: time 0.001087/2.636, allocations: 4 kB / 1.918 GB, free: 3.273 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.07091/2.707, allocations: 22.36 MB / 1.94 GB, free: 12.99 MB / 1.436 GB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/2.707, allocations: 8.031 kB / 1.94 GB, free: 12.98 MB / 1.436 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005006/2.712, allocations: 1.053 MB / 1.941 GB, free: 11.93 MB / 1.436 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01928/2.731, allocations: 3.309 MB / 1.944 GB, free: 8.605 MB / 1.436 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05458/2.786, allocations: 23.19 MB / 1.967 GB, free: 1.734 MB / 1.451 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009957/2.787, allocations: 0.6633 MB / 1.967 GB, free: 1.078 MB / 1.451 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004827/2.792, allocations: 0.9387 MB / 1.968 GB, free: 148 kB / 1.451 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04349/2.835, allocations: 17.23 MB / 1.985 GB, free: 14.72 MB / 1.482 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000374/2.836, allocations: 15.86 kB / 1.985 GB, free: 14.7 MB / 1.482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003412/2.839, allocations: 336 kB / 1.985 GB, free: 14.38 MB / 1.482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004844/2.839, allocations: 363.4 kB / 1.986 GB, free: 14.03 MB / 1.482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04821/2.888, allocations: 21.86 MB / 2.007 GB, free: 8.148 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.163/3.051, allocations: 82.37 MB / 2.088 GB, free: 2.863 MB / 1.576 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02493/3.076, allocations: 11.85 MB / 2.099 GB, free: 7.254 MB / 1.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01779/3.093, allocations: 8.957 MB / 2.108 GB, free: 14.29 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.07957/3.173, allocations: 34.28 MB / 2.141 GB, free: 11.62 MB / 1.639 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02168/3.195, allocations: 10.29 MB / 2.151 GB, free: 1.25 MB / 1.639 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03356/3.228, allocations: 8.259 MB / 2.159 GB, free: 9.164 MB / 1.654 GB Notification: Performance of pre-optimization done (n=567): time 3.017e-05/3.228, allocations: 3.938 kB / 2.159 GB, free: 9.16 MB / 1.654 GB Notification: Performance of matching and sorting (n=838): time 2.271/5.499, allocations: 217.6 MB / 2.372 GB, free: 0.6074 GB / 1.733 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1332/5.632, allocations: 55.86 MB / 2.426 GB, free: 0.552 GB / 1.733 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03747/5.67, allocations: 20.51 MB / 2.447 GB, free: 0.5321 GB / 1.733 GB Notification: Performance of collectPreVariables (initialization): time 0.004181/5.674, allocations: 221.7 kB / 2.447 GB, free: 0.5319 GB / 1.733 GB Notification: Performance of collectInitialEqns (initialization): time 0.00922/5.683, allocations: 7.876 MB / 2.454 GB, free: 0.5247 GB / 1.733 GB Notification: Performance of collectInitialBindings (initialization): time 0.008374/5.691, allocations: 3.145 MB / 2.458 GB, free: 0.522 GB / 1.733 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01517/5.707, allocations: 4 MB / 2.461 GB, free: 0.5181 GB / 1.733 GB Notification: Performance of setup shared object (initialization): time 4.489e-05/5.707, allocations: 301.2 kB / 2.462 GB, free: 0.5178 GB / 1.733 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02985/5.736, allocations: 20.28 MB / 2.481 GB, free: 0.498 GB / 1.733 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03149/5.768, allocations: 23.1 MB / 2.504 GB, free: 485.8 MB / 1.733 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05814/5.826, allocations: 38.61 MB / 2.542 GB, free: 446.4 MB / 1.733 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.617e-05/5.826, allocations: 16 kB / 2.542 GB, free: 446.4 MB / 1.733 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.7485/6.575, allocations: 134.2 MB / 2.673 GB, free: 312.2 MB / 1.733 GB Notification: Performance of prepare postOptimizeDAE: time 7.459e-05/6.575, allocations: 57.95 kB / 2.673 GB, free: 312.1 MB / 1.733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.593e-05/6.575, allocations: 52 kB / 2.673 GB, free: 312.1 MB / 1.733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6422/7.217, allocations: 118 MB / 2.788 GB, free: 194.5 MB / 1.733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01959/7.237, allocations: 3.549 MB / 2.792 GB, free: 191 MB / 1.733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1529/7.389, allocations: 81.93 MB / 2.872 GB, free: 108.7 MB / 1.733 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.102/7.491, allocations: 6.444 MB / 2.878 GB, free: 102.2 MB / 1.733 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005847/7.497, allocations: 1.31 MB / 2.879 GB, free: 100.9 MB / 1.733 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03851/7.536, allocations: 23.68 MB / 2.902 GB, free: 77.23 MB / 1.733 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03369/7.569, allocations: 22.58 MB / 2.924 GB, free: 53.61 MB / 1.733 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.375/8.945, allocations: 37.58 MB / 2.961 GB, free: 0.6378 GB / 1.733 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.000105/8.945, allocations: 15.03 kB / 2.961 GB, free: 0.6378 GB / 1.733 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.6309/9.576, allocations: 132.6 MB / 3.091 GB, free: 0.587 GB / 1.733 GB Notification: Performance of prepare postOptimizeDAE: time 6.357e-05/9.576, allocations: 53.7 kB / 3.091 GB, free: 0.587 GB / 1.733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-05/9.576, allocations: 54.3 kB / 3.091 GB, free: 0.5869 GB / 1.733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6069/10.18, allocations: 117.6 MB / 3.206 GB, free: 483.7 MB / 1.733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01768/10.2, allocations: 3.531 MB / 3.209 GB, free: 480.2 MB / 1.733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1544/10.35, allocations: 86.15 MB / 3.293 GB, free: 394 MB / 1.733 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09809/10.45, allocations: 6.499 MB / 3.299 GB, free: 387.5 MB / 1.733 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007437/10.46, allocations: 1.279 MB / 3.301 GB, free: 386.2 MB / 1.733 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.01025/10.47, allocations: 0.7662 MB / 3.301 GB, free: 385.4 MB / 1.733 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0101/10.48, allocations: 1.702 MB / 3.303 GB, free: 383.9 MB / 1.733 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2273/10.71, allocations: 60.28 MB / 3.362 GB, free: 323.9 MB / 1.733 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2275/10.94, allocations: 66.08 MB / 3.427 GB, free: 258 MB / 1.733 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001647/10.94, allocations: 31.94 kB / 3.427 GB, free: 258 MB / 1.733 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2138/11.15, allocations: 65.39 MB / 3.49 GB, free: 192.7 MB / 1.733 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3109/11.46, allocations: 129.7 MB / 3.617 GB, free: 63.27 MB / 1.733 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001114/11.46, allocations: 4 kB / 3.617 GB, free: 63.27 MB / 1.733 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0125/11.47, allocations: 1.989 MB / 3.619 GB, free: 61.28 MB / 1.733 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.085/12.56, allocations: 81.39 MB / 3.699 GB, free: 0.6174 GB / 1.733 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004128/12.56, allocations: 0.5677 MB / 3.699 GB, free: 0.6174 GB / 1.733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1146/12.68, allocations: 58.56 MB / 3.756 GB, free: 0.6027 GB / 1.733 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.1281/12.81, allocations: 54.06 MB / 3.809 GB, free: 0.5615 GB / 1.733 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2698/13.08, allocations: 95.33 MB / 3.902 GB, free: 480.5 MB / 1.733 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01796/13.09, allocations: 6.112 MB / 3.908 GB, free: 474.3 MB / 1.733 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008404/13.1, allocations: 212 kB / 3.908 GB, free: 474.1 MB / 1.733 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05614/13.16, allocations: 3.317 MB / 3.912 GB, free: 470.8 MB / 1.733 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005588/13.16, allocations: 0.8733 MB / 3.912 GB, free: 469.9 MB / 1.733 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003874/13.17, allocations: 0.6237 MB / 3.913 GB, free: 469.3 MB / 1.733 GB Notification: Performance of sorting global known variables: time 0.02664/13.19, allocations: 14.3 MB / 3.927 GB, free: 455.1 MB / 1.733 GB Notification: Performance of sort global known variables: time 2.7e-07/13.19, allocations: 0 / 3.927 GB, free: 455.1 MB / 1.733 GB Notification: Performance of remove unused functions: time 0.1005/13.29, allocations: 38.73 MB / 3.965 GB, free: 416.5 MB / 1.733 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.2735/13.57, allocations: 96.79 MB / 4.059 GB, free: 320.2 MB / 1.733 GB Notification: Performance of simCode: created initialization part: time 0.1363/13.7, allocations: 74.03 MB / 4.132 GB, free: 246.1 MB / 1.733 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/13.7, allocations: 5.938 kB / 4.132 GB, free: 246.1 MB / 1.733 GB Notification: Performance of simCode: created simulation system equations: time 0.05647/13.76, allocations: 23.16 MB / 4.154 GB, free: 222.9 MB / 1.733 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06881/13.83, allocations: 7.985 MB / 4.162 GB, free: 215.2 MB / 1.733 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.361/16.19, allocations: 443.6 MB / 4.595 GB, free: 484.4 MB / 1.733 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01633/16.21, allocations: 10.46 MB / 4.605 GB, free: 473.9 MB / 1.733 GB Notification: Performance of simCode: alias equations: time 0.03794/16.24, allocations: 7.984 MB / 4.613 GB, free: 466.1 MB / 1.733 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0244/16.27, allocations: 10.36 MB / 4.623 GB, free: 455.8 MB / 1.733 GB Notification: Performance of SimCode: time 1.553e-06/16.27, allocations: 0 / 4.623 GB, free: 455.8 MB / 1.733 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.933/18.2, allocations: 0.8148 GB / 5.438 GB, free: 314.4 MB / 1.733 GB Notification: Performance of buildModelFMU: Generate platform static: time 106.5/124.7, allocations: 17.3 kB / 5.438 GB, free: 314.4 MB / 1.733 GB " [Timeout remaining time 175] (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: 131.59184621600434] Failed to read output from testmodel.py, exit status != 0: 125.19684793497436 125.206558303 122.568929023 Calling exit ...