Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 196.1 kB / 16.53 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.641/1.641, allocations: 222.9 MB / 240.2 MB, free: 4.207 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.373/2.373, allocations: 390.3 MB / 0.6647 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 63.89 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5998/0.6012, allocations: 140.4 MB / 0.9497 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.9275/1.529, allocations: 355.6 MB / 1.297 GB, free: 60.11 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.09579/1.625, allocations: 72.93 MB / 1.368 GB, free: 56.12 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01892/1.644, allocations: 428.2 kB / 1.369 GB, free: 56.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0157/1.659, allocations: 5.31 MB / 1.374 GB, free: 54.97 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.03629/1.696, allocations: 13.54 MB / 1.387 GB, free: 47.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.02214/1.718, allocations: 9.659 MB / 1.396 GB, free: 41.12 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.03495/1.753, allocations: 37.4 MB / 1.433 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02568/1.778, allocations: 19.79 MB / 1.452 GB, free: 6.895 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03391/1.812, allocations: 16.61 MB / 1.469 GB, free: 7.199 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02676/1.839, allocations: 15.83 MB / 1.484 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.008275/1.848, allocations: 1.859 MB / 1.486 GB, free: 6.594 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01926/1.867, allocations: 5.694 MB / 1.491 GB, free: 1.156 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.009502/1.876, allocations: 5.777 MB / 1.497 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.02008/1.896, allocations: 10.38 MB / 1.507 GB, free: 1.402 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.04146/1.938, allocations: 28.68 MB / 1.535 GB, free: 5.781 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/1.938, allocations: 0 / 1.535 GB, free: 5.781 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.437e-06/1.938, allocations: 4 kB / 1.535 GB, free: 5.777 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.000828/1.939, allocations: 0 / 1.535 GB, free: 5.777 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.06318/2.002, allocations: 22.25 MB / 1.557 GB, free: 15.6 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/2.002, allocations: 12.03 kB / 1.557 GB, free: 15.59 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004963/2.007, allocations: 1.046 MB / 1.558 GB, free: 14.54 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01908/2.026, allocations: 2.578 MB / 1.56 GB, free: 11.94 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04064/2.067, allocations: 17.57 MB / 1.578 GB, free: 10.63 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006532/2.068, allocations: 0.6795 MB / 1.578 GB, free: 9.961 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003736/2.071, allocations: 0.924 MB / 1.579 GB, free: 9.043 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03419/2.105, allocations: 16.53 MB / 1.595 GB, free: 8.316 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002813/2.106, allocations: 15.83 kB / 1.595 GB, free: 8.301 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002528/2.108, allocations: 333.2 kB / 1.596 GB, free: 7.984 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00033/2.109, allocations: 363.2 kB / 1.596 GB, free: 7.629 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03597/2.145, allocations: 21.04 MB / 1.617 GB, free: 2.574 MB / 1.17 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.1387/2.283, allocations: 82.44 MB / 1.697 GB, free: 13.03 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01998/2.303, allocations: 12.54 MB / 1.709 GB, free: 0.7109 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01491/2.318, allocations: 9.828 MB / 1.719 GB, free: 6.867 MB / 1.279 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 1.11/3.429, allocations: 34.51 MB / 1.753 GB, free: 269 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01709/3.446, allocations: 9.684 MB / 1.762 GB, free: 268.9 MB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02072/3.467, allocations: 5.765 MB / 1.768 GB, free: 268.8 MB / 1.279 GB Notification: Performance of pre-optimization done (n=551): time 4.432e-05/3.467, allocations: 0 / 1.768 GB, free: 268.8 MB / 1.279 GB Notification: Performance of matching and sorting (n=822): time 0.9394/4.406, allocations: 217.2 MB / 1.98 GB, free: 105.2 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1292/4.535, allocations: 56.03 MB / 2.034 GB, free: 48.25 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02284/4.558, allocations: 17.64 MB / 2.052 GB, free: 30.77 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.003844/4.562, allocations: 215.4 kB / 2.052 GB, free: 30.55 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.00573/4.568, allocations: 7.222 MB / 2.059 GB, free: 23.42 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.00777/4.576, allocations: 2.928 MB / 2.062 GB, free: 20.52 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009792/4.585, allocations: 3.534 MB / 2.065 GB, free: 16.97 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 3.761e-05/4.585, allocations: 309.1 kB / 2.066 GB, free: 16.66 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02488/4.61, allocations: 18.96 MB / 2.084 GB, free: 13.68 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03126/4.642, allocations: 21.54 MB / 2.105 GB, free: 7.152 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06096/4.703, allocations: 36.2 MB / 2.14 GB, free: 2.34 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-05/4.703, allocations: 12 kB / 2.14 GB, free: 2.328 MB / 1.342 GB Notification: Performance of matching and sorting (n=1347) (initialization): time 1.53/6.232, allocations: 131.5 MB / 2.269 GB, free: 0.6093 GB / 1.436 GB Notification: Performance of prepare postOptimizeDAE: time 8.279e-05/6.232, allocations: 66.45 kB / 2.269 GB, free: 0.6093 GB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.461e-05/6.233, allocations: 51.94 kB / 2.269 GB, free: 0.6093 GB / 1.436 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6149/6.848, allocations: 118 MB / 2.384 GB, free: 0.542 GB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01676/6.864, allocations: 3.295 MB / 2.387 GB, free: 0.5389 GB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1321/6.996, allocations: 81.58 MB / 2.467 GB, free: 470.2 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09392/7.09, allocations: 6.351 MB / 2.473 GB, free: 463.8 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005134/7.096, allocations: 1.282 MB / 2.475 GB, free: 462.6 MB / 1.436 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03204/7.128, allocations: 21.99 MB / 2.496 GB, free: 440.5 MB / 1.436 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02569/7.153, allocations: 21.09 MB / 2.517 GB, free: 418.5 MB / 1.436 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04867/7.202, allocations: 35.31 MB / 2.551 GB, free: 382.4 MB / 1.436 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.413e-05/7.202, allocations: 15.98 kB / 2.551 GB, free: 382.4 MB / 1.436 GB Notification: Performance of matching and sorting (n=1347) (initialization_lambda0): time 0.61/7.812, allocations: 130.1 MB / 2.678 GB, free: 253 MB / 1.436 GB Notification: Performance of prepare postOptimizeDAE: time 6.685e-05/7.812, allocations: 57.64 kB / 2.678 GB, free: 252.9 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.385e-05/7.812, allocations: 59.73 kB / 2.678 GB, free: 252.9 MB / 1.436 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6073/8.42, allocations: 117.7 MB / 2.793 GB, free: 135.2 MB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01595/8.436, allocations: 3.285 MB / 2.796 GB, free: 132 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1432/8.579, allocations: 86.14 MB / 2.881 GB, free: 45.64 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09262/8.671, allocations: 6.38 MB / 2.887 GB, free: 39.26 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005591/8.677, allocations: 1.255 MB / 2.888 GB, free: 38 MB / 1.436 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * 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 (1027): * Single equations (assignments): 1011 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * 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.006421/8.684, allocations: 0.7227 MB / 2.889 GB, free: 37.27 MB / 1.436 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005829/8.689, allocations: 1.472 MB / 2.89 GB, free: 36.59 MB / 1.436 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7359/9.425, allocations: 60.24 MB / 2.949 GB, free: 0.6055 GB / 1.436 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2225/9.648, allocations: 66.73 MB / 3.014 GB, free: 0.586 GB / 1.436 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.323e-05/9.648, allocations: 30.41 kB / 3.014 GB, free: 0.586 GB / 1.436 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2129/9.861, allocations: 66.05 MB / 3.079 GB, free: 0.5217 GB / 1.436 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2816/10.14, allocations: 129 MB / 3.205 GB, free: 405.4 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.982e-05/10.14, allocations: 3.984 kB / 3.205 GB, free: 405.4 MB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01084/10.15, allocations: 1.912 MB / 3.207 GB, free: 403.5 MB / 1.436 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3368/10.49, allocations: 81.53 MB / 3.286 GB, free: 322.1 MB / 1.436 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003073/10.49, allocations: 0.5681 MB / 3.287 GB, free: 321.5 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09997/10.59, allocations: 58.31 MB / 3.344 GB, free: 263.1 MB / 1.436 GB Warning: The linear system: 1 : 0.0 = spl1.res1.m_flow + (-valHea.m_flow) - bou.ports[1].m_flow 2 : 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 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 ] * [ valHea.m_flow ; valCoo.m_flow ; spl1.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 ; (-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 : 0.0 = spl1.res1.m_flow + (-valHea.m_flow) - bou.ports[1].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 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - bou.ports.1.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 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - bou.ports.1.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.1102/10.7, allocations: 54.09 MB / 3.397 GB, free: 208 MB / 1.436 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2529/10.96, allocations: 95.13 MB / 3.489 GB, free: 113.7 MB / 1.436 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01641/10.97, allocations: 5.741 MB / 3.495 GB, free: 108.7 MB / 1.436 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01045/10.98, allocations: 215.9 kB / 3.495 GB, free: 108.5 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05265/11.04, allocations: 3.259 MB / 3.498 GB, free: 105.2 MB / 1.436 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005292/11.04, allocations: 0.8615 MB / 3.499 GB, free: 104.4 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003142/11.04, allocations: 0.6236 MB / 3.5 GB, free: 103.7 MB / 1.436 GB Notification: Performance of sorting global known variables: time 0.02035/11.07, allocations: 12.35 MB / 3.512 GB, free: 91.45 MB / 1.436 GB Notification: Performance of sort global known variables: time 3.81e-07/11.07, allocations: 0 / 3.512 GB, free: 91.45 MB / 1.436 GB Notification: Performance of remove unused functions: time 0.08555/11.15, allocations: 38.11 MB / 3.549 GB, free: 53.44 MB / 1.436 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 (605): * Single equations (assignments): 584 * 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.8028/11.95, allocations: 96.54 MB / 3.643 GB, free: 0.583 GB / 1.436 GB Notification: Performance of simCode: created initialization part: time 0.1851/12.14, allocations: 97.92 MB / 3.739 GB, free: 0.5383 GB / 1.436 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/12.14, allocations: 0 / 3.739 GB, free: 0.5383 GB / 1.436 GB Notification: Performance of simCode: created simulation system equations: time 0.05324/12.19, allocations: 25.33 MB / 3.764 GB, free: 0.5154 GB / 1.436 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05146/12.24, allocations: 7.203 MB / 3.771 GB, free: 0.5091 GB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.022/14.27, allocations: 0.5136 GB / 4.284 GB, free: 0.5704 GB / 1.436 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01619/14.28, allocations: 9.742 MB / 4.294 GB, free: 0.5692 GB / 1.436 GB Notification: Performance of simCode: alias equations: time 0.03011/14.31, allocations: 7.459 MB / 4.301 GB, free: 0.569 GB / 1.436 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02199/14.33, allocations: 9.61 MB / 4.311 GB, free: 0.569 GB / 1.436 GB Notification: Performance of SimCode: time 9.12e-07/14.33, allocations: 3.938 kB / 4.311 GB, free: 0.569 GB / 1.436 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.574/15.91, allocations: 0.7646 GB / 5.075 GB, free: 441.6 MB / 1.436 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.54/45.45, allocations: 2.375 kB / 5.075 GB, free: 441.6 MB / 1.436 GB (rm -f Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.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 Buildings_9_Buildings_Fluid_Examples_FlowSystem_Simplified3.fmu > Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)