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.001367/0.001367, 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.001491/0.001491, allocations: 218.9 kB / 22.26 MB, free: 5.121 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.368/1.368, allocations: 230.6 MB / 256 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002419/0.002419, allocations: 278.2 kB / 312.7 MB, free: 2.77 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.146/1.146, allocations: 180.6 MB / 0.5369 GB, free: 12.92 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.002861/0.002861, allocations: 110.8 kB / 0.7397 GB, free: 28.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1715, allocations: 95.38 MB / 0.8328 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 0.7303/0.9017, allocations: 365.2 MB / 1.189 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1161/1.018, allocations: 76.36 MB / 1.264 GB, free: 7.363 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01782/1.036, allocations: 0.5771 MB / 1.265 GB, free: 6.781 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01877/1.054, allocations: 6.735 MB / 1.271 GB, free: 16 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.04102/1.095, allocations: 15.04 MB / 1.286 GB, free: 0.9336 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.02556/1.121, allocations: 10.68 MB / 1.296 GB, free: 6.324 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 1.089/2.21, allocations: 76.46 MB / 1.371 GB, free: 63.07 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02807/2.238, allocations: 15.82 MB / 1.386 GB, free: 62.4 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03773/2.276, allocations: 17.77 MB / 1.404 GB, free: 61.63 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03058/2.307, allocations: 17.23 MB / 1.421 GB, free: 59.51 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.009719/2.316, allocations: 1.969 MB / 1.423 GB, free: 59.51 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02136/2.338, allocations: 6.454 MB / 1.429 GB, free: 59.43 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.01031/2.348, allocations: 6.695 MB / 1.435 GB, free: 58.56 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.02254/2.371, allocations: 11.29 MB / 1.446 GB, free: 55.64 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.04687/2.418, allocations: 31.82 MB / 1.477 GB, free: 46.04 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/2.418, allocations: 3.281 kB / 1.477 GB, free: 46.04 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.693e-06/2.418, allocations: 0 / 1.477 GB, free: 46.04 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.001037/2.419, allocations: 3.938 kB / 1.477 GB, free: 46.04 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.06199/2.481, allocations: 22.3 MB / 1.499 GB, free: 30.65 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/2.481, allocations: 8.625 kB / 1.499 GB, free: 30.64 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004739/2.485, allocations: 1.051 MB / 1.5 GB, free: 30.09 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01837/2.504, allocations: 3.307 MB / 1.504 GB, free: 26.77 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04573/2.549, allocations: 23.2 MB / 1.526 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006344/2.55, allocations: 0.6696 MB / 1.527 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005172/2.555, allocations: 0.9363 MB / 1.528 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03824/2.594, allocations: 17.24 MB / 1.545 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003301/2.594, allocations: 13.16 kB / 1.545 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003818/2.598, allocations: 339 kB / 1.545 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000442/2.598, allocations: 366.7 kB / 1.545 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04657/2.645, allocations: 21.87 MB / 1.567 GB, free: 4.672 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.1601/2.805, allocations: 82.45 MB / 1.647 GB, free: 15.86 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02468/2.829, allocations: 11.72 MB / 1.659 GB, free: 4.426 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01815/2.848, allocations: 8.955 MB / 1.667 GB, free: 11.46 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.08155/2.929, allocations: 32.84 MB / 1.699 GB, free: 10.71 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02102/2.95, allocations: 10.28 MB / 1.709 GB, free: 360 kB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03194/2.982, allocations: 8.265 MB / 1.717 GB, free: 8.297 MB / 1.154 GB Notification: Performance of pre-optimization done (n=567): time 4.875e-05/2.982, allocations: 0 / 1.717 GB, free: 8.297 MB / 1.154 GB Notification: Performance of matching and sorting (n=838): time 1.225/4.207, allocations: 217.5 MB / 1.93 GB, free: 467.9 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1214/4.329, allocations: 55.66 MB / 1.984 GB, free: 411.3 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03045/4.359, allocations: 20.55 MB / 2.004 GB, free: 391 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.004164/4.363, allocations: 221.7 kB / 2.004 GB, free: 390.8 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.008444/4.372, allocations: 7.881 MB / 2.012 GB, free: 383.3 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.007549/4.379, allocations: 3.144 MB / 2.015 GB, free: 380.2 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01272/4.392, allocations: 4.007 MB / 2.019 GB, free: 376.2 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 3.273e-05/4.392, allocations: 305.1 kB / 2.019 GB, free: 375.9 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03476/4.427, allocations: 20.3 MB / 2.039 GB, free: 355.5 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04011/4.467, allocations: 23.12 MB / 2.062 GB, free: 331.4 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05406/4.521, allocations: 38.66 MB / 2.1 GB, free: 291.9 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.009e-05/4.521, allocations: 16 kB / 2.1 GB, free: 291.9 MB / 1.201 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.557/5.078, allocations: 134.3 MB / 2.231 GB, free: 157.5 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 7.707e-05/5.078, allocations: 57.64 kB / 2.231 GB, free: 157.4 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.508e-05/5.078, allocations: 55.94 kB / 2.231 GB, free: 157.4 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5178/5.596, allocations: 118 MB / 2.346 GB, free: 39.48 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01734/5.613, allocations: 3.549 MB / 2.35 GB, free: 35.92 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5277/6.141, allocations: 81.81 MB / 2.429 GB, free: 0.4962 GB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07868/6.22, allocations: 6.448 MB / 2.436 GB, free: 0.496 GB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005835/6.225, allocations: 1.308 MB / 2.437 GB, free: 0.4959 GB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03734/6.263, allocations: 23.69 MB / 2.46 GB, free: 0.4887 GB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02798/6.291, allocations: 22.61 MB / 2.482 GB, free: 490.6 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05459/6.345, allocations: 37.62 MB / 2.519 GB, free: 457.7 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.265e-05/6.345, allocations: 15.97 kB / 2.519 GB, free: 457.7 MB / 1.201 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.5377/6.883, allocations: 132.7 MB / 2.649 GB, free: 326.2 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 6.572e-05/6.883, allocations: 53.7 kB / 2.649 GB, free: 326.1 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.207e-05/6.883, allocations: 52 kB / 2.649 GB, free: 326.1 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.524/7.407, allocations: 117.6 MB / 2.763 GB, free: 208.8 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01643/7.424, allocations: 3.524 MB / 2.767 GB, free: 205.3 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1489/7.573, allocations: 85.95 MB / 2.851 GB, free: 119.3 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0772/7.65, allocations: 6.498 MB / 2.857 GB, free: 112.8 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005631/7.655, allocations: 1.29 MB / 2.858 GB, free: 111.5 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.007804/7.663, allocations: 0.7603 MB / 2.859 GB, free: 110.8 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00804/7.671, allocations: 1.706 MB / 2.861 GB, free: 110 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1879/7.859, allocations: 60.3 MB / 2.92 GB, free: 49.95 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.5619/8.421, allocations: 66.1 MB / 2.984 GB, free: 0.4966 GB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001786/8.421, allocations: 30.06 kB / 2.984 GB, free: 0.4966 GB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1835/8.605, allocations: 65.42 MB / 3.048 GB, free: 496.1 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2602/8.865, allocations: 129.7 MB / 3.175 GB, free: 376.4 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.629e-05/8.865, allocations: 6.312 kB / 3.175 GB, free: 376.4 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01066/8.876, allocations: 1.978 MB / 3.177 GB, free: 374.4 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2847/9.16, allocations: 81.4 MB / 3.256 GB, free: 293.3 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003662/9.164, allocations: 0.57 MB / 3.257 GB, free: 292.7 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09517/9.259, allocations: 58.47 MB / 3.314 GB, free: 234.2 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.1091/9.368, allocations: 53.05 MB / 3.366 GB, free: 180.5 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.222/9.59, allocations: 95.37 MB / 3.459 GB, free: 86.09 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01931/9.61, allocations: 6.197 MB / 3.465 GB, free: 80.84 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007214/9.617, allocations: 207.9 kB / 3.465 GB, free: 80.64 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04485/9.662, allocations: 3.315 MB / 3.468 GB, free: 77.32 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004686/9.666, allocations: 0.9001 MB / 3.469 GB, free: 76.41 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002846/9.669, allocations: 0.6284 MB / 3.47 GB, free: 75.79 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.02311/9.692, allocations: 14.33 MB / 3.484 GB, free: 61.54 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.01e-07/9.692, allocations: 0 / 3.484 GB, free: 61.54 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.07875/9.771, allocations: 38.74 MB / 3.522 GB, free: 22.8 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.6389/10.41, allocations: 96.83 MB / 3.616 GB, free: 496.2 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.1202/10.53, allocations: 74.06 MB / 3.689 GB, free: 449.3 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/10.53, allocations: 6.844 kB / 3.689 GB, free: 449.3 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.04758/10.58, allocations: 23.19 MB / 3.711 GB, free: 426.6 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05115/10.63, allocations: 8.003 MB / 3.719 GB, free: 419.3 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.795/12.42, allocations: 444 MB / 4.153 GB, free: 486 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01585/12.44, allocations: 10.46 MB / 4.163 GB, free: 484.8 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.02636/12.47, allocations: 7.995 MB / 4.171 GB, free: 484.5 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01962/12.49, allocations: 10.37 MB / 4.181 GB, free: 484.5 MB / 1.201 GB Notification: Performance of SimCode: time 1.092e-06/12.49, allocations: 0 / 4.181 GB, free: 484.5 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.401/13.89, allocations: 0.8337 GB / 5.014 GB, free: 252.6 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 103.9/117.8, allocations: 10.72 kB / 5.014 GB, free: 252.6 MB / 1.201 GB " [Timeout remaining time 542] (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: 122.25252184499914] Failed to read output from testmodel.py, exit status != 0: 118.32316027200068 118.333427452 115.913199326 Calling exit ...