Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001607/0.001607, allocations: 101 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.001757/0.001757, 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.392/1.392, allocations: 230.6 MB / 252.8 MB, free: 9.129 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.091/3.091, allocations: 0.505 GB / 0.8066 GB, free: 23.06 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_latest_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.002073/0.002073, allocations: 68.92 kB / 1.172 GB, free: 17.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3227, allocations: 180.2 MB / 1.348 GB, free: 9.883 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.134/1.457, allocations: 361.8 MB / 1.701 GB, free: 46.41 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.09618/1.553, allocations: 75.91 MB / 1.775 GB, free: 28.55 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01702/1.57, allocations: 0.6018 MB / 1.776 GB, free: 28.22 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01837/1.588, allocations: 6.6 MB / 1.782 GB, free: 23.09 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.04012/1.628, allocations: 14.67 MB / 1.797 GB, free: 11.38 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02423/1.653, allocations: 10.37 MB / 1.807 GB, free: 3.836 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.07918/1.732, allocations: 54.93 MB / 1.86 GB, free: 456 kB / 1.342 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03336/1.765, allocations: 16.96 MB / 1.877 GB, free: 15.33 MB / 1.373 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04161/1.807, allocations: 17.59 MB / 1.894 GB, free: 13.71 MB / 1.389 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03113/1.838, allocations: 16.25 MB / 1.91 GB, free: 13.41 MB / 1.404 GB Notification: Performance of NFPackage.collectConstants: time 0.008545/1.846, allocations: 1.867 MB / 1.912 GB, free: 11.54 MB / 1.404 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02239/1.869, allocations: 6.191 MB / 1.918 GB, free: 5.344 MB / 1.404 GB Notification: Performance of NFScalarize.scalarize: time 0.01126/1.88, allocations: 6.264 MB / 1.924 GB, free: 15.06 MB / 1.42 GB Notification: Performance of NFVerifyModel.verify: time 0.02211/1.902, allocations: 10.84 MB / 1.935 GB, free: 4.164 MB / 1.42 GB Notification: Performance of NFConvertDAE.convert: time 0.05378/1.956, allocations: 30.43 MB / 1.964 GB, free: 5.629 MB / 1.451 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/1.956, allocations: 0 / 1.964 GB, free: 5.629 MB / 1.451 GB Notification: Performance of FrontEnd: time 2.074e-06/1.956, allocations: 4 kB / 1.964 GB, free: 5.625 MB / 1.451 GB Notification: Performance of Transformations before backend: time 0.0009334/1.957, allocations: 0 / 1.964 GB, free: 5.625 MB / 1.451 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.06759/2.025, allocations: 21.09 MB / 1.985 GB, free: 352 kB / 1.467 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/2.025, allocations: 8.031 kB / 1.985 GB, free: 344 kB / 1.467 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004457/2.029, allocations: 1.004 MB / 1.986 GB, free: 15.32 MB / 1.482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02141/2.05, allocations: 3.22 MB / 1.989 GB, free: 12.09 MB / 1.482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05574/2.106, allocations: 22.5 MB / 2.011 GB, free: 5.484 MB / 1.498 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009954/2.107, allocations: 0.6438 MB / 2.012 GB, free: 4.84 MB / 1.498 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00552/2.113, allocations: 0.8827 MB / 2.013 GB, free: 3.957 MB / 1.498 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04535/2.158, allocations: 17.1 MB / 2.029 GB, free: 2.621 MB / 1.514 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003726/2.158, allocations: 15.89 kB / 2.029 GB, free: 2.605 MB / 1.514 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004038/2.162, allocations: 319.9 kB / 2.03 GB, free: 2.293 MB / 1.514 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002698/2.163, allocations: 207.9 kB / 2.03 GB, free: 2.09 MB / 1.514 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04928/2.212, allocations: 21.38 MB / 2.051 GB, free: 12.68 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 removeSimpleEquations (simulation): time 0.1558/2.368, allocations: 81.64 MB / 2.13 GB, free: 6.805 MB / 1.623 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02764/2.395, allocations: 12.48 MB / 2.143 GB, free: 10.56 MB / 1.639 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01903/2.414, allocations: 9.198 MB / 2.152 GB, free: 1.352 MB / 1.639 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.079/2.493, allocations: 33.33 MB / 2.184 GB, free: 15.45 MB / 1.686 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02146/2.515, allocations: 10.48 MB / 2.194 GB, free: 4.945 MB / 1.686 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03123/2.546, allocations: 8.223 MB / 2.202 GB, free: 12.71 MB / 1.701 GB Notification: Performance of pre-optimization done (n=503): time 3.075e-05/2.546, allocations: 4 kB / 2.202 GB, free: 12.71 MB / 1.701 GB Notification: Performance of matching and sorting (n=742): time 1.687/4.233, allocations: 218.2 MB / 2.415 GB, free: 0.5823 GB / 1.764 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.108/4.341, allocations: 49 MB / 2.463 GB, free: 0.5335 GB / 1.764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02796/4.369, allocations: 19.7 MB / 2.483 GB, free: 0.5145 GB / 1.764 GB Notification: Performance of collectPreVariables (initialization): time 0.004215/4.373, allocations: 201.7 kB / 2.483 GB, free: 0.5143 GB / 1.764 GB Notification: Performance of collectInitialEqns (initialization): time 0.006229/4.379, allocations: 7.662 MB / 2.49 GB, free: 0.5071 GB / 1.764 GB Notification: Performance of collectInitialBindings (initialization): time 0.007518/4.387, allocations: 2.759 MB / 2.493 GB, free: 0.5045 GB / 1.764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009912/4.397, allocations: 3.801 MB / 2.497 GB, free: 0.5007 GB / 1.764 GB Notification: Performance of setup shared object (initialization): time 3.382e-05/4.397, allocations: 301.1 kB / 2.497 GB, free: 0.5005 GB / 1.764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02731/4.424, allocations: 19.43 MB / 2.516 GB, free: 493 MB / 1.764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03197/4.456, allocations: 22.19 MB / 2.538 GB, free: 469.8 MB / 1.764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05703/4.513, allocations: 37.3 MB / 2.574 GB, free: 431.7 MB / 1.764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.697e-05/4.513, allocations: 12 kB / 2.574 GB, free: 431.7 MB / 1.764 GB Notification: Performance of matching and sorting (n=1491) (initialization): time 0.6074/5.12, allocations: 132.2 MB / 2.703 GB, free: 299.4 MB / 1.764 GB Notification: Performance of prepare postOptimizeDAE: time 6.657e-05/5.12, allocations: 58.7 kB / 2.703 GB, free: 299.4 MB / 1.764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-05/5.121, allocations: 52 kB / 2.703 GB, free: 299.3 MB / 1.764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5898/5.71, allocations: 118 MB / 2.818 GB, free: 181.4 MB / 1.764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01675/5.727, allocations: 3.17 MB / 2.821 GB, free: 178.3 MB / 1.764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1395/5.867, allocations: 81.87 MB / 2.901 GB, free: 96.02 MB / 1.764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09642/5.963, allocations: 6.584 MB / 2.908 GB, free: 89.43 MB / 1.764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006208/5.969, allocations: 1.294 MB / 2.909 GB, free: 88.13 MB / 1.764 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0375/6.007, allocations: 22.54 MB / 2.931 GB, free: 65.57 MB / 1.764 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02989/6.037, allocations: 21.68 MB / 2.952 GB, free: 42.88 MB / 1.764 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.7779/6.815, allocations: 36.27 MB / 2.988 GB, free: 0.6181 GB / 1.764 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.482e-05/6.815, allocations: 15.09 kB / 2.988 GB, free: 0.6181 GB / 1.764 GB Notification: Performance of matching and sorting (n=1491) (initialization_lambda0): time 0.6078/7.422, allocations: 130.6 MB / 3.115 GB, free: 0.5647 GB / 1.764 GB Notification: Performance of prepare postOptimizeDAE: time 6.7e-05/7.423, allocations: 53.7 kB / 3.115 GB, free: 0.5646 GB / 1.764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.611e-05/7.423, allocations: 52.91 kB / 3.115 GB, free: 0.5646 GB / 1.764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5772/8, allocations: 117.6 MB / 3.23 GB, free: 460.9 MB / 1.764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01498/8.015, allocations: 3.152 MB / 3.233 GB, free: 457.7 MB / 1.764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1354/8.15, allocations: 86.1 MB / 3.317 GB, free: 371.6 MB / 1.764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09429/8.244, allocations: 6.628 MB / 3.324 GB, free: 364.9 MB / 1.764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006512/8.251, allocations: 1.271 MB / 3.325 GB, free: 363.7 MB / 1.764 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.006935/8.258, allocations: 0.7166 MB / 3.326 GB, free: 363 MB / 1.764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007848/8.266, allocations: 1.613 MB / 3.327 GB, free: 361.9 MB / 1.764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2073/8.473, allocations: 59.97 MB / 3.386 GB, free: 302.1 MB / 1.764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2109/8.684, allocations: 63.64 MB / 3.448 GB, free: 238.5 MB / 1.764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001157/8.684, allocations: 28 kB / 3.448 GB, free: 238.5 MB / 1.764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2105/8.895, allocations: 62.99 MB / 3.51 GB, free: 175.5 MB / 1.764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2875/9.182, allocations: 127.3 MB / 3.634 GB, free: 48.22 MB / 1.764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.619e-05/9.182, allocations: 0 / 3.634 GB, free: 48.22 MB / 1.764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01226/9.194, allocations: 2.133 MB / 3.636 GB, free: 46.08 MB / 1.764 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.011/10.21, allocations: 78.43 MB / 3.713 GB, free: 0.5984 GB / 1.764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004243/10.21, allocations: 0.5309 MB / 3.713 GB, free: 0.5984 GB / 1.764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09701/10.31, allocations: 55.66 MB / 3.768 GB, free: 0.5838 GB / 1.764 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.0904/10.4, allocations: 48.72 MB / 3.815 GB, free: 0.5426 GB / 1.764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2451/10.64, allocations: 90.65 MB / 3.904 GB, free: 466 MB / 1.764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01498/10.66, allocations: 5.49 MB / 3.909 GB, free: 460.7 MB / 1.764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006818/10.66, allocations: 164 kB / 3.909 GB, free: 460.5 MB / 1.764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05371/10.72, allocations: 3.483 MB / 3.913 GB, free: 457 MB / 1.764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005377/10.72, allocations: 0.8179 MB / 3.913 GB, free: 456.2 MB / 1.764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003801/10.73, allocations: 0.6197 MB / 3.914 GB, free: 455.6 MB / 1.764 GB Notification: Performance of sorting global known variables: time 0.01991/10.75, allocations: 13.73 MB / 3.927 GB, free: 441.9 MB / 1.764 GB Notification: Performance of sort global known variables: time 2.51e-07/10.75, allocations: 0 / 3.927 GB, free: 441.9 MB / 1.764 GB Notification: Performance of remove unused functions: time 0.08373/10.83, allocations: 34.92 MB / 3.961 GB, free: 407 MB / 1.764 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.2555/11.09, allocations: 92.24 MB / 4.052 GB, free: 314.9 MB / 1.764 GB Notification: Performance of simCode: created initialization part: time 0.1234/11.21, allocations: 69.39 MB / 4.119 GB, free: 245.5 MB / 1.764 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/11.21, allocations: 7.875 kB / 4.119 GB, free: 245.4 MB / 1.764 GB Notification: Performance of simCode: created simulation system equations: time 0.05519/11.26, allocations: 22.09 MB / 4.141 GB, free: 223.3 MB / 1.764 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05598/11.32, allocations: 8.104 MB / 4.149 GB, free: 215.5 MB / 1.764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.831/14.15, allocations: 424.2 MB / 4.563 GB, free: 495.4 MB / 1.764 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0137/14.17, allocations: 9.912 MB / 4.573 GB, free: 485.4 MB / 1.764 GB Notification: Performance of simCode: alias equations: time 0.02947/14.19, allocations: 6.809 MB / 4.579 GB, free: 478.8 MB / 1.764 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01998/14.21, allocations: 10.04 MB / 4.589 GB, free: 468.7 MB / 1.764 GB Notification: Performance of SimCode: time 1.072e-06/14.21, allocations: 3.938 kB / 4.589 GB, free: 468.7 MB / 1.764 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.592/15.81, allocations: 0.7816 GB / 5.371 GB, free: 354 MB / 1.764 GB Notification: Performance of buildModelFMU: Generate platform static: time 95.47/111.3, allocations: 8 kB / 5.371 GB, free: 354 MB / 1.764 GB " [Timeout remaining time 188] (rm -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.csv --start-time 0 --stop-time 1000 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 Buildings_latest_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 118.13030512002297] Failed to read output from testmodel.py, exit status != 0: 111.72472086083144 111.734207344 109.775506952 Calling exit ...