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.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.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(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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 108 kB / 15.6 MB, free: 132 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.001262/0.001262, allocations: 194 kB / 16.53 MB, free: 6.391 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00238/0.00238, allocations: 290.9 kB / 290.7 MB, free: 1.844 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.009/1.009, allocations: 178.6 MB / 0.5073 GB, free: 4.551 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002663/0.002663, allocations: 103.7 kB / 0.6065 GB, free: 24.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1481, allocations: 89.14 MB / 0.6936 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 0.6/0.7481, allocations: 357.7 MB / 1.043 GB, free: 5.828 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.4213/1.169, allocations: 75.86 MB / 1.117 GB, free: 43.42 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01336/1.183, allocations: 433.7 kB / 1.117 GB, free: 43.42 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.03348/1.216, allocations: 23.47 MB / 1.14 GB, free: 43.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.03253/1.249, allocations: 14.03 MB / 1.154 GB, free: 39.23 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01989/1.269, allocations: 10.05 MB / 1.164 GB, free: 33.07 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.07403/1.343, allocations: 66.68 MB / 1.229 GB, free: 8.406 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02887/1.372, allocations: 19.97 MB / 1.248 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03307/1.405, allocations: 16.92 MB / 1.265 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02777/1.433, allocations: 16.32 MB / 1.281 GB, free: 5.887 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.007682/1.44, allocations: 1.953 MB / 1.283 GB, free: 3.934 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02117/1.461, allocations: 6.619 MB / 1.289 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.01335/1.475, allocations: 6.474 MB / 1.296 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.02239/1.497, allocations: 11.26 MB / 1.307 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.04979/1.547, allocations: 31.52 MB / 1.337 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.547, allocations: 0 / 1.337 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.914e-06/1.547, allocations: 0 / 1.337 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0008625/1.548, allocations: 0 / 1.337 GB, free: 13.93 MB / 0.9044 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.06706/1.615, allocations: 24.08 MB / 1.361 GB, free: 5.883 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/1.615, allocations: 12.03 kB / 1.361 GB, free: 5.871 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004157/1.619, allocations: 1.056 MB / 1.362 GB, free: 4.812 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01765/1.637, allocations: 3.2 MB / 1.365 GB, free: 1.586 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04542/1.682, allocations: 21.84 MB / 1.386 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009139/1.683, allocations: 0.6977 MB / 1.387 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004412/1.688, allocations: 0.9415 MB / 1.388 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4994/2.187, allocations: 17.07 MB / 1.405 GB, free: 428.3 MB / 0.9513 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001514/2.187, allocations: 10.3 kB / 1.405 GB, free: 428.3 MB / 0.9513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001217/2.189, allocations: 332.1 kB / 1.405 GB, free: 428.1 MB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003281/2.189, allocations: 370.7 kB / 1.405 GB, free: 428 MB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03369/2.223, allocations: 21.52 MB / 1.426 GB, free: 421.3 MB / 0.9513 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.1097/2.332, allocations: 84.34 MB / 1.509 GB, free: 357.3 MB / 0.9513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01802/2.35, allocations: 13.04 MB / 1.522 GB, free: 344.6 MB / 0.9513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01225/2.363, allocations: 10.03 MB / 1.531 GB, free: 334.6 MB / 0.9513 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.05636/2.419, allocations: 35.64 MB / 1.566 GB, free: 299.1 MB / 0.9513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01341/2.433, allocations: 10.16 MB / 1.576 GB, free: 288.9 MB / 0.9513 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01787/2.45, allocations: 5.822 MB / 1.582 GB, free: 283.9 MB / 0.9513 GB Notification: Performance of pre-optimization done (n=567): time 2.669e-05/2.45, allocations: 0 / 1.582 GB, free: 283.9 MB / 0.9513 GB Notification: Performance of matching and sorting (n=838): time 0.8618/3.312, allocations: 217.9 MB / 1.795 GB, free: 65.2 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1248/3.437, allocations: 56.06 MB / 1.849 GB, free: 7.973 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5317/3.969, allocations: 20.12 MB / 1.869 GB, free: 392 MB / 0.9514 GB Notification: Performance of collectPreVariables (initialization): time 0.003124/3.972, allocations: 224.8 kB / 1.869 GB, free: 391.8 MB / 0.9514 GB Notification: Performance of collectInitialEqns (initialization): time 0.006255/3.978, allocations: 7.769 MB / 1.877 GB, free: 387.2 MB / 0.9514 GB Notification: Performance of collectInitialBindings (initialization): time 0.006522/3.985, allocations: 3.007 MB / 1.88 GB, free: 386.2 MB / 0.9514 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008566/3.993, allocations: 4.084 MB / 1.884 GB, free: 385.1 MB / 0.9514 GB Notification: Performance of setup shared object (initialization): time 3.052e-05/3.993, allocations: 303.2 kB / 1.884 GB, free: 384.8 MB / 0.9514 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02742/4.021, allocations: 20.6 MB / 1.904 GB, free: 378.6 MB / 0.9514 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02729/4.048, allocations: 23.48 MB / 1.927 GB, free: 369.4 MB / 0.9514 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05302/4.101, allocations: 39.28 MB / 1.965 GB, free: 351.1 MB / 0.9514 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.315e-05/4.101, allocations: 16 kB / 1.965 GB, free: 351.1 MB / 0.9514 GB Notification: Performance of matching and sorting (n=1667) (initialization): time 0.5895/4.691, allocations: 135.3 MB / 2.097 GB, free: 218.1 MB / 0.9514 GB Notification: Performance of prepare postOptimizeDAE: time 8.043e-05/4.691, allocations: 57.69 kB / 2.098 GB, free: 218.1 MB / 0.9514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-05/4.691, allocations: 52.91 kB / 2.098 GB, free: 218 MB / 0.9514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5843/5.275, allocations: 118 MB / 2.213 GB, free: 100.1 MB / 0.9514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0181/5.293, allocations: 3.588 MB / 2.216 GB, free: 96.49 MB / 0.9514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4186/5.712, allocations: 81.93 MB / 2.296 GB, free: 362.9 MB / 0.9514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0947/5.807, allocations: 6.465 MB / 2.303 GB, free: 362.9 MB / 0.9514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006436/5.813, allocations: 1.342 MB / 2.304 GB, free: 362.9 MB / 0.9514 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03831/5.852, allocations: 24.01 MB / 2.327 GB, free: 356.1 MB / 0.9514 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02892/5.88, allocations: 22.96 MB / 2.35 GB, free: 347 MB / 0.9514 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05321/5.934, allocations: 38.26 MB / 2.387 GB, free: 332.9 MB / 0.9514 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.896e-05/5.934, allocations: 19.41 kB / 2.387 GB, free: 332.9 MB / 0.9514 GB Notification: Performance of matching and sorting (n=1667) (initialization_lambda0): time 0.5965/6.53, allocations: 133.7 MB / 2.518 GB, free: 211 MB / 0.9514 GB Notification: Performance of prepare postOptimizeDAE: time 7.78e-05/6.53, allocations: 58.5 kB / 2.518 GB, free: 210.9 MB / 0.9514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.918e-05/6.53, allocations: 56 kB / 2.518 GB, free: 210.9 MB / 0.9514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5798/7.11, allocations: 117.7 MB / 2.633 GB, free: 93.55 MB / 0.9514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01645/7.127, allocations: 3.576 MB / 2.636 GB, free: 89.97 MB / 0.9514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4226/7.549, allocations: 86.17 MB / 2.721 GB, free: 352.7 MB / 0.9514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09185/7.641, allocations: 6.51 MB / 2.727 GB, free: 352.5 MB / 0.9514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004841/7.646, allocations: 1.313 MB / 2.728 GB, free: 352.4 MB / 0.9514 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 (1203): * Single equations (assignments): 1175 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 12 * 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.006185/7.652, allocations: 0.7794 MB / 2.729 GB, free: 351.9 MB / 0.9514 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006211/7.659, allocations: 1.613 MB / 2.73 GB, free: 351.9 MB / 0.9514 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2007/7.859, allocations: 60.79 MB / 2.79 GB, free: 338.8 MB / 0.9514 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2023/8.062, allocations: 67.05 MB / 2.855 GB, free: 286.2 MB / 0.9514 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001386/8.062, allocations: 28 kB / 2.855 GB, free: 286.2 MB / 0.9514 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1958/8.258, allocations: 66.38 MB / 2.92 GB, free: 219.9 MB / 0.9514 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2735/8.531, allocations: 130.7 MB / 3.048 GB, free: 89.48 MB / 0.9514 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.702e-05/8.531, allocations: 4.125 kB / 3.048 GB, free: 89.48 MB / 0.9514 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01102/8.542, allocations: 1.977 MB / 3.05 GB, free: 87.5 MB / 0.9514 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5976/9.14, allocations: 81.55 MB / 3.129 GB, free: 358.1 MB / 0.9514 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00309/9.143, allocations: 0.5712 MB / 3.13 GB, free: 358.1 MB / 0.9514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09642/9.239, allocations: 58.56 MB / 3.187 GB, free: 343.9 MB / 0.9514 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 + (-valHea.m_flow) - bou.ports[1].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 + (-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. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1022/9.342, allocations: 54.19 MB / 3.24 GB, free: 310.5 MB / 0.9514 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2373/9.579, allocations: 96.2 MB / 3.334 GB, free: 215.4 MB / 0.9514 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01405/9.593, allocations: 6.02 MB / 3.34 GB, free: 209.6 MB / 0.9514 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006185/9.599, allocations: 215.9 kB / 3.34 GB, free: 209.4 MB / 0.9514 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05137/9.651, allocations: 3.321 MB / 3.343 GB, free: 206.1 MB / 0.9514 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004387/9.655, allocations: 0.8694 MB / 3.344 GB, free: 205.2 MB / 0.9514 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002561/9.658, allocations: 0.6276 MB / 3.345 GB, free: 204.6 MB / 0.9514 GB Notification: Performance of sorting global known variables: time 0.0206/9.678, allocations: 13.96 MB / 3.358 GB, free: 190.7 MB / 0.9514 GB Notification: Performance of sort global known variables: time 3.3e-07/9.678, allocations: 4 kB / 3.358 GB, free: 190.7 MB / 0.9514 GB Notification: Performance of remove unused functions: time 0.0807/9.759, allocations: 38.88 MB / 3.396 GB, free: 152 MB / 0.9514 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.2439/10, allocations: 97.82 MB / 3.492 GB, free: 54.51 MB / 0.9514 GB Notification: Performance of simCode: created initialization part: time 0.4703/10.47, allocations: 102.6 MB / 3.592 GB, free: 372 MB / 0.9514 GB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/10.47, allocations: 8.391 kB / 3.592 GB, free: 372 MB / 0.9514 GB Notification: Performance of simCode: created simulation system equations: time 0.05011/10.52, allocations: 25.5 MB / 3.617 GB, free: 363.9 MB / 0.9514 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05154/10.58, allocations: 7.911 MB / 3.625 GB, free: 359.4 MB / 0.9514 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.8/12.37, allocations: 0.5496 GB / 4.174 GB, free: 227.8 MB / 0.9514 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01567/12.39, allocations: 10.46 MB / 4.185 GB, free: 217.3 MB / 0.9514 GB Notification: Performance of simCode: alias equations: time 0.03165/12.42, allocations: 7.973 MB / 4.192 GB, free: 209.6 MB / 0.9514 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02121/12.44, allocations: 10.35 MB / 4.202 GB, free: 199.2 MB / 0.9514 GB Notification: Performance of SimCode: time 9.41e-07/12.44, allocations: 0 / 4.202 GB, free: 199.2 MB / 0.9514 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.892/14.34, allocations: 0.8127 GB / 5.015 GB, free: 340 MB / 0.9514 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.8/44.14, allocations: 3.172 kB / 5.015 GB, free: 340 MB / 0.9514 GB (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)