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.001195/0.001195, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 218.7 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.308/1.308, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 179] 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 2.868/2.868, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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.001878/0.001878, allocations: 65.39 kB / 1.177 GB, free: 16.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2868, allocations: 180.2 MB / 1.353 GB, free: 8.34 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.957/1.244, allocations: 365.3 MB / 1.71 GB, free: 43.86 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.08155/1.325, allocations: 76.22 MB / 1.784 GB, free: 23.02 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0138/1.339, allocations: 0.595 MB / 1.785 GB, free: 22.69 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01536/1.355, allocations: 6.716 MB / 1.791 GB, free: 17.47 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.03307/1.388, allocations: 14.94 MB / 1.806 GB, free: 5.539 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02092/1.409, allocations: 10.62 MB / 1.816 GB, free: 13.76 MB / 1.311 GB Notification: Performance of NFFlatten.flatten: time 0.07182/1.48, allocations: 56.22 MB / 1.871 GB, free: 8.758 MB / 1.357 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02226/1.503, allocations: 15.43 MB / 1.886 GB, free: 9.18 MB / 1.373 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03443/1.537, allocations: 17.71 MB / 1.904 GB, free: 7.449 MB / 1.389 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02814/1.565, allocations: 16.28 MB / 1.919 GB, free: 7.109 MB / 1.404 GB Notification: Performance of NFPackage.collectConstants: time 0.006166/1.571, allocations: 1.871 MB / 1.921 GB, free: 5.238 MB / 1.404 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01809/1.589, allocations: 6.32 MB / 1.927 GB, free: 14.91 MB / 1.42 GB Notification: Performance of NFScalarize.scalarize: time 0.008628/1.598, allocations: 6.268 MB / 1.934 GB, free: 8.621 MB / 1.42 GB Notification: Performance of NFVerifyModel.verify: time 0.01784/1.616, allocations: 10.86 MB / 1.944 GB, free: 13.71 MB / 1.436 GB Notification: Performance of NFConvertDAE.convert: time 0.04177/1.658, allocations: 30.44 MB / 1.974 GB, free: 15.17 MB / 1.467 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/1.658, allocations: 0 / 1.974 GB, free: 15.17 MB / 1.467 GB Notification: Performance of FrontEnd: time 1.503e-06/1.658, allocations: 11.88 kB / 1.974 GB, free: 15.16 MB / 1.467 GB Notification: Performance of Transformations before backend: time 0.000718/1.658, allocations: 0 / 1.974 GB, free: 15.16 MB / 1.467 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.05039/1.709, allocations: 21.02 MB / 1.994 GB, free: 9.949 MB / 1.482 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/1.709, allocations: 8.031 kB / 1.994 GB, free: 9.941 MB / 1.482 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002966/1.712, allocations: 1 MB / 1.995 GB, free: 8.93 MB / 1.482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0148/1.727, allocations: 3.22 MB / 1.999 GB, free: 5.695 MB / 1.482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04265/1.769, allocations: 22.49 MB / 2.02 GB, free: 15.06 MB / 1.514 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000611/1.77, allocations: 0.6477 MB / 2.021 GB, free: 14.41 MB / 1.514 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003032/1.773, allocations: 0.8788 MB / 2.022 GB, free: 13.53 MB / 1.514 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03118/1.804, allocations: 17.12 MB / 2.039 GB, free: 12.18 MB / 1.529 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001378/1.804, allocations: 11.94 kB / 2.039 GB, free: 12.17 MB / 1.529 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0012/1.805, allocations: 316 kB / 2.039 GB, free: 11.86 MB / 1.529 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001714/1.806, allocations: 207.9 kB / 2.039 GB, free: 11.66 MB / 1.529 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03521/1.841, allocations: 21.4 MB / 2.06 GB, free: 6.246 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.1258/1.967, allocations: 81.71 MB / 2.14 GB, free: 236 kB / 1.623 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02266/1.989, allocations: 12.33 MB / 2.152 GB, free: 4.176 MB / 1.639 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01552/2.005, allocations: 9.202 MB / 2.161 GB, free: 10.96 MB / 1.654 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.06419/2.069, allocations: 31.89 MB / 2.192 GB, free: 10.94 MB / 1.686 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01831/2.087, allocations: 10.5 MB / 2.202 GB, free: 432 kB / 1.686 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02743/2.115, allocations: 8.223 MB / 2.21 GB, free: 8.191 MB / 1.701 GB Notification: Performance of pre-optimization done (n=503): time 2.413e-05/2.115, allocations: 3.938 kB / 2.21 GB, free: 8.188 MB / 1.701 GB Notification: Performance of matching and sorting (n=742): time 1.913/4.028, allocations: 218 MB / 2.423 GB, free: 0.5723 GB / 1.764 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1013/4.129, allocations: 48.74 MB / 2.471 GB, free: 0.5239 GB / 1.764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02401/4.153, allocations: 19.75 MB / 2.49 GB, free: 0.5048 GB / 1.764 GB Notification: Performance of collectPreVariables (initialization): time 0.003589/4.156, allocations: 201.7 kB / 2.49 GB, free: 0.5046 GB / 1.764 GB Notification: Performance of collectInitialEqns (initialization): time 0.005741/4.162, allocations: 7.655 MB / 2.498 GB, free: 0.4976 GB / 1.764 GB Notification: Performance of collectInitialBindings (initialization): time 0.006727/4.169, allocations: 2.755 MB / 2.5 GB, free: 0.4953 GB / 1.764 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01132/4.18, allocations: 3.797 MB / 2.504 GB, free: 0.4915 GB / 1.764 GB Notification: Performance of setup shared object (initialization): time 3.229e-05/4.18, allocations: 305.1 kB / 2.504 GB, free: 0.4912 GB / 1.764 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02502/4.205, allocations: 19.46 MB / 2.523 GB, free: 483.5 MB / 1.764 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02748/4.233, allocations: 22.21 MB / 2.545 GB, free: 460.3 MB / 1.764 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05056/4.283, allocations: 37.34 MB / 2.582 GB, free: 422.2 MB / 1.764 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.781e-05/4.283, allocations: 16 kB / 2.582 GB, free: 422.2 MB / 1.764 GB Notification: Performance of matching and sorting (n=1491) (initialization): time 0.5307/4.814, allocations: 132.3 MB / 2.711 GB, free: 290 MB / 1.764 GB Notification: Performance of prepare postOptimizeDAE: time 6.711e-05/4.814, allocations: 53.7 kB / 2.711 GB, free: 289.9 MB / 1.764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.86e-05/4.814, allocations: 52 kB / 2.711 GB, free: 289.9 MB / 1.764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5169/5.331, allocations: 118 MB / 2.826 GB, free: 172.3 MB / 1.764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01487/5.346, allocations: 3.166 MB / 2.829 GB, free: 169.1 MB / 1.764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1204/5.466, allocations: 81.75 MB / 2.909 GB, free: 87.07 MB / 1.764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07358/5.54, allocations: 6.586 MB / 2.915 GB, free: 80.48 MB / 1.764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005162/5.545, allocations: 1.302 MB / 2.917 GB, free: 79.18 MB / 1.764 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03487/5.58, allocations: 22.55 MB / 2.939 GB, free: 56.6 MB / 1.764 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02644/5.606, allocations: 21.69 MB / 2.96 GB, free: 33.88 MB / 1.764 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.163/6.769, allocations: 36.3 MB / 2.995 GB, free: 0.6138 GB / 1.764 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.284e-05/6.769, allocations: 15.19 kB / 2.995 GB, free: 0.6138 GB / 1.764 GB Notification: Performance of matching and sorting (n=1491) (initialization_lambda0): time 0.53/7.299, allocations: 130.7 MB / 3.123 GB, free: 0.5526 GB / 1.764 GB Notification: Performance of prepare postOptimizeDAE: time 6.647e-05/7.299, allocations: 53.7 kB / 3.123 GB, free: 0.5525 GB / 1.764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.062e-05/7.299, allocations: 52 kB / 3.123 GB, free: 0.5525 GB / 1.764 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5103/7.81, allocations: 117.6 MB / 3.238 GB, free: 448.5 MB / 1.764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01401/7.824, allocations: 3.147 MB / 3.241 GB, free: 445.3 MB / 1.764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.14/7.964, allocations: 85.89 MB / 3.325 GB, free: 359.4 MB / 1.764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07542/8.039, allocations: 6.617 MB / 3.331 GB, free: 352.8 MB / 1.764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005815/8.045, allocations: 1.275 MB / 3.333 GB, free: 351.5 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.006666/8.052, allocations: 0.7199 MB / 3.333 GB, free: 350.8 MB / 1.764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006609/8.058, allocations: 1.613 MB / 3.335 GB, free: 349.8 MB / 1.764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1794/8.238, allocations: 60 MB / 3.393 GB, free: 290 MB / 1.764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1808/8.418, allocations: 63.65 MB / 3.456 GB, free: 226.6 MB / 1.764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001148/8.419, allocations: 32 kB / 3.456 GB, free: 226.5 MB / 1.764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.176/8.595, allocations: 63.01 MB / 3.517 GB, free: 163.7 MB / 1.764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2488/8.843, allocations: 127.3 MB / 3.642 GB, free: 36.58 MB / 1.764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-05/8.843, allocations: 3.938 kB / 3.642 GB, free: 36.57 MB / 1.764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01055/8.854, allocations: 2.121 MB / 3.644 GB, free: 34.45 MB / 1.764 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.8852/9.739, allocations: 78.42 MB / 3.72 GB, free: 0.5953 GB / 1.764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003666/9.743, allocations: 0.5357 MB / 3.721 GB, free: 0.5953 GB / 1.764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08534/9.828, allocations: 55.55 MB / 3.775 GB, free: 0.5743 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.08531/9.914, allocations: 47.64 MB / 3.821 GB, free: 0.5297 GB / 1.764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.213/10.13, allocations: 90.69 MB / 3.91 GB, free: 452.8 MB / 1.764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01572/10.14, allocations: 5.578 MB / 3.915 GB, free: 447.4 MB / 1.764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006713/10.15, allocations: 168 kB / 3.916 GB, free: 447.2 MB / 1.764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04271/10.19, allocations: 3.481 MB / 3.919 GB, free: 443.8 MB / 1.764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00414/10.2, allocations: 0.8488 MB / 3.92 GB, free: 442.9 MB / 1.764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002534/10.2, allocations: 0.6197 MB / 3.92 GB, free: 442.3 MB / 1.764 GB Notification: Performance of sorting global known variables: time 0.01843/10.22, allocations: 13.76 MB / 3.934 GB, free: 428.6 MB / 1.764 GB Notification: Performance of sort global known variables: time 2.11e-07/10.22, allocations: 0 / 3.934 GB, free: 428.6 MB / 1.764 GB Notification: Performance of remove unused functions: time 0.07006/10.29, allocations: 34.92 MB / 3.968 GB, free: 393.8 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.2109/10.5, allocations: 92.26 MB / 4.058 GB, free: 302 MB / 1.764 GB Notification: Performance of simCode: created initialization part: time 0.1062/10.6, allocations: 69.45 MB / 4.126 GB, free: 232.5 MB / 1.764 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/10.6, allocations: 4 kB / 4.126 GB, free: 232.5 MB / 1.764 GB Notification: Performance of simCode: created simulation system equations: time 0.04638/10.65, allocations: 22.12 MB / 4.148 GB, free: 210.4 MB / 1.764 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04593/10.7, allocations: 8.099 MB / 4.155 GB, free: 202.6 MB / 1.764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.953/12.65, allocations: 424.5 MB / 4.57 GB, free: 471 MB / 1.764 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0107/12.66, allocations: 9.917 MB / 4.58 GB, free: 461 MB / 1.764 GB Notification: Performance of simCode: alias equations: time 0.02544/12.68, allocations: 6.805 MB / 4.586 GB, free: 454.5 MB / 1.764 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0197/12.7, allocations: 10.05 MB / 4.596 GB, free: 444.4 MB / 1.764 GB Notification: Performance of SimCode: time 1.703e-06/12.7, allocations: 3.375 kB / 4.596 GB, free: 444.4 MB / 1.764 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.438/14.14, allocations: 0.8 GB / 5.396 GB, free: 300.7 MB / 1.764 GB Notification: Performance of buildModelFMU: Generate platform static: time 83.44/97.58, allocations: 5.922 kB / 5.396 GB, free: 300.7 MB / 1.764 GB " [Timeout remaining time 202] (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: 103.93069088199991] Failed to read output from testmodel.py, exit status != 0: 98.04181549600071 98.050621591 96.390487031 Calling exit ...