Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001346/0.001346, allocations: 110.1 kB / 16.46 MB, free: 6.453 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.001426/0.001426, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.377/1.377, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00239/0.00239, allocations: 287.1 kB / 309.1 MB, free: 3.973 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.134/1.134, allocations: 180.9 MB / 0.5333 GB, free: 13.81 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002772/0.002772, allocations: 105.7 kB / 0.7343 GB, free: 27.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1566, allocations: 95.34 MB / 0.8274 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 0.7223/0.879, allocations: 361.7 MB / 1.181 GB, free: 8.121 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.114/0.993, allocations: 76.05 MB / 1.255 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01365/1.007, allocations: 0.5733 MB / 1.256 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01816/1.025, allocations: 6.629 MB / 1.262 GB, free: 4.664 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.04058/1.065, allocations: 14.76 MB / 1.276 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.02401/1.089, allocations: 10.39 MB / 1.287 GB, free: 11.53 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.9704/2.06, allocations: 74.4 MB / 1.359 GB, free: 62.96 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02423/2.084, allocations: 17.39 MB / 1.376 GB, free: 62.21 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03324/2.117, allocations: 17.67 MB / 1.393 GB, free: 61.52 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03367/2.151, allocations: 17.2 MB / 1.41 GB, free: 59.33 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.01073/2.162, allocations: 1.976 MB / 1.412 GB, free: 59.32 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02014/2.182, allocations: 6.32 MB / 1.418 GB, free: 59.24 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.01098/2.193, allocations: 6.667 MB / 1.425 GB, free: 58.38 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.02175/2.215, allocations: 11.29 MB / 1.436 GB, free: 55.45 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.04512/2.26, allocations: 31.8 MB / 1.467 GB, free: 46.17 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/2.26, allocations: 6.797 kB / 1.467 GB, free: 46.17 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.292e-06/2.26, allocations: 0 / 1.467 GB, free: 46.17 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.000929/2.261, allocations: 0 / 1.467 GB, free: 46.17 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2045 * Number of variables: 2045 Notification: Performance of Generate backend data structure: time 0.0588/2.319, allocations: 22.36 MB / 1.489 GB, free: 32.89 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/2.319, allocations: 12.03 kB / 1.489 GB, free: 32.88 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005484/2.325, allocations: 1.057 MB / 1.49 GB, free: 32.31 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01847/2.343, allocations: 3.303 MB / 1.493 GB, free: 29 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04218/2.386, allocations: 23.19 MB / 1.516 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006589/2.386, allocations: 0.6711 MB / 1.516 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004921/2.391, allocations: 0.9448 MB / 1.517 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03688/2.428, allocations: 17.22 MB / 1.534 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003768/2.428, allocations: 15.59 kB / 1.534 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003819/2.432, allocations: 335 kB / 1.534 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004542/2.433, allocations: 366 kB / 1.535 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04657/2.479, allocations: 21.86 MB / 1.556 GB, free: 9.219 MB / 0.9982 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.1707/2.65, allocations: 82.36 MB / 1.637 GB, free: 4.52 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02397/2.674, allocations: 11.85 MB / 1.648 GB, free: 8.914 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01746/2.691, allocations: 8.959 MB / 1.657 GB, free: 15.94 MB / 1.108 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.07926/2.771, allocations: 34.29 MB / 1.69 GB, free: 13.29 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02173/2.792, allocations: 10.27 MB / 1.7 GB, free: 2.949 MB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03132/2.824, allocations: 8.266 MB / 1.708 GB, free: 10.86 MB / 1.154 GB Notification: Performance of pre-optimization done (n=567): time 3.002e-05/2.824, allocations: 0 / 1.708 GB, free: 10.86 MB / 1.154 GB Notification: Performance of matching and sorting (n=838): time 1.274/4.097, allocations: 217.7 MB / 1.921 GB, free: 470.3 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.129/4.226, allocations: 55.93 MB / 1.976 GB, free: 413.5 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03625/4.263, allocations: 20.51 MB / 1.996 GB, free: 393.1 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.004144/4.267, allocations: 221.7 kB / 1.996 GB, free: 392.9 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.009439/4.276, allocations: 7.87 MB / 2.004 GB, free: 385.4 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.008418/4.285, allocations: 3.156 MB / 2.007 GB, free: 382.3 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01496/4.299, allocations: 3.998 MB / 2.011 GB, free: 378.3 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 3.565e-05/4.3, allocations: 301.1 kB / 2.011 GB, free: 378 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02819/4.328, allocations: 20.28 MB / 2.031 GB, free: 357.7 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0294/4.357, allocations: 23.09 MB / 2.053 GB, free: 333.6 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05249/4.41, allocations: 38.62 MB / 2.091 GB, free: 294.2 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.904e-05/4.41, allocations: 16 kB / 2.091 GB, free: 294.1 MB / 1.201 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.5878/4.997, allocations: 134.2 MB / 2.222 GB, free: 159.8 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/4.998, allocations: 53.7 kB / 2.222 GB, free: 159.7 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.729e-05/4.998, allocations: 55.98 kB / 2.222 GB, free: 159.7 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5792/5.577, allocations: 118 MB / 2.337 GB, free: 41.77 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01801/5.595, allocations: 3.549 MB / 2.341 GB, free: 38.21 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5569/6.152, allocations: 81.91 MB / 2.421 GB, free: 0.4967 GB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09152/6.243, allocations: 6.453 MB / 2.427 GB, free: 0.4965 GB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006025/6.249, allocations: 1.321 MB / 2.428 GB, free: 0.4964 GB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03982/6.289, allocations: 23.66 MB / 2.451 GB, free: 0.4892 GB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02968/6.319, allocations: 22.59 MB / 2.474 GB, free: 491.5 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05443/6.373, allocations: 37.57 MB / 2.51 GB, free: 458.9 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.368e-05/6.373, allocations: 19.53 kB / 2.51 GB, free: 458.9 MB / 1.201 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.5764/6.95, allocations: 132.6 MB / 2.64 GB, free: 327.5 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 8.963e-05/6.95, allocations: 53.7 kB / 2.64 GB, free: 327.4 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.921e-05/6.95, allocations: 52 kB / 2.64 GB, free: 327.4 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5746/7.524, allocations: 117.6 MB / 2.755 GB, free: 210.1 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0172/7.542, allocations: 3.525 MB / 2.758 GB, free: 206.6 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1622/7.704, allocations: 86.17 MB / 2.842 GB, free: 120.3 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0938/7.798, allocations: 6.503 MB / 2.849 GB, free: 113.8 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006157/7.804, allocations: 1.284 MB / 2.85 GB, free: 112.6 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1171): * Single equations (assignments): 1151 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.007893/7.812, allocations: 0.7636 MB / 2.851 GB, free: 111.8 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008545/7.82, allocations: 1.707 MB / 2.852 GB, free: 110.6 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2191/8.039, allocations: 60.28 MB / 2.911 GB, free: 50.56 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.6802/8.72, allocations: 66.08 MB / 2.976 GB, free: 0.4969 GB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001811/8.72, allocations: 30.91 kB / 2.976 GB, free: 0.4969 GB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2096/8.929, allocations: 65.4 MB / 3.04 GB, free: 496.3 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.275/9.204, allocations: 129.7 MB / 3.166 GB, free: 376 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.426e-05/9.204, allocations: 0 / 3.166 GB, free: 376 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01087/9.215, allocations: 1.981 MB / 3.168 GB, free: 374.1 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3193/9.535, allocations: 81.4 MB / 3.248 GB, free: 293 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005225/9.54, allocations: 0.569 MB / 3.248 GB, free: 292.4 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.101/9.641, allocations: 58.57 MB / 3.305 GB, free: 233.8 MB / 1.201 GB Warning: The linear system: 1 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 3 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 [ -1.0 , 0.0 , -1.0 ; 0.0 , -1.0 , 1.0 ; 1.0 , 1.0 , 0.0 ] * [ valCoo.m_flow ; spl1.res1.m_flow ; valHea.m_flow ] = [ (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; -bou.ports[1].m_flow ; tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ] might be structurally or numerically singular for variable valHea.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 3 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow ; valHea.m_flow ; spl1.res1.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ] might be structurally or numerically singular for variable spl1.res1.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 3 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1214/9.762, allocations: 54.13 MB / 3.358 GB, free: 178.6 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2575/10.02, allocations: 95.32 MB / 3.451 GB, free: 84.31 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01694/10.04, allocations: 6.109 MB / 3.457 GB, free: 78.23 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008871/10.05, allocations: 219.8 kB / 3.458 GB, free: 78.02 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.053/10.1, allocations: 3.315 MB / 3.461 GB, free: 74.7 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005149/10.1, allocations: 0.8694 MB / 3.462 GB, free: 73.82 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003236/10.11, allocations: 0.6284 MB / 3.462 GB, free: 73.2 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.02366/10.13, allocations: 14.3 MB / 3.476 GB, free: 58.98 MB / 1.201 GB Notification: Performance of sort global known variables: time 3.01e-07/10.13, allocations: 0 / 3.476 GB, free: 58.98 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0919/10.22, allocations: 38.73 MB / 3.514 GB, free: 20.25 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],valSouth1[1].filter.s[1],valSouth1[2].filter.s[1],valSouth1[3].filter.s[1],valSouth1[4].filter.s[1],valSouth2[1].filter.s[1],valSouth2[2].filter.s[1],valSouth2[3].filter.s[1],valSouth2[4].filter.s[1],valSouth2[5].filter.s[1],valSouth2[6].filter.s[1],valSouth2[7].filter.s[1],valSouth2[8].filter.s[1],valNorth1[1].filter.s[1],valNorth1[2].filter.s[1],valNorth1[3].filter.s[1],valNorth1[4].filter.s[1],valNorth2[1].filter.s[1],valNorth2[2].filter.s[1],valNorth2[3].filter.s[1],valNorth2[4].filter.s[1],valNorth2[5].filter.s[1],valNorth2[6].filter.s[1],valNorth2[7].filter.s[1],valNorth2[8].filter.s[1],valSouth.vol.dynBal.U,valSouth.filter.s[1],valNorth.vol.dynBal.U,valNorth.filter.s[1],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],valHea.filter.s[1],valCoo.filter.s[1],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1],vol.p) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (621): * Single equations (assignments): 600 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(7,83), (1,1), (38,197)} Notification: Performance of Backend phase and start with SimCode phase: time 0.7519/10.97, allocations: 96.8 MB / 3.609 GB, free: 495.1 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.1269/11.1, allocations: 74.02 MB / 3.681 GB, free: 446.2 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/11.1, allocations: 4 kB / 3.681 GB, free: 446.2 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.05448/11.16, allocations: 23.16 MB / 3.704 GB, free: 423.5 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06185/11.22, allocations: 7.992 MB / 3.711 GB, free: 416.3 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.902/13.12, allocations: 443.6 MB / 4.145 GB, free: 486.5 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01805/13.14, allocations: 10.46 MB / 4.155 GB, free: 485.3 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.03278/13.17, allocations: 7.992 MB / 4.163 GB, free: 485 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02388/13.19, allocations: 10.37 MB / 4.173 GB, free: 485 MB / 1.201 GB Notification: Performance of SimCode: time 1.683e-06/13.19, allocations: 0 / 4.173 GB, free: 485 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.35/14.54, allocations: 0.815 GB / 4.988 GB, free: 267 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 96.6/111.1, allocations: 18.08 kB / 4.988 GB, free: 267 MB / 1.201 GB " [Timeout remaining time 548] (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 115.50778757315129] Failed to read output from testmodel.py, exit status != 0: 111.5941914068535 111.603568141 109.34138822 Calling exit ...