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.001557/0.001557, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 216.2 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.345/1.345, allocations: 230.6 MB / 256 MB, free: 7.785 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.046/3.046, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 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.00196/0.00196, allocations: 67.55 kB / 1.186 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2973, allocations: 181.9 MB / 1.363 GB, free: 13.98 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.9716/1.269, allocations: 329 MB / 1.685 GB, free: 49.27 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.08705/1.356, allocations: 70.68 MB / 1.754 GB, free: 33.68 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01667/1.373, allocations: 0.5978 MB / 1.754 GB, free: 33.68 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01927/1.392, allocations: 6.366 MB / 1.761 GB, free: 30.71 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.03631/1.428, allocations: 14.95 MB / 1.775 GB, free: 19.57 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02213/1.45, allocations: 10.45 MB / 1.785 GB, free: 11.98 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.07609/1.526, allocations: 56.01 MB / 1.84 GB, free: 14 MB / 1.342 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03/1.556, allocations: 15.36 MB / 1.855 GB, free: 14.48 MB / 1.357 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04228/1.599, allocations: 18.37 MB / 1.873 GB, free: 12.09 MB / 1.373 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03044/1.629, allocations: 15.95 MB / 1.889 GB, free: 12.09 MB / 1.389 GB Notification: Performance of NFPackage.collectConstants: time 0.007802/1.637, allocations: 1.754 MB / 1.89 GB, free: 10.33 MB / 1.389 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01886/1.656, allocations: 5.13 MB / 1.895 GB, free: 5.195 MB / 1.389 GB Notification: Performance of NFScalarize.scalarize: time 0.0106/1.666, allocations: 6.1 MB / 1.901 GB, free: 15.07 MB / 1.404 GB Notification: Performance of NFVerifyModel.verify: time 0.02073/1.687, allocations: 8.781 MB / 1.91 GB, free: 6.254 MB / 1.404 GB Notification: Performance of NFConvertDAE.convert: time 0.04979/1.737, allocations: 29.72 MB / 1.939 GB, free: 8.434 MB / 1.436 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.737, allocations: 0 / 1.939 GB, free: 8.434 MB / 1.436 GB Notification: Performance of FrontEnd: time 1.924e-06/1.737, allocations: 4 kB / 1.939 GB, free: 8.43 MB / 1.436 GB Notification: Performance of Transformations before backend: time 0.0008738/1.738, allocations: 0 / 1.939 GB, free: 8.43 MB / 1.436 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.0586/1.796, allocations: 20.8 MB / 1.959 GB, free: 3.465 MB / 1.451 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/1.796, allocations: 8.031 kB / 1.959 GB, free: 3.457 MB / 1.451 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004271/1.801, allocations: 1 MB / 1.96 GB, free: 2.445 MB / 1.451 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01702/1.818, allocations: 3.212 MB / 1.963 GB, free: 15.21 MB / 1.467 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04728/1.865, allocations: 21.44 MB / 1.984 GB, free: 9.629 MB / 1.482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007985/1.866, allocations: 0.6399 MB / 1.985 GB, free: 8.988 MB / 1.482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004389/1.87, allocations: 0.8826 MB / 1.986 GB, free: 8.105 MB / 1.482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04433/1.915, allocations: 18.06 MB / 2.003 GB, free: 5.586 MB / 1.498 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003896/1.915, allocations: 15.88 kB / 2.003 GB, free: 5.57 MB / 1.498 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003964/1.919, allocations: 320 kB / 2.004 GB, free: 5.258 MB / 1.498 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002337/1.919, allocations: 204 kB / 2.004 GB, free: 5.059 MB / 1.498 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04443/1.964, allocations: 21.39 MB / 2.025 GB, free: 15.65 MB / 1.529 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.1371/2.101, allocations: 62.65 MB / 2.086 GB, free: 380 kB / 1.576 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02547/2.126, allocations: 12.31 MB / 2.098 GB, free: 4.332 MB / 1.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01822/2.144, allocations: 9.192 MB / 2.107 GB, free: 11.13 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.06976/2.214, allocations: 29.01 MB / 2.135 GB, free: 14.03 MB / 1.639 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02137/2.235, allocations: 11.44 MB / 2.146 GB, free: 2.34 MB / 1.639 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02927/2.265, allocations: 8.227 MB / 2.154 GB, free: 10.1 MB / 1.654 GB Notification: Performance of pre-optimization done (n=503): time 3.324e-05/2.265, allocations: 0 / 2.154 GB, free: 10.1 MB / 1.654 GB Notification: Performance of matching and sorting (n=742): time 1.555/3.82, allocations: 218 MB / 2.367 GB, free: 0.6342 GB / 1.779 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1021/3.922, allocations: 47.59 MB / 2.414 GB, free: 0.5954 GB / 1.779 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02692/3.949, allocations: 19.52 MB / 2.433 GB, free: 0.5767 GB / 1.779 GB Notification: Performance of collectPreVariables (initialization): time 0.003291/3.952, allocations: 201.7 kB / 2.433 GB, free: 0.5765 GB / 1.779 GB Notification: Performance of collectInitialEqns (initialization): time 0.006702/3.959, allocations: 7.668 MB / 2.441 GB, free: 0.5704 GB / 1.779 GB Notification: Performance of collectInitialBindings (initialization): time 0.006566/3.965, allocations: 2.759 MB / 2.443 GB, free: 0.5691 GB / 1.779 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01075/3.976, allocations: 3.774 MB / 2.447 GB, free: 0.5654 GB / 1.779 GB Notification: Performance of setup shared object (initialization): time 3.231e-05/3.976, allocations: 305.1 kB / 2.447 GB, free: 0.5651 GB / 1.779 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02531/4.002, allocations: 19.49 MB / 2.466 GB, free: 0.546 GB / 1.779 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02759/4.029, allocations: 24.42 MB / 2.49 GB, free: 0.5207 GB / 1.779 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05083/4.08, allocations: 37.38 MB / 2.527 GB, free: 495 MB / 1.779 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.907e-05/4.08, allocations: 16 kB / 2.527 GB, free: 495 MB / 1.779 GB Notification: Performance of matching and sorting (n=1491) (initialization): time 0.5542/4.634, allocations: 132.3 MB / 2.656 GB, free: 362.6 MB / 1.779 GB Notification: Performance of prepare postOptimizeDAE: time 8.615e-05/4.634, allocations: 54.95 kB / 2.656 GB, free: 362.6 MB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.429e-05/4.634, allocations: 52.84 kB / 2.656 GB, free: 362.5 MB / 1.779 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5445/5.179, allocations: 117.8 MB / 2.771 GB, free: 244.8 MB / 1.779 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01518/5.194, allocations: 3.178 MB / 2.774 GB, free: 241.6 MB / 1.779 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1267/5.321, allocations: 80.95 MB / 2.853 GB, free: 160.3 MB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08526/5.406, allocations: 6.561 MB / 2.86 GB, free: 153.7 MB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004998/5.411, allocations: 1.298 MB / 2.861 GB, free: 152.4 MB / 1.779 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0342/5.445, allocations: 22.59 MB / 2.883 GB, free: 129.8 MB / 1.779 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02921/5.474, allocations: 23.9 MB / 2.906 GB, free: 104.3 MB / 1.779 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0526/5.527, allocations: 36.32 MB / 2.942 GB, free: 67.25 MB / 1.779 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.015e-05/5.527, allocations: 23.88 kB / 2.942 GB, free: 67.23 MB / 1.779 GB Notification: Performance of matching and sorting (n=1491) (initialization_lambda0): time 1.175/6.702, allocations: 130.7 MB / 3.069 GB, free: 0.6231 GB / 1.779 GB Notification: Performance of prepare postOptimizeDAE: time 8.545e-05/6.702, allocations: 53.39 kB / 3.07 GB, free: 0.6231 GB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.638e-05/6.702, allocations: 53.53 kB / 3.07 GB, free: 0.6231 GB / 1.779 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5413/7.243, allocations: 117.5 MB / 3.184 GB, free: 0.5326 GB / 1.779 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0135/7.257, allocations: 3.145 MB / 3.187 GB, free: 0.5296 GB / 1.779 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1246/7.382, allocations: 84.2 MB / 3.27 GB, free: 458.3 MB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08359/7.465, allocations: 6.62 MB / 3.276 GB, free: 451.7 MB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00409/7.469, allocations: 1.267 MB / 3.277 GB, free: 450.4 MB / 1.779 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.00485/7.474, allocations: 0.712 MB / 3.278 GB, free: 449.7 MB / 1.779 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005303/7.479, allocations: 1.613 MB / 3.28 GB, free: 449 MB / 1.779 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1997/7.679, allocations: 59.99 MB / 3.338 GB, free: 389.3 MB / 1.779 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2049/7.884, allocations: 63.67 MB / 3.4 GB, free: 325.8 MB / 1.779 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001036/7.884, allocations: 28 kB / 3.4 GB, free: 325.8 MB / 1.779 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1952/8.079, allocations: 63 MB / 3.462 GB, free: 262.7 MB / 1.779 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2569/8.336, allocations: 108.9 MB / 3.568 GB, free: 154 MB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.935e-05/8.336, allocations: 0 / 3.568 GB, free: 154 MB / 1.779 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01048/8.347, allocations: 2.14 MB / 3.57 GB, free: 151.8 MB / 1.779 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3066/8.653, allocations: 78.25 MB / 3.647 GB, free: 73.69 MB / 1.779 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003511/8.657, allocations: 0.5338 MB / 3.647 GB, free: 73.16 MB / 1.779 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09404/8.751, allocations: 55.01 MB / 3.701 GB, free: 18.12 MB / 1.779 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.792/9.543, allocations: 46.63 MB / 3.747 GB, free: 0.6143 GB / 1.779 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2388/9.782, allocations: 90.69 MB / 3.835 GB, free: 0.5836 GB / 1.779 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01595/9.798, allocations: 5.569 MB / 3.841 GB, free: 0.579 GB / 1.779 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006205/9.804, allocations: 168 kB / 3.841 GB, free: 0.5789 GB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04866/9.853, allocations: 3.466 MB / 3.844 GB, free: 0.576 GB / 1.779 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004213/9.857, allocations: 0.8521 MB / 3.845 GB, free: 0.5751 GB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003008/9.86, allocations: 0.6197 MB / 3.846 GB, free: 0.5745 GB / 1.779 GB Notification: Performance of sorting global known variables: time 0.0201/9.88, allocations: 13.54 MB / 3.859 GB, free: 0.5614 GB / 1.779 GB Notification: Performance of sort global known variables: time 4.41e-07/9.88, allocations: 0 / 3.859 GB, free: 0.5614 GB / 1.779 GB Notification: Performance of remove unused functions: time 0.0694/9.949, allocations: 34.87 MB / 3.893 GB, free: 0.5275 GB / 1.779 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.2331/10.18, allocations: 92.23 MB / 3.983 GB, free: 448.6 MB / 1.779 GB Notification: Performance of simCode: created initialization part: time 0.1101/10.29, allocations: 69.44 MB / 4.051 GB, free: 379.1 MB / 1.779 GB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/10.29, allocations: 4 kB / 4.051 GB, free: 379.1 MB / 1.779 GB Notification: Performance of simCode: created simulation system equations: time 0.04752/10.34, allocations: 22.12 MB / 4.072 GB, free: 357 MB / 1.779 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04862/10.39, allocations: 8.093 MB / 4.08 GB, free: 349.2 MB / 1.779 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.623/13.01, allocations: 424 MB / 4.494 GB, free: 0.5956 GB / 1.779 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01413/13.03, allocations: 9.627 MB / 4.504 GB, free: 0.5917 GB / 1.779 GB Notification: Performance of simCode: alias equations: time 0.02769/13.05, allocations: 6.796 MB / 4.51 GB, free: 0.5898 GB / 1.779 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02508/13.08, allocations: 10.04 MB / 4.52 GB, free: 0.5861 GB / 1.779 GB Notification: Performance of SimCode: time 2.444e-06/13.08, allocations: 0 / 4.52 GB, free: 0.5861 GB / 1.779 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.601/14.68, allocations: 0.8091 GB / 5.329 GB, free: 499.1 MB / 1.779 GB Notification: Performance of buildModelFMU: Generate platform static: time 80.92/95.6, allocations: 5.703 kB / 5.329 GB, free: 499.1 MB / 1.779 GB " [Timeout remaining time 204] (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: 102.3250563442707] Failed to read output from testmodel.py, exit status != 0: 96.0927993520163 96.105373586 94.365477455 Calling exit ...