Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="IBPSA_latest_IBPSA_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.001301/0.001301, allocations: 102.8 kB / 16.27 MB, free: 5.961 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.001334/0.001334, allocations: 189.8 kB / 17.2 MB, free: 5.59 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.263/1.263, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7154/0.7154, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 67.88 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2851, allocations: 77.92 MB / 0.5673 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.FlowSystem.Simplified3): time 0.5349/0.82, allocations: 357.7 MB / 0.9166 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.1004/0.9204, allocations: 75.85 MB / 0.9907 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01331/0.9338, allocations: 433.5 kB / 0.9911 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.03958/0.9734, allocations: 23.47 MB / 1.014 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.3696/1.343, allocations: 14.02 MB / 1.028 GB, free: 30.01 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.02096/1.364, allocations: 10.04 MB / 1.038 GB, free: 29.93 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.07442/1.438, allocations: 66.67 MB / 1.103 GB, free: 28.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02189/1.46, allocations: 19.98 MB / 1.122 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02884/1.489, allocations: 16.92 MB / 1.139 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02513/1.514, allocations: 16.33 MB / 1.155 GB, free: 8.438 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.008131/1.522, allocations: 1.953 MB / 1.157 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02084/1.543, allocations: 6.619 MB / 1.163 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.01025/1.554, allocations: 6.487 MB / 1.169 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.02141/1.575, allocations: 11.25 MB / 1.18 GB, free: 0.5703 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.04133/1.616, allocations: 31.51 MB / 1.211 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.616, allocations: 0 / 1.211 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.867e-06/1.616, allocations: 0 / 1.211 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0008041/1.617, allocations: 3.938 kB / 1.211 GB, free: 2.27 MB / 0.7794 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.06288/1.68, allocations: 24.08 MB / 1.235 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/1.68, allocations: 8.625 kB / 1.235 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004253/1.685, allocations: 1.052 MB / 1.236 GB, free: 9.27 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01719/1.702, allocations: 3.2 MB / 1.239 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04474/1.746, allocations: 21.84 MB / 1.26 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008337/1.747, allocations: 0.6957 MB / 1.261 GB, free: 40 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004494/1.752, allocations: 0.941 MB / 1.262 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03949/1.791, allocations: 17.07 MB / 1.278 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004367/1.792, allocations: 14.19 kB / 1.278 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004587/1.796, allocations: 330.9 kB / 1.279 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004898/1.797, allocations: 363.4 kB / 1.279 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04162/1.839, allocations: 21.53 MB / 1.3 GB, free: 7.684 MB / 0.8731 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.3969/2.236, allocations: 84.34 MB / 1.382 GB, free: 419.7 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01917/2.255, allocations: 13.04 MB / 1.395 GB, free: 412.3 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01422/2.269, allocations: 10.03 MB / 1.405 GB, free: 406.7 MB / 0.9044 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.06289/2.332, allocations: 35.64 MB / 1.44 GB, free: 382.2 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01324/2.345, allocations: 10.16 MB / 1.45 GB, free: 372.9 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01895/2.364, allocations: 5.816 MB / 1.455 GB, free: 367.8 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=567): time 3.045e-05/2.364, allocations: 0 / 1.455 GB, free: 367.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=838): time 0.9048/3.269, allocations: 217.8 MB / 1.668 GB, free: 151.4 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.123/3.392, allocations: 55.99 MB / 1.723 GB, free: 94.54 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02736/3.419, allocations: 20.13 MB / 1.742 GB, free: 74.52 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.003762/3.423, allocations: 228.2 kB / 1.743 GB, free: 74.29 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.007949/3.431, allocations: 7.766 MB / 1.75 GB, free: 66.54 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.008229/3.439, allocations: 3.009 MB / 1.753 GB, free: 63.56 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01548/3.455, allocations: 4.083 MB / 1.757 GB, free: 59.46 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 3.677e-05/3.455, allocations: 305.1 kB / 1.757 GB, free: 59.16 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02839/3.483, allocations: 20.6 MB / 1.778 GB, free: 38.54 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03101/3.514, allocations: 23.48 MB / 1.8 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3516/3.866, allocations: 39.27 MB / 1.839 GB, free: 397.6 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.689e-05/3.866, allocations: 15.81 kB / 1.839 GB, free: 397.6 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1667) (initialization): time 0.6116/4.478, allocations: 135.3 MB / 1.971 GB, free: 316.7 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.068e-05/4.478, allocations: 55.58 kB / 1.971 GB, free: 316.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.221e-05/4.478, allocations: 52 kB / 1.971 GB, free: 316.6 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6004/5.078, allocations: 118 MB / 2.086 GB, free: 198.9 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01736/5.096, allocations: 3.6 MB / 2.09 GB, free: 195.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1311/5.227, allocations: 81.91 MB / 2.17 GB, free: 113.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09108/5.318, allocations: 6.467 MB / 2.176 GB, free: 106.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004413/5.322, allocations: 1.342 MB / 2.177 GB, free: 105.5 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03244/5.355, allocations: 24 MB / 2.201 GB, free: 81.46 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02666/5.382, allocations: 22.96 MB / 2.223 GB, free: 57.46 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0491/5.431, allocations: 38.25 MB / 2.261 GB, free: 18.38 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.592e-05/5.431, allocations: 16 kB / 2.261 GB, free: 18.37 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1667) (initialization_lambda0): time 0.8675/6.298, allocations: 133.7 MB / 2.391 GB, free: 342.3 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.616e-05/6.298, allocations: 53.92 kB / 2.391 GB, free: 342.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-05/6.298, allocations: 59.88 kB / 2.391 GB, free: 342.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5879/6.886, allocations: 117.7 MB / 2.506 GB, free: 224.9 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0164/6.903, allocations: 3.576 MB / 2.51 GB, free: 221.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1342/7.037, allocations: 86.16 MB / 2.594 GB, free: 135 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09688/7.134, allocations: 6.513 MB / 2.6 GB, free: 128.5 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003807/7.138, allocations: 1.31 MB / 2.602 GB, free: 127.2 MB / 0.9044 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.004044/7.142, allocations: 0.7726 MB / 2.602 GB, free: 126.4 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00539/7.147, allocations: 1.617 MB / 2.604 GB, free: 125.7 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2021/7.349, allocations: 60.78 MB / 2.663 GB, free: 64.99 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4885/7.838, allocations: 67.05 MB / 2.729 GB, free: 370.3 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002502/7.838, allocations: 29.28 kB / 2.729 GB, free: 370.3 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2134/8.052, allocations: 66.38 MB / 2.794 GB, free: 360.5 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2688/8.32, allocations: 130.7 MB / 2.921 GB, free: 254.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.802e-05/8.32, allocations: 4 kB / 2.921 GB, free: 254.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01113/8.332, allocations: 1.985 MB / 2.923 GB, free: 252.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3263/8.658, allocations: 81.54 MB / 3.003 GB, free: 171 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00333/8.661, allocations: 0.569 MB / 3.003 GB, free: 170.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09776/8.759, allocations: 58.56 MB / 3.061 GB, free: 111.8 MB / 0.9044 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.1007/8.86, allocations: 54.11 MB / 3.113 GB, free: 56.6 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.512/9.372, allocations: 96.19 MB / 3.207 GB, free: 366 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01439/9.386, allocations: 6.028 MB / 3.213 GB, free: 364.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005562/9.392, allocations: 210.3 kB / 3.213 GB, free: 364.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05349/9.445, allocations: 3.314 MB / 3.217 GB, free: 364.2 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004665/9.45, allocations: 0.8676 MB / 3.218 GB, free: 364.1 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002294/9.452, allocations: 0.6354 MB / 3.218 GB, free: 364 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.02007/9.472, allocations: 13.97 MB / 3.232 GB, free: 359.3 MB / 0.9044 GB Notification: Performance of sort global known variables: time 7.02e-07/9.472, allocations: 0 / 3.232 GB, free: 359.3 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.07854/9.551, allocations: 38.86 MB / 3.27 GB, free: 348.7 MB / 0.9044 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.2426/9.794, allocations: 97.81 MB / 3.365 GB, free: 265.7 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.1803/9.974, allocations: 102.6 MB / 3.466 GB, free: 163.5 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/9.974, allocations: 7.938 kB / 3.466 GB, free: 163.5 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.05126/10.03, allocations: 25.48 MB / 3.49 GB, free: 138.1 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05095/10.08, allocations: 7.904 MB / 3.498 GB, free: 130.6 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.004/12.08, allocations: 0.5496 GB / 4.048 GB, free: 27.21 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009156/12.09, allocations: 10.47 MB / 4.058 GB, free: 16.71 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.02549/12.11, allocations: 7.964 MB / 4.066 GB, free: 8.961 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2723/12.39, allocations: 10.35 MB / 4.076 GB, free: 367.3 MB / 0.9044 GB Notification: Performance of SimCode: time 1.132e-06/12.39, allocations: 5.688 kB / 4.076 GB, free: 367.3 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.496/13.88, allocations: 0.8124 GB / 4.888 GB, free: 360.6 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.26/44.14, allocations: 5.141 kB / 4.888 GB, free: 360.6 MB / 0.9044 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified3.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Examples_FlowSystem_Simplified3.fmu > IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)