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.001294/0.001294, allocations: 105.8 kB / 16.4 MB, free: 6.5 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.001228/0.001228, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8396/0.8396, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 68.14 kB / 0.5736 GB, free: 27.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1364, allocations: 78.87 MB / 0.6506 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.FlowSystem.Simplified3): time 0.6465/0.783, allocations: 357.7 MB / 1 GB, free: 0.7617 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.5201/1.303, allocations: 75.63 MB / 1.074 GB, free: 34.8 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01404/1.317, allocations: 439.4 kB / 1.074 GB, free: 34.8 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.01641/1.334, allocations: 6.404 MB / 1.081 GB, free: 34.78 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.03589/1.37, allocations: 13.97 MB / 1.094 GB, free: 34.29 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.02301/1.393, allocations: 10.1 MB / 1.104 GB, free: 34 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.06129/1.454, allocations: 54.75 MB / 1.158 GB, free: 28.61 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02324/1.477, allocations: 19.53 MB / 1.177 GB, free: 12.29 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03176/1.509, allocations: 16.91 MB / 1.193 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03017/1.539, allocations: 15.48 MB / 1.208 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.00731/1.547, allocations: 1.859 MB / 1.21 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02058/1.567, allocations: 5.914 MB / 1.216 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.01032/1.578, allocations: 6.089 MB / 1.222 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.02209/1.6, allocations: 10.8 MB / 1.232 GB, free: 5.953 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.04757/1.647, allocations: 29.98 MB / 1.262 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.647, allocations: 0 / 1.262 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.483e-06/1.647, allocations: 0 / 1.262 GB, free: 9.043 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0007/1.648, allocations: 0 / 1.262 GB, free: 9.043 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1949 * Number of variables: 1949 Notification: Performance of Generate backend data structure: time 0.05958/1.708, allocations: 23.35 MB / 1.284 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/1.708, allocations: 15.97 kB / 1.284 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003194/1.711, allocations: 1.002 MB / 1.285 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01661/1.727, allocations: 3.2 MB / 1.288 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04509/1.773, allocations: 22.31 MB / 1.31 GB, free: 7.555 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007235/1.773, allocations: 0.6429 MB / 1.311 GB, free: 6.914 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004272/1.778, allocations: 0.8827 MB / 1.312 GB, free: 6.031 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05804/1.836, allocations: 16.95 MB / 1.328 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003633/1.836, allocations: 15.89 kB / 1.328 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00378/1.84, allocations: 323.1 kB / 1.329 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002993/1.84, allocations: 211.9 kB / 1.329 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05874/1.899, allocations: 21.02 MB / 1.349 GB, free: 15.29 MB / 0.9669 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.557/2.456, allocations: 83.31 MB / 1.431 GB, free: 199.7 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02383/2.48, allocations: 13.6 MB / 1.444 GB, free: 199.4 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01598/2.496, allocations: 10.29 MB / 1.454 GB, free: 199.3 MB / 1.014 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.05998/2.556, allocations: 34.62 MB / 1.488 GB, free: 191.5 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01681/2.573, allocations: 10.36 MB / 1.498 GB, free: 191.4 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01981/2.593, allocations: 5.796 MB / 1.504 GB, free: 191.4 MB / 1.014 GB Notification: Performance of pre-optimization done (n=503): time 2.896e-05/2.593, allocations: 0 / 1.504 GB, free: 191.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=742): time 0.9202/3.513, allocations: 218.7 MB / 1.717 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1811/3.694, allocations: 49.07 MB / 1.765 GB, free: 14.56 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03784/3.732, allocations: 19.6 MB / 1.784 GB, free: 11.07 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.003531/3.735, allocations: 201.7 kB / 1.784 GB, free: 10.87 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.01033/3.746, allocations: 7.604 MB / 1.792 GB, free: 3.297 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.3225/4.068, allocations: 2.753 MB / 1.795 GB, free: 0.5171 GB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009158/4.077, allocations: 3.792 MB / 1.798 GB, free: 0.5171 GB / 1.092 GB Notification: Performance of setup shared object (initialization): time 3.181e-05/4.078, allocations: 302.4 kB / 1.799 GB, free: 0.5168 GB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03229/4.11, allocations: 19.44 MB / 1.818 GB, free: 0.5154 GB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0308/4.141, allocations: 22.2 MB / 1.839 GB, free: 0.5069 GB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05722/4.198, allocations: 37.3 MB / 1.876 GB, free: 0.4936 GB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.823e-05/4.198, allocations: 15.66 kB / 1.876 GB, free: 0.4936 GB / 1.092 GB Notification: Performance of matching and sorting (n=1491) (initialization): time 0.6056/4.804, allocations: 132.6 MB / 2.005 GB, free: 383.2 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 9.609e-05/4.804, allocations: 53.7 kB / 2.005 GB, free: 383.2 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.31e-05/4.804, allocations: 52 kB / 2.005 GB, free: 383.1 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6015/5.405, allocations: 118 MB / 2.12 GB, free: 265.5 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01655/5.422, allocations: 3.17 MB / 2.124 GB, free: 262.3 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1337/5.556, allocations: 81.87 MB / 2.203 GB, free: 180.4 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09139/5.647, allocations: 6.581 MB / 2.21 GB, free: 173.8 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004662/5.652, allocations: 1.306 MB / 2.211 GB, free: 172.5 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03169/5.683, allocations: 22.51 MB / 2.233 GB, free: 150 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02859/5.712, allocations: 21.69 MB / 2.254 GB, free: 127.2 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0513/5.763, allocations: 36.27 MB / 2.29 GB, free: 90.2 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.746e-05/5.764, allocations: 20 kB / 2.29 GB, free: 90.18 MB / 1.092 GB Notification: Performance of matching and sorting (n=1491) (initialization_lambda0): time 0.9103/6.674, allocations: 131 MB / 2.418 GB, free: 0.4905 GB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 7.122e-05/6.674, allocations: 62.2 kB / 2.418 GB, free: 0.4905 GB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.765e-05/6.674, allocations: 51.75 kB / 2.418 GB, free: 0.4905 GB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5936/7.268, allocations: 117.6 MB / 2.533 GB, free: 419.1 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01526/7.283, allocations: 3.143 MB / 2.536 GB, free: 416.1 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1474/7.43, allocations: 86.1 MB / 2.62 GB, free: 329.9 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09223/7.523, allocations: 6.62 MB / 2.626 GB, free: 323.3 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005591/7.528, allocations: 1.27 MB / 2.628 GB, free: 322 MB / 1.092 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 (1043): * Single equations (assignments): 1023 * 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.006957/7.535, allocations: 0.7238 MB / 2.628 GB, free: 321.3 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006528/7.542, allocations: 1.601 MB / 2.63 GB, free: 320.6 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.206/7.748, allocations: 60.43 MB / 2.689 GB, free: 260.4 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2138/7.962, allocations: 64.6 MB / 2.752 GB, free: 195.8 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-05/7.962, allocations: 28 kB / 2.752 GB, free: 195.8 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1997/8.161, allocations: 63.92 MB / 2.814 GB, free: 131.8 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5855/8.747, allocations: 128.2 MB / 2.94 GB, free: 480.8 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.071e-05/8.747, allocations: 3.938 kB / 2.94 GB, free: 480.8 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01256/8.76, allocations: 2.129 MB / 2.942 GB, free: 480.7 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3329/9.093, allocations: 78.42 MB / 3.018 GB, free: 471.6 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003333/9.096, allocations: 0.5314 MB / 3.019 GB, free: 471.2 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09942/9.195, allocations: 55.66 MB / 3.073 GB, free: 440.9 MB / 1.092 GB 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 + 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 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 3 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow ; valHea.m_flow ; valCoo.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; -bou.ports[1].m_flow ] might be structurally or numerically singular for variable valCoo.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. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 3 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.09622/9.292, allocations: 48.75 MB / 3.121 GB, free: 391.2 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2472/9.539, allocations: 91.57 MB / 3.21 GB, free: 300.6 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01346/9.552, allocations: 5.479 MB / 3.216 GB, free: 296 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007131/9.56, allocations: 171.9 kB / 3.216 GB, free: 295.8 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05161/9.611, allocations: 3.477 MB / 3.219 GB, free: 292.4 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004614/9.616, allocations: 0.818 MB / 3.22 GB, free: 291.5 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003387/9.619, allocations: 0.6197 MB / 3.221 GB, free: 290.9 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0211/9.64, allocations: 13.65 MB / 3.234 GB, free: 277.3 MB / 1.092 GB Notification: Performance of sort global known variables: time 8.62e-07/9.64, allocations: 0 / 3.234 GB, free: 277.3 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.07489/9.715, allocations: 34.91 MB / 3.268 GB, free: 242.4 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 42 ($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,pmpNorth.vol.dynBal.U,valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,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 (556): * Single equations (assignments): 535 * 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,166)} Notification: Performance of Backend phase and start with SimCode phase: time 0.2487/9.964, allocations: 93.21 MB / 3.359 GB, free: 149.5 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.1232/10.09, allocations: 72.77 MB / 3.43 GB, free: 76.7 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/10.09, allocations: 5 kB / 3.43 GB, free: 76.7 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.05265/10.14, allocations: 24.43 MB / 3.454 GB, free: 52.27 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04891/10.19, allocations: 8.066 MB / 3.462 GB, free: 44.54 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.118/12.31, allocations: 424.6 MB / 3.876 GB, free: 211.4 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01351/12.32, allocations: 9.871 MB / 3.886 GB, free: 201.5 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.02845/12.35, allocations: 6.788 MB / 3.893 GB, free: 194.9 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0209/12.37, allocations: 9.998 MB / 3.902 GB, free: 184.9 MB / 1.092 GB Notification: Performance of SimCode: time 1.092e-06/12.37, allocations: 0 / 3.902 GB, free: 184.9 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.644/14.01, allocations: 0.7746 GB / 4.677 GB, free: 470.9 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 114.2/128.2, allocations: 4.516 kB / 4.677 GB, free: 470.9 MB / 1.092 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)