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.004524/0.004524, allocations: 98.77 kB / 15.73 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 196.1 kB / 16.68 MB, free: 5.973 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002485/0.002485, allocations: 302.5 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.149/1.149, allocations: 178.5 MB / 0.5074 GB, free: 12.62 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002753/0.002753, allocations: 95.86 kB / 0.6944 GB, free: 15.11 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3576, allocations: 89.13 MB / 0.7814 GB, free: 1.152 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 0.6536/1.011, allocations: 357.7 MB / 1.131 GB, free: 18.11 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.104/1.115, allocations: 75.87 MB / 1.205 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01385/1.129, allocations: 433.5 kB / 1.205 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01799/1.147, allocations: 6.426 MB / 1.212 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.03783/1.185, allocations: 14.09 MB / 1.225 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.02369/1.209, allocations: 10.2 MB / 1.235 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.1037/1.312, allocations: 74.2 MB / 1.308 GB, free: 12.56 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02893/1.341, allocations: 20.01 MB / 1.327 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03377/1.375, allocations: 17.03 MB / 1.344 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.8084/2.184, allocations: 16.37 MB / 1.36 GB, free: 75.84 MB / 0.9513 GB Notification: Performance of NFPackage.collectConstants: time 0.008658/2.192, allocations: 1.955 MB / 1.362 GB, free: 75.84 MB / 0.9513 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01837/2.211, allocations: 6.042 MB / 1.368 GB, free: 75.84 MB / 0.9513 GB Notification: Performance of NFScalarize.scalarize: time 0.009856/2.221, allocations: 6.497 MB / 1.374 GB, free: 75.84 MB / 0.9513 GB Notification: Performance of NFVerifyModel.verify: time 0.01974/2.24, allocations: 11.25 MB / 1.385 GB, free: 74.88 MB / 0.9513 GB Notification: Performance of NFConvertDAE.convert: time 0.03779/2.278, allocations: 31.42 MB / 1.416 GB, free: 70.83 MB / 0.9513 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/2.278, allocations: 0 / 1.416 GB, free: 70.83 MB / 0.9513 GB Notification: Performance of FrontEnd: time 1.292e-06/2.278, allocations: 0 / 1.416 GB, free: 70.83 MB / 0.9513 GB Notification: Performance of Transformations before backend: time 0.0007458/2.279, allocations: 0 / 1.416 GB, free: 70.83 MB / 0.9513 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.06189/2.341, allocations: 24.71 MB / 1.44 GB, free: 61.63 MB / 0.9513 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/2.341, allocations: 11.16 kB / 1.44 GB, free: 61.63 MB / 0.9513 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004035/2.345, allocations: 1.055 MB / 1.441 GB, free: 61.55 MB / 0.9513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01781/2.363, allocations: 3.294 MB / 1.444 GB, free: 60.4 MB / 0.9513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04162/2.405, allocations: 23.16 MB / 1.467 GB, free: 56.38 MB / 0.9513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005251/2.405, allocations: 0.6654 MB / 1.467 GB, free: 56.37 MB / 0.9513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00436/2.41, allocations: 0.9482 MB / 1.468 GB, free: 56.34 MB / 0.9513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02646/2.436, allocations: 17.06 MB / 1.485 GB, free: 51.27 MB / 0.9513 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001592/2.436, allocations: 16.98 kB / 1.485 GB, free: 51.27 MB / 0.9513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001249/2.437, allocations: 332.6 kB / 1.485 GB, free: 51.26 MB / 0.9513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002357/2.438, allocations: 372.6 kB / 1.486 GB, free: 51.22 MB / 0.9513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02796/2.466, allocations: 21.5 MB / 1.507 GB, free: 42.14 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.1283/2.594, allocations: 84.07 MB / 1.589 GB, free: 4.922 MB / 0.9982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02407/2.618, allocations: 13.03 MB / 1.601 GB, free: 8.137 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01781/2.636, allocations: 10.07 MB / 1.611 GB, free: 14.05 MB / 1.029 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.08077/2.717, allocations: 35.57 MB / 1.646 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02/2.737, allocations: 10.14 MB / 1.656 GB, free: 15.89 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02223/2.759, allocations: 5.836 MB / 1.662 GB, free: 10.22 MB / 1.076 GB Notification: Performance of pre-optimization done (n=567): time 2.609e-05/2.759, allocations: 0 / 1.662 GB, free: 10.22 MB / 1.076 GB Notification: Performance of matching and sorting (n=838): time 1.417/4.176, allocations: 218.2 MB / 1.875 GB, free: 282.1 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.126/4.302, allocations: 56.03 MB / 1.929 GB, free: 238 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0318/4.334, allocations: 20.51 MB / 1.949 GB, free: 221.3 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.003721/4.338, allocations: 225.7 kB / 1.95 GB, free: 221.1 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.006993/4.345, allocations: 7.875 MB / 1.957 GB, free: 213.7 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.006752/4.351, allocations: 3.151 MB / 1.96 GB, free: 210.7 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007653/4.359, allocations: 3.999 MB / 1.964 GB, free: 206.7 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 3.05e-05/4.359, allocations: 301.1 kB / 1.965 GB, free: 206.4 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02516/4.384, allocations: 20.27 MB / 1.984 GB, free: 186.1 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02989/4.414, allocations: 23.1 MB / 2.007 GB, free: 162 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05568/4.47, allocations: 38.61 MB / 2.045 GB, free: 122.8 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-05/4.47, allocations: 17.53 kB / 2.045 GB, free: 122.8 MB / 1.17 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.5982/5.068, allocations: 134.7 MB / 2.176 GB, free: 4.629 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 9.343e-05/5.068, allocations: 57.69 kB / 2.176 GB, free: 4.566 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-05/5.068, allocations: 52 kB / 2.176 GB, free: 4.516 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9608/6.029, allocations: 118 MB / 2.291 GB, free: 0.4951 GB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01851/6.048, allocations: 3.557 MB / 2.295 GB, free: 0.4919 GB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1431/6.191, allocations: 81.92 MB / 2.375 GB, free: 423.3 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09719/6.288, allocations: 6.451 MB / 2.381 GB, free: 416.9 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007506/6.296, allocations: 1.316 MB / 2.383 GB, free: 415.5 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03821/6.334, allocations: 23.67 MB / 2.406 GB, free: 391.9 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03087/6.365, allocations: 22.58 MB / 2.428 GB, free: 368.2 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05749/6.422, allocations: 37.58 MB / 2.464 GB, free: 329.8 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.526e-05/6.422, allocations: 19.72 kB / 2.464 GB, free: 329.8 MB / 1.186 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.6146/7.037, allocations: 133.1 MB / 2.594 GB, free: 197.7 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/7.037, allocations: 57.73 kB / 2.594 GB, free: 197.7 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.696e-05/7.037, allocations: 52 kB / 2.594 GB, free: 197.6 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6179/7.655, allocations: 117.6 MB / 2.709 GB, free: 80.29 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01744/7.673, allocations: 3.529 MB / 2.713 GB, free: 76.75 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5677/8.24, allocations: 86.15 MB / 2.797 GB, free: 0.4912 GB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09754/8.338, allocations: 6.51 MB / 2.803 GB, free: 0.4912 GB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005844/8.344, allocations: 1.282 MB / 2.805 GB, free: 0.4912 GB / 1.186 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.00717/8.351, allocations: 0.7584 MB / 2.805 GB, free: 0.491 GB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008134/8.359, allocations: 1.707 MB / 2.807 GB, free: 0.491 GB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2212/8.58, allocations: 60.78 MB / 2.866 GB, free: 491.9 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2249/8.805, allocations: 67.04 MB / 2.932 GB, free: 449 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001122/8.805, allocations: 32 kB / 2.932 GB, free: 448.9 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2183/9.024, allocations: 66.37 MB / 2.997 GB, free: 382.7 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3029/9.327, allocations: 130.7 MB / 3.124 GB, free: 252.4 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.435e-05/9.327, allocations: 0 / 3.124 GB, free: 252.4 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01198/9.339, allocations: 1.977 MB / 3.126 GB, free: 250.4 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.339/9.678, allocations: 81.4 MB / 3.206 GB, free: 169.1 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00392/9.682, allocations: 0.569 MB / 3.206 GB, free: 168.6 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1096/9.791, allocations: 58.55 MB / 3.263 GB, free: 109.8 MB / 1.186 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.1125/9.904, allocations: 54.17 MB / 3.316 GB, free: 54.05 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6992/10.6, allocations: 96.28 MB / 3.41 GB, free: 0.4981 GB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01805/10.62, allocations: 6.111 MB / 3.416 GB, free: 0.4973 GB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009172/10.63, allocations: 211.7 kB / 3.416 GB, free: 0.4972 GB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05644/10.69, allocations: 3.319 MB / 3.42 GB, free: 0.497 GB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005842/10.69, allocations: 0.8693 MB / 3.421 GB, free: 0.497 GB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004261/10.7, allocations: 0.6245 MB / 3.421 GB, free: 0.4969 GB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0342/10.73, allocations: 14.31 MB / 3.435 GB, free: 0.4922 GB / 1.186 GB Notification: Performance of sort global known variables: time 6.71e-07/10.73, allocations: 2.625 kB / 3.435 GB, free: 0.4922 GB / 1.186 GB Notification: Performance of remove unused functions: time 0.09702/10.83, allocations: 38.72 MB / 3.473 GB, free: 487.5 MB / 1.186 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.2651/11.09, allocations: 97.78 MB / 3.568 GB, free: 403.1 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.1307/11.22, allocations: 77.48 MB / 3.644 GB, free: 325.6 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 9.198e-06/11.22, allocations: 1 kB / 3.644 GB, free: 325.6 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.05569/11.28, allocations: 25.51 MB / 3.669 GB, free: 300.2 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06196/11.34, allocations: 7.987 MB / 3.677 GB, free: 292.8 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.975/13.32, allocations: 444.5 MB / 4.111 GB, free: 435.4 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01018/13.33, allocations: 10.46 MB / 4.121 GB, free: 424.9 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.02881/13.36, allocations: 7.999 MB / 4.129 GB, free: 417.2 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02319/13.38, allocations: 10.36 MB / 4.139 GB, free: 406.8 MB / 1.186 GB Notification: Performance of SimCode: time 1.233e-06/13.38, allocations: 0 / 4.139 GB, free: 406.8 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.43/14.81, allocations: 0.8088 GB / 4.948 GB, free: 159.9 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 115.8/130.6, allocations: 5.625 kB / 4.948 GB, free: 159.9 MB / 1.186 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)