Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001608/0.001608, allocations: 216.6 kB / 22.25 MB, free: 4.855 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.363/1.363, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.952/2.952, allocations: 0.4892 GB / 0.7943 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_12_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_12_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 63.03 kB / 1.153 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3272, allocations: 176.1 MB / 1.325 GB, free: 2.266 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.16/1.487, allocations: 329 MB / 1.646 GB, free: 58.57 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.09369/1.581, allocations: 70.67 MB / 1.715 GB, free: 55.91 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01626/1.597, allocations: 0.5972 MB / 1.716 GB, free: 55.91 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01684/1.614, allocations: 6.379 MB / 1.722 GB, free: 54.67 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.03625/1.65, allocations: 14.96 MB / 1.737 GB, free: 49.52 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02151/1.671, allocations: 10.45 MB / 1.747 GB, free: 44.43 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.05907/1.731, allocations: 55.99 MB / 1.802 GB, free: 8.707 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02493/1.755, allocations: 15.37 MB / 1.817 GB, free: 9.957 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04515/1.801, allocations: 18.37 MB / 1.835 GB, free: 8.543 MB / 1.326 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03197/1.833, allocations: 15.94 MB / 1.85 GB, free: 9.66 MB / 1.342 GB Notification: Performance of NFPackage.collectConstants: time 0.007967/1.841, allocations: 1.754 MB / 1.852 GB, free: 7.906 MB / 1.342 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02039/1.861, allocations: 5.123 MB / 1.857 GB, free: 2.996 MB / 1.342 GB Notification: Performance of NFScalarize.scalarize: time 0.01149/1.872, allocations: 6.109 MB / 1.863 GB, free: 13.11 MB / 1.357 GB Notification: Performance of NFVerifyModel.verify: time 0.02339/1.896, allocations: 8.777 MB / 1.872 GB, free: 4.543 MB / 1.357 GB Notification: Performance of NFConvertDAE.convert: time 0.05484/1.951, allocations: 29.72 MB / 1.901 GB, free: 7.977 MB / 1.389 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/1.951, allocations: 3.984 kB / 1.901 GB, free: 7.973 MB / 1.389 GB Notification: Performance of FrontEnd: time 2.074e-06/1.951, allocations: 4 kB / 1.901 GB, free: 7.969 MB / 1.389 GB Notification: Performance of Transformations before backend: time 0.000997/1.952, allocations: 0 / 1.901 GB, free: 7.969 MB / 1.389 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.06422/2.016, allocations: 20.79 MB / 1.921 GB, free: 3.242 MB / 1.404 GB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/2.016, allocations: 12.02 kB / 1.921 GB, free: 3.23 MB / 1.404 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005717/2.022, allocations: 1.007 MB / 1.922 GB, free: 2.215 MB / 1.404 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02069/2.042, allocations: 3.22 MB / 1.925 GB, free: 14.98 MB / 1.42 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05396/2.096, allocations: 21.43 MB / 1.946 GB, free: 9.824 MB / 1.436 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008192/2.097, allocations: 0.645 MB / 1.947 GB, free: 9.184 MB / 1.436 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004213/2.101, allocations: 0.8816 MB / 1.947 GB, free: 8.305 MB / 1.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04405/2.145, allocations: 18.06 MB / 1.965 GB, free: 5.793 MB / 1.451 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004236/2.146, allocations: 23.81 kB / 1.965 GB, free: 5.77 MB / 1.451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004317/2.15, allocations: 320 kB / 1.965 GB, free: 5.457 MB / 1.451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002514/2.15, allocations: 207.9 kB / 1.966 GB, free: 5.254 MB / 1.451 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04878/2.199, allocations: 21.37 MB / 1.986 GB, free: 15.86 MB / 1.482 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.1414/2.341, allocations: 62.67 MB / 2.048 GB, free: 1.402 MB / 1.529 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02522/2.366, allocations: 12.3 MB / 2.06 GB, free: 5.387 MB / 1.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01789/2.384, allocations: 9.193 MB / 2.069 GB, free: 12.18 MB / 1.561 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.07454/2.458, allocations: 29.01 MB / 2.097 GB, free: 15.24 MB / 1.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02339/2.482, allocations: 11.46 MB / 2.108 GB, free: 3.531 MB / 1.592 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03129/2.513, allocations: 8.221 MB / 2.116 GB, free: 11.48 MB / 1.607 GB Notification: Performance of pre-optimization done (n=503): time 3.464e-05/2.513, allocations: 0 / 2.116 GB, free: 11.48 MB / 1.607 GB Notification: Performance of matching and sorting (n=742): time 1.62/4.133, allocations: 218 MB / 2.329 GB, free: 0.6437 GB / 1.748 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1126/4.246, allocations: 47.6 MB / 2.376 GB, free: 0.6097 GB / 1.748 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03032/4.276, allocations: 19.53 MB / 2.395 GB, free: 0.591 GB / 1.748 GB Notification: Performance of collectPreVariables (initialization): time 0.003836/4.28, allocations: 201.7 kB / 2.395 GB, free: 0.5908 GB / 1.748 GB Notification: Performance of collectInitialEqns (initialization): time 0.008389/4.288, allocations: 7.667 MB / 2.402 GB, free: 0.5847 GB / 1.748 GB Notification: Performance of collectInitialBindings (initialization): time 0.007386/4.296, allocations: 2.757 MB / 2.405 GB, free: 0.5834 GB / 1.748 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01375/4.31, allocations: 3.778 MB / 2.409 GB, free: 0.5797 GB / 1.748 GB Notification: Performance of setup shared object (initialization): time 4.461e-05/4.31, allocations: 305.1 kB / 2.409 GB, free: 0.5794 GB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02811/4.338, allocations: 19.49 MB / 2.428 GB, free: 0.5604 GB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03168/4.369, allocations: 24.43 MB / 2.452 GB, free: 0.535 GB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05768/4.427, allocations: 37.37 MB / 2.488 GB, free: 0.4978 GB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.437e-05/4.427, allocations: 16 kB / 2.488 GB, free: 0.4978 GB / 1.748 GB Notification: Performance of matching and sorting (n=1491) (initialization): time 0.61/5.037, allocations: 132.3 MB / 2.618 GB, free: 377.3 MB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/5.037, allocations: 57.69 kB / 2.618 GB, free: 377.3 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.728e-05/5.037, allocations: 56.12 kB / 2.618 GB, free: 377.2 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5808/5.618, allocations: 117.8 MB / 2.733 GB, free: 259.4 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01636/5.635, allocations: 3.166 MB / 2.736 GB, free: 256.3 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1411/5.776, allocations: 80.95 MB / 2.815 GB, free: 175 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09432/5.87, allocations: 6.569 MB / 2.821 GB, free: 168.4 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006878/5.877, allocations: 1.298 MB / 2.823 GB, free: 167.1 MB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03707/5.914, allocations: 22.58 MB / 2.845 GB, free: 144.5 MB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03019/5.944, allocations: 23.9 MB / 2.868 GB, free: 119 MB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05311/5.997, allocations: 36.32 MB / 2.903 GB, free: 81.95 MB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.979e-05/5.997, allocations: 19.94 kB / 2.903 GB, free: 81.93 MB / 1.748 GB Notification: Performance of matching and sorting (n=1491) (initialization_lambda0): time 1.316/7.314, allocations: 130.7 MB / 3.031 GB, free: 0.6274 GB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 9.514e-05/7.314, allocations: 56.78 kB / 3.031 GB, free: 0.6274 GB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.827e-05/7.314, allocations: 56.44 kB / 3.031 GB, free: 0.6274 GB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5716/7.886, allocations: 117.5 MB / 3.146 GB, free: 0.5442 GB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01467/7.9, allocations: 3.151 MB / 3.149 GB, free: 0.5413 GB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1458/8.046, allocations: 84.22 MB / 3.231 GB, free: 470.2 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09116/8.137, allocations: 6.609 MB / 3.238 GB, free: 463.6 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005566/8.143, allocations: 1.263 MB / 3.239 GB, free: 462.3 MB / 1.748 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.007983/8.151, allocations: 0.7139 MB / 3.24 GB, free: 461.7 MB / 1.748 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007635/8.158, allocations: 1.62 MB / 3.241 GB, free: 461 MB / 1.748 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2101/8.368, allocations: 59.99 MB / 3.3 GB, free: 401.2 MB / 1.748 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2166/8.585, allocations: 63.67 MB / 3.362 GB, free: 337.8 MB / 1.748 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001385/8.585, allocations: 32 kB / 3.362 GB, free: 337.7 MB / 1.748 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2061/8.791, allocations: 63.01 MB / 3.424 GB, free: 274.7 MB / 1.748 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2813/9.073, allocations: 108.9 MB / 3.53 GB, free: 166 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.014e-05/9.073, allocations: 0 / 3.53 GB, free: 166 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01094/9.084, allocations: 2.133 MB / 3.532 GB, free: 163.8 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3184/9.402, allocations: 78.25 MB / 3.608 GB, free: 85.69 MB / 1.748 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003577/9.406, allocations: 0.5338 MB / 3.609 GB, free: 85.15 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09415/9.5, allocations: 55.01 MB / 3.663 GB, free: 30.13 MB / 1.748 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.7714/10.27, allocations: 46.63 MB / 3.708 GB, free: 0.6148 GB / 1.748 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2492/10.52, allocations: 90.7 MB / 3.797 GB, free: 0.5917 GB / 1.748 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01535/10.54, allocations: 5.574 MB / 3.802 GB, free: 0.588 GB / 1.748 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005288/10.54, allocations: 163.6 kB / 3.802 GB, free: 0.5878 GB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05172/10.59, allocations: 3.467 MB / 3.806 GB, free: 0.5862 GB / 1.748 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003645/10.6, allocations: 0.8534 MB / 3.807 GB, free: 0.586 GB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001771/10.6, allocations: 0.6149 MB / 3.807 GB, free: 0.5857 GB / 1.748 GB Notification: Performance of sorting global known variables: time 0.01812/10.62, allocations: 13.54 MB / 3.82 GB, free: 0.5725 GB / 1.748 GB Notification: Performance of sort global known variables: time 1.1e-07/10.62, allocations: 0 / 3.82 GB, free: 0.5725 GB / 1.748 GB Notification: Performance of remove unused functions: time 0.06697/10.68, allocations: 34.87 MB / 3.854 GB, free: 0.5386 GB / 1.748 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.237/10.92, allocations: 92.22 MB / 3.945 GB, free: 460.4 MB / 1.748 GB Notification: Performance of simCode: created initialization part: time 0.1175/11.04, allocations: 69.43 MB / 4.012 GB, free: 391 MB / 1.748 GB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/11.04, allocations: 7.438 kB / 4.012 GB, free: 391 MB / 1.748 GB Notification: Performance of simCode: created simulation system equations: time 0.0502/11.09, allocations: 22.11 MB / 4.034 GB, free: 368.9 MB / 1.748 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05016/11.14, allocations: 8.102 MB / 4.042 GB, free: 361.2 MB / 1.748 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.655/13.79, allocations: 424 MB / 4.456 GB, free: 0.5993 GB / 1.748 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01766/13.81, allocations: 9.634 MB / 4.465 GB, free: 0.5968 GB / 1.748 GB Notification: Performance of simCode: alias equations: time 0.02976/13.84, allocations: 6.797 MB / 4.472 GB, free: 0.5949 GB / 1.748 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01974/13.86, allocations: 10.05 MB / 4.482 GB, free: 0.592 GB / 1.748 GB Notification: Performance of SimCode: time 1.523e-06/13.86, allocations: 0 / 4.482 GB, free: 0.592 GB / 1.748 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.574/15.43, allocations: 0.8093 GB / 5.291 GB, free: 0.4938 GB / 1.748 GB Notification: Performance of buildModelFMU: Generate platform static: time 85.65/101.1, allocations: 5.672 kB / 5.291 GB, free: 0.4938 GB / 1.748 GB " [Timeout remaining time 198] (rm -f Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3_res.csv --start-time 0 --stop-time 1000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 Buildings_12_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 107.76664684712887] Failed to read output from testmodel.py, exit status != 0: 101.5882637957111 101.603756228 99.650493313 Calling exit ...