Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="BuildSysPro_BuildSysPro_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.005231/0.005231, allocations: 98.19 kB / 15.73 MB, free: 5.605 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.001013/0.001013, allocations: 199.4 kB / 16.67 MB, free: 5.531 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.258/1.258, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8179/0.8179, allocations: 143.1 MB / 433.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 63.77 kB / 0.5951 GB, free: 12.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1336, allocations: 82.04 MB / 0.6752 GB, free: 10.76 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pmpSouth.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pmpNorth.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpHea.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpCoo.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3): time 0.6447/0.7784, allocations: 358.2 MB / 1.025 GB, free: 7.73 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.5082/1.287, allocations: 76.14 MB / 1.099 GB, free: 40.56 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01502/1.302, allocations: 433.8 kB / 1.1 GB, free: 40.56 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01682/1.319, allocations: 6.599 MB / 1.106 GB, free: 40.47 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.03811/1.357, allocations: 14.81 MB / 1.121 GB, free: 39.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.02217/1.379, allocations: 10.19 MB / 1.131 GB, free: 39.61 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.08373/1.463, allocations: 74.37 MB / 1.203 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02711/1.49, allocations: 20.07 MB / 1.223 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03612/1.526, allocations: 17.49 MB / 1.24 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02726/1.553, allocations: 16.44 MB / 1.256 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.007097/1.56, allocations: 1.965 MB / 1.258 GB, free: 8.121 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01951/1.58, allocations: 6.054 MB / 1.264 GB, free: 2.34 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.01002/1.59, allocations: 6.521 MB / 1.27 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.02311/1.613, allocations: 11.29 MB / 1.281 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.04751/1.661, allocations: 33.01 MB / 1.314 GB, free: 1.023 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.661, allocations: 0 / 1.314 GB, free: 1.023 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.333e-06/1.661, allocations: 0 / 1.314 GB, free: 1.023 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0008278/1.662, allocations: 0 / 1.314 GB, free: 1.023 MB / 0.92 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.06371/1.725, allocations: 24.81 MB / 1.338 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/1.725, allocations: 8.031 kB / 1.338 GB, free: 8.324 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003602/1.729, allocations: 1.055 MB / 1.339 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01726/1.746, allocations: 3.305 MB / 1.342 GB, free: 3.945 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0471/1.793, allocations: 23.25 MB / 1.365 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006752/1.794, allocations: 0.6735 MB / 1.365 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004413/1.798, allocations: 0.9418 MB / 1.366 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03917/1.838, allocations: 17.06 MB / 1.383 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003049/1.838, allocations: 19.81 kB / 1.383 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003249/1.841, allocations: 331.4 kB / 1.383 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003831/1.842, allocations: 367.4 kB / 1.384 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04047/1.882, allocations: 21.51 MB / 1.405 GB, free: 3.941 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 removeSimpleEquations (simulation): time 0.4867/2.369, allocations: 84.2 MB / 1.487 GB, free: 462.6 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02103/2.39, allocations: 13.02 MB / 1.5 GB, free: 456.2 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01587/2.406, allocations: 10.08 MB / 1.509 GB, free: 450.6 MB / 1.045 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.06945/2.475, allocations: 35.65 MB / 1.544 GB, free: 426 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01707/2.492, allocations: 10.15 MB / 1.554 GB, free: 416.7 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01985/2.512, allocations: 5.825 MB / 1.56 GB, free: 411.6 MB / 1.045 GB Notification: Performance of pre-optimization done (n=567): time 3.507e-05/2.512, allocations: 0 / 1.56 GB, free: 411.6 MB / 1.045 GB Notification: Performance of matching and sorting (n=838): time 0.903/3.415, allocations: 218.2 MB / 1.773 GB, free: 194.7 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1323/3.548, allocations: 56.06 MB / 1.828 GB, free: 137.6 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03127/3.579, allocations: 20.62 MB / 1.848 GB, free: 117.1 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.003629/3.583, allocations: 225.7 kB / 1.848 GB, free: 116.9 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.007565/3.59, allocations: 7.904 MB / 1.856 GB, free: 109 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.007367/3.598, allocations: 3.145 MB / 1.859 GB, free: 105.9 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01276/3.611, allocations: 3.996 MB / 1.863 GB, free: 101.9 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 3.714e-05/3.611, allocations: 301.1 kB / 1.863 GB, free: 101.6 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0277/3.638, allocations: 20.28 MB / 1.883 GB, free: 81.27 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02988/3.668, allocations: 23.1 MB / 1.905 GB, free: 57.13 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05698/3.725, allocations: 38.6 MB / 1.943 GB, free: 17.71 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-05/3.725, allocations: 16 kB / 1.943 GB, free: 17.7 MB / 1.045 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.9584/4.684, allocations: 134.7 MB / 2.075 GB, free: 409.2 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/4.684, allocations: 53.7 kB / 2.075 GB, free: 409.1 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001025/4.684, allocations: 52 kB / 2.075 GB, free: 409.1 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5894/5.273, allocations: 118 MB / 2.19 GB, free: 291.5 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01803/5.292, allocations: 3.549 MB / 2.193 GB, free: 287.9 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1345/5.426, allocations: 81.92 MB / 2.273 GB, free: 206 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09478/5.521, allocations: 6.446 MB / 2.28 GB, free: 199.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005171/5.526, allocations: 1.314 MB / 2.281 GB, free: 198.2 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03445/5.561, allocations: 23.68 MB / 2.304 GB, free: 174.5 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02741/5.588, allocations: 22.58 MB / 2.326 GB, free: 150.9 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05181/5.64, allocations: 37.58 MB / 2.363 GB, free: 112.5 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.612e-05/5.64, allocations: 16 kB / 2.363 GB, free: 112.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.9184/6.558, allocations: 133.1 MB / 2.493 GB, free: 425.2 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 8.022e-05/6.558, allocations: 60.53 kB / 2.493 GB, free: 425.2 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.954e-05/6.559, allocations: 50.06 kB / 2.493 GB, free: 425.2 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5925/7.151, allocations: 117.6 MB / 2.608 GB, free: 361.3 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01698/7.168, allocations: 3.536 MB / 2.611 GB, free: 357.9 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1482/7.316, allocations: 86.16 MB / 2.695 GB, free: 271.7 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09321/7.41, allocations: 6.489 MB / 2.702 GB, free: 265.2 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005047/7.415, allocations: 1.286 MB / 2.703 GB, free: 263.9 MB / 1.045 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.006171/7.421, allocations: 0.7618 MB / 2.704 GB, free: 263.2 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006448/7.427, allocations: 1.712 MB / 2.705 GB, free: 262.5 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2096/7.637, allocations: 60.78 MB / 2.765 GB, free: 202 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2165/7.853, allocations: 67.04 MB / 2.83 GB, free: 135 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.443e-05/7.854, allocations: 28 kB / 2.83 GB, free: 134.9 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2069/8.061, allocations: 66.36 MB / 2.895 GB, free: 68.57 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5961/8.657, allocations: 130.7 MB / 3.023 GB, free: 408 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.979e-05/8.657, allocations: 0 / 3.023 GB, free: 408 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01144/8.668, allocations: 1.971 MB / 3.025 GB, free: 407.9 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3344/9.003, allocations: 81.4 MB / 3.104 GB, free: 353.2 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003379/9.006, allocations: 0.569 MB / 3.105 GB, free: 352.6 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09832/9.104, allocations: 58.56 MB / 3.162 GB, free: 294.1 MB / 1.045 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.1028/9.207, allocations: 54.19 MB / 3.215 GB, free: 239 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2411/9.448, allocations: 96.29 MB / 3.309 GB, free: 143.7 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01842/9.467, allocations: 6.144 MB / 3.315 GB, free: 138.5 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006209/9.473, allocations: 212 kB / 3.315 GB, free: 138.3 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05181/9.525, allocations: 3.321 MB / 3.318 GB, free: 134.9 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003688/9.529, allocations: 0.8655 MB / 3.319 GB, free: 134.1 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001586/9.53, allocations: 0.6314 MB / 3.32 GB, free: 133.4 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.01976/9.55, allocations: 14.38 MB / 3.334 GB, free: 119.2 MB / 1.045 GB Notification: Performance of sort global known variables: time 4.51e-07/9.55, allocations: 0 / 3.334 GB, free: 119.2 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.08238/9.632, allocations: 38.74 MB / 3.372 GB, free: 80.42 MB / 1.045 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.5909/10.22, allocations: 97.85 MB / 3.467 GB, free: 429.8 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.1252/10.35, allocations: 77.47 MB / 3.543 GB, free: 405.1 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/10.35, allocations: 3.75 kB / 3.543 GB, free: 405.1 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.05123/10.4, allocations: 25.51 MB / 3.568 GB, free: 388.4 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05244/10.45, allocations: 8.022 MB / 3.576 GB, free: 382.7 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.091/12.54, allocations: 445.1 MB / 4.01 GB, free: 399.8 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01116/12.55, allocations: 10.49 MB / 4.02 GB, free: 395.4 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.02673/12.58, allocations: 8.007 MB / 4.028 GB, free: 393.1 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0198/12.6, allocations: 10.39 MB / 4.038 GB, free: 390.5 MB / 1.045 GB Notification: Performance of SimCode: time 1.072e-06/12.6, allocations: 0 / 4.038 GB, free: 390.5 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.306/13.91, allocations: 0.8116 GB / 4.85 GB, free: 64.06 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 90.14/104, allocations: 7.922 kB / 4.85 GB, free: 64.05 MB / 1.045 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified3.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)