Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005735/0.005735, allocations: 96.23 kB / 15.73 MB, free: 6.059 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.00144/0.00144, allocations: 200.4 kB / 16.68 MB, free: 5.98 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002352/0.002352, allocations: 286.7 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9668/0.9668, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00268/0.00268, allocations: 100.2 kB / 0.6811 GB, free: 15.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.159, allocations: 86.97 MB / 0.766 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 1.042/1.201, allocations: 357.7 MB / 1.115 GB, free: 56.62 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.08692/1.288, allocations: 75.87 MB / 1.189 GB, free: 55.55 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01447/1.303, allocations: 433.1 kB / 1.19 GB, free: 55.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01659/1.319, allocations: 6.425 MB / 1.196 GB, free: 55.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.03705/1.356, allocations: 14.1 MB / 1.21 GB, free: 52.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.02158/1.378, allocations: 10.19 MB / 1.22 GB, free: 45.84 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.081/1.459, allocations: 74.2 MB / 1.292 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02825/1.487, allocations: 20 MB / 1.312 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03472/1.522, allocations: 17.02 MB / 1.328 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02931/1.551, allocations: 16.38 MB / 1.344 GB, free: 40 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.007477/1.559, allocations: 1.961 MB / 1.346 GB, free: 14.07 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01984/1.579, allocations: 6.044 MB / 1.352 GB, free: 8.305 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.01031/1.589, allocations: 6.488 MB / 1.359 GB, free: 2.047 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.02167/1.611, allocations: 11.26 MB / 1.37 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.04861/1.659, allocations: 31.44 MB / 1.4 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/1.659, allocations: 0 / 1.4 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.192e-06/1.659, allocations: 0 / 1.4 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.000751/1.66, allocations: 0 / 1.4 GB, free: 8.621 MB / 0.9669 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.06173/1.722, allocations: 24.7 MB / 1.424 GB, free: 36 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/1.722, allocations: 8.031 kB / 1.424 GB, free: 28 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004322/1.726, allocations: 1.046 MB / 1.425 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01668/1.743, allocations: 3.301 MB / 1.429 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04626/1.789, allocations: 23.16 MB / 1.451 GB, free: 4.824 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000742/1.79, allocations: 0.6724 MB / 1.452 GB, free: 4.16 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004223/1.794, allocations: 0.9351 MB / 1.453 GB, free: 3.23 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04439/1.839, allocations: 17.08 MB / 1.47 GB, free: 1.961 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005027/1.839, allocations: 15.83 kB / 1.47 GB, free: 1.945 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005201/1.844, allocations: 330.5 kB / 1.47 GB, free: 1.629 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005685/1.845, allocations: 363.4 kB / 1.47 GB, free: 1.273 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3542/2.199, allocations: 21.5 MB / 1.491 GB, free: 438.1 MB / 1.029 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1209/2.32, allocations: 84.06 MB / 1.573 GB, free: 380.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01842/2.338, allocations: 13.02 MB / 1.586 GB, free: 372.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01301/2.351, allocations: 10.08 MB / 1.596 GB, free: 362.7 MB / 1.029 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.05827/2.41, allocations: 35.56 MB / 1.631 GB, free: 327.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01389/2.424, allocations: 10.14 MB / 1.64 GB, free: 317.1 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01785/2.442, allocations: 5.838 MB / 1.646 GB, free: 312 MB / 1.029 GB Notification: Performance of pre-optimization done (n=567): time 3.052e-05/2.442, allocations: 0 / 1.646 GB, free: 312 MB / 1.029 GB Notification: Performance of matching and sorting (n=838): time 0.8333/3.275, allocations: 218.2 MB / 1.859 GB, free: 93.42 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1195/3.394, allocations: 56.03 MB / 1.914 GB, free: 36.24 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03129/3.426, allocations: 20.51 MB / 1.934 GB, free: 15.83 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.003596/3.429, allocations: 221.5 kB / 1.934 GB, free: 15.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.007394/3.437, allocations: 7.883 MB / 1.942 GB, free: 7.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.007097/3.444, allocations: 3.146 MB / 1.945 GB, free: 4.645 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01398/3.458, allocations: 3.996 MB / 1.949 GB, free: 0.6289 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 5.353e-05/3.458, allocations: 301.1 kB / 1.949 GB, free: 340 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3521/3.81, allocations: 20.27 MB / 1.969 GB, free: 400.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03458/3.845, allocations: 23.1 MB / 1.992 GB, free: 391.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05667/3.902, allocations: 38.61 MB / 2.029 GB, free: 377 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001144/3.902, allocations: 15.62 kB / 2.029 GB, free: 377 MB / 1.029 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.5672/4.469, allocations: 134.7 MB / 2.161 GB, free: 264.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.137e-05/4.469, allocations: 61.7 kB / 2.161 GB, free: 264.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.415e-05/4.469, allocations: 52 kB / 2.161 GB, free: 264 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5511/5.02, allocations: 118 MB / 2.276 GB, free: 146.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01655/5.037, allocations: 3.556 MB / 2.28 GB, free: 142.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1244/5.161, allocations: 81.91 MB / 2.359 GB, free: 60.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08663/5.248, allocations: 6.451 MB / 2.366 GB, free: 54.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004832/5.253, allocations: 1.314 MB / 2.367 GB, free: 53.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.3304/5.583, allocations: 23.67 MB / 2.39 GB, free: 386.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03225/5.615, allocations: 22.59 MB / 2.412 GB, free: 383.5 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05317/5.668, allocations: 37.58 MB / 2.449 GB, free: 370.2 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.426e-05/5.669, allocations: 19.38 kB / 2.449 GB, free: 370.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.5646/6.233, allocations: 133.1 MB / 2.579 GB, free: 279.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.342e-05/6.233, allocations: 57.69 kB / 2.579 GB, free: 279.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.949e-05/6.233, allocations: 52 kB / 2.579 GB, free: 279.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5497/6.783, allocations: 117.6 MB / 2.694 GB, free: 162.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01557/6.799, allocations: 3.529 MB / 2.697 GB, free: 158.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1317/6.93, allocations: 86.14 MB / 2.781 GB, free: 72.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0863/7.017, allocations: 6.502 MB / 2.788 GB, free: 65.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004435/7.021, allocations: 1.282 MB / 2.789 GB, free: 64.59 MB / 1.029 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.004223/7.026, allocations: 0.7663 MB / 2.79 GB, free: 63.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005409/7.031, allocations: 1.703 MB / 2.791 GB, free: 63.11 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5117/7.543, allocations: 60.78 MB / 2.851 GB, free: 377.8 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2035/7.746, allocations: 67.03 MB / 2.916 GB, free: 365.6 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001622/7.746, allocations: 31.41 kB / 2.916 GB, free: 365.6 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1937/7.94, allocations: 66.37 MB / 2.981 GB, free: 310.3 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2599/8.2, allocations: 130.6 MB / 3.109 GB, free: 180 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.687e-05/8.2, allocations: 0.9844 kB / 3.109 GB, free: 180 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01072/8.211, allocations: 1.981 MB / 3.111 GB, free: 178 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3153/8.526, allocations: 81.4 MB / 3.19 GB, free: 96.82 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003294/8.529, allocations: 0.569 MB / 3.191 GB, free: 96.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09533/8.625, allocations: 58.58 MB / 3.248 GB, free: 37.64 MB / 1.029 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.4441/9.069, allocations: 54.15 MB / 3.301 GB, free: 359.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2304/9.299, allocations: 96.27 MB / 3.395 GB, free: 326.8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01339/9.313, allocations: 6.112 MB / 3.401 GB, free: 321.7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006255/9.319, allocations: 219.9 kB / 3.401 GB, free: 321.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04803/9.367, allocations: 3.321 MB / 3.404 GB, free: 318.6 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004268/9.371, allocations: 0.8655 MB / 3.405 GB, free: 317.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002906/9.374, allocations: 0.6237 MB / 3.406 GB, free: 317.1 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.02125/9.395, allocations: 14.3 MB / 3.42 GB, free: 302.9 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.81e-07/9.396, allocations: 3.938 kB / 3.42 GB, free: 302.9 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.07785/9.473, allocations: 38.73 MB / 3.457 GB, free: 264.3 MB / 1.029 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.2319/9.705, allocations: 97.8 MB / 3.553 GB, free: 167.4 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.1236/9.829, allocations: 77.48 MB / 3.629 GB, free: 89.87 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.238e-06/9.829, allocations: 4 kB / 3.629 GB, free: 89.87 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.05065/9.88, allocations: 25.5 MB / 3.654 GB, free: 64.36 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05201/9.932, allocations: 7.993 MB / 3.661 GB, free: 56.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.046/11.98, allocations: 444.5 MB / 4.095 GB, free: 64.82 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009566/11.99, allocations: 10.45 MB / 4.106 GB, free: 54.33 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.02633/12.01, allocations: 7.999 MB / 4.113 GB, free: 46.57 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01825/12.03, allocations: 10.37 MB / 4.124 GB, free: 36.2 MB / 1.029 GB Notification: Performance of SimCode: time 1.252e-06/12.03, allocations: 1.422 kB / 4.124 GB, free: 36.2 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.601/13.63, allocations: 0.8088 GB / 4.932 GB, free: 69.08 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 90.68/104.3, allocations: 7.406 kB / 4.932 GB, free: 69.08 MB / 1.029 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.4 BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)