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: translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00554/0.00554, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001097/0.001097, allocations: 201.5 kB / 16.68 MB, free: 5.969 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002181/0.002181, allocations: 283.1 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9361/0.9361, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 99.84 kB / 0.6815 GB, free: 15.39 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1572, allocations: 86.97 MB / 0.7665 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 1.08/1.237, allocations: 357.7 MB / 1.116 GB, free: 56.99 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.09443/1.332, allocations: 75.87 MB / 1.19 GB, free: 55.91 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01772/1.35, allocations: 433.6 kB / 1.19 GB, free: 55.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01921/1.369, allocations: 6.432 MB / 1.197 GB, free: 55.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.04731/1.416, allocations: 14.09 MB / 1.21 GB, free: 52.26 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.02367/1.44, allocations: 10.19 MB / 1.22 GB, free: 46.05 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.08265/1.523, allocations: 74.18 MB / 1.293 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02608/1.549, allocations: 20.02 MB / 1.312 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03299/1.582, allocations: 17.03 MB / 1.329 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02854/1.61, allocations: 16.38 MB / 1.345 GB, free: 15.97 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.008594/1.619, allocations: 1.953 MB / 1.347 GB, free: 14.02 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02358/1.643, allocations: 6.048 MB / 1.353 GB, free: 8.242 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0115/1.654, allocations: 6.492 MB / 1.359 GB, free: 1.98 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.02503/1.679, allocations: 11.19 MB / 1.37 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.04875/1.728, allocations: 31.2 MB / 1.4 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.728, allocations: 0 / 1.4 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.413e-06/1.728, allocations: 0 / 1.4 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0009643/1.729, allocations: 0 / 1.4 GB, free: 8.855 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.06662/1.796, allocations: 24.55 MB / 1.424 GB, free: 428 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/1.796, allocations: 8.031 kB / 1.424 GB, free: 420 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0187/1.814, allocations: 3.294 MB / 1.428 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04473/1.859, allocations: 20.99 MB / 1.448 GB, free: 8.418 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007173/1.86, allocations: 0.6757 MB / 1.449 GB, free: 7.75 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005292/1.865, allocations: 0.9421 MB / 1.45 GB, free: 6.816 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04381/1.909, allocations: 17.07 MB / 1.466 GB, free: 5.555 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003888/1.91, allocations: 23.77 kB / 1.466 GB, free: 5.531 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003855/1.913, allocations: 330.2 kB / 1.467 GB, free: 5.215 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004025/1.914, allocations: 367.4 kB / 1.467 GB, free: 4.855 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3988/2.313, allocations: 21.49 MB / 1.488 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.1315/2.444, allocations: 83.38 MB / 1.57 GB, free: 381.4 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02001/2.464, allocations: 13.03 MB / 1.582 GB, free: 374.1 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01335/2.478, allocations: 10.07 MB / 1.592 GB, free: 367.2 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.06509/2.543, allocations: 35.33 MB / 1.627 GB, free: 332 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01802/2.561, allocations: 10.14 MB / 1.636 GB, free: 321.8 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02044/2.581, allocations: 5.829 MB / 1.642 GB, free: 316.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=567): time 3.15e-05/2.581, allocations: 0 / 1.642 GB, free: 316.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=838): time 0.8887/3.47, allocations: 218.1 MB / 1.855 GB, free: 98.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1298/3.6, allocations: 56.04 MB / 1.91 GB, free: 41.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02634/3.626, allocations: 17.81 MB / 1.927 GB, free: 23.33 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.003279/3.63, allocations: 221.7 kB / 1.928 GB, free: 23.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.005946/3.635, allocations: 7.843 MB / 1.935 GB, free: 15.3 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.006526/3.642, allocations: 3.146 MB / 1.938 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007827/3.65, allocations: 4 MB / 1.942 GB, free: 8.172 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 3.154e-05/3.65, allocations: 305.1 kB / 1.942 GB, free: 7.871 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4238/4.074, allocations: 20.27 MB / 1.962 GB, free: 401 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04085/4.115, allocations: 23.1 MB / 1.985 GB, free: 393.4 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06414/4.179, allocations: 38.61 MB / 2.023 GB, free: 379.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001296/4.179, allocations: 15.38 kB / 2.023 GB, free: 379.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.602/4.781, allocations: 134.6 MB / 2.154 GB, free: 272.1 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/4.781, allocations: 53.7 kB / 2.154 GB, free: 272.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001029/4.781, allocations: 59.83 kB / 2.154 GB, free: 272 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5777/5.359, allocations: 118 MB / 2.269 GB, free: 154.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01766/5.377, allocations: 3.557 MB / 2.273 GB, free: 150.9 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1484/5.525, allocations: 81.9 MB / 2.353 GB, free: 68.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09126/5.616, allocations: 6.45 MB / 2.359 GB, free: 62.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006668/5.623, allocations: 1.314 MB / 2.36 GB, free: 61.17 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03786/5.661, allocations: 23.67 MB / 2.383 GB, free: 37.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.3977/6.059, allocations: 22.59 MB / 2.406 GB, free: 387 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06368/6.122, allocations: 37.58 MB / 2.442 GB, free: 375.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001358/6.123, allocations: 12.64 kB / 2.442 GB, free: 375.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.5893/6.712, allocations: 133.1 MB / 2.572 GB, free: 288.1 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001635/6.712, allocations: 57.7 kB / 2.572 GB, free: 288.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001468/6.712, allocations: 53.09 kB / 2.572 GB, free: 288 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5693/7.282, allocations: 117.6 MB / 2.687 GB, free: 170.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01653/7.298, allocations: 3.533 MB / 2.691 GB, free: 167.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1595/7.458, allocations: 86.16 MB / 2.775 GB, free: 81.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09196/7.55, allocations: 6.484 MB / 2.781 GB, free: 74.53 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005854/7.556, allocations: 1.282 MB / 2.782 GB, free: 73.24 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.008496/7.564, allocations: 0.7704 MB / 2.783 GB, free: 72.5 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00813/7.572, allocations: 1.698 MB / 2.785 GB, free: 71.76 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5904/8.163, allocations: 60.77 MB / 2.844 GB, free: 377 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.223/8.386, allocations: 67.04 MB / 2.91 GB, free: 367.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002151/8.386, allocations: 29.59 kB / 2.91 GB, free: 367.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2093/8.595, allocations: 66.37 MB / 2.974 GB, free: 319.1 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2814/8.877, allocations: 130.4 MB / 3.102 GB, free: 189 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.712e-05/8.877, allocations: 0 / 3.102 GB, free: 189 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01141/8.888, allocations: 1.977 MB / 3.104 GB, free: 187 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3216/9.21, allocations: 81.39 MB / 3.183 GB, free: 105.9 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00427/9.214, allocations: 0.5699 MB / 3.184 GB, free: 105.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.106/9.32, allocations: 58.56 MB / 3.241 GB, free: 46.72 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.517/9.837, allocations: 54.16 MB / 3.294 GB, free: 361.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2504/10.09, allocations: 96.27 MB / 3.388 GB, free: 335.6 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01474/10.1, allocations: 6.03 MB / 3.394 GB, free: 331.3 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00729/10.11, allocations: 219.2 kB / 3.394 GB, free: 331.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05203/10.16, allocations: 3.311 MB / 3.397 GB, free: 328.6 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004748/10.17, allocations: 0.8654 MB / 3.398 GB, free: 327.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003226/10.17, allocations: 0.6276 MB / 3.399 GB, free: 327.1 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.02273/10.19, allocations: 12.16 MB / 3.411 GB, free: 315 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.31e-07/10.19, allocations: 0 / 3.411 GB, free: 315 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.08189/10.27, allocations: 38.71 MB / 3.448 GB, free: 276.5 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.007522/10.28, allocations: 1.955 MB / 3.45 GB, free: 275 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.1279/10.41, allocations: 77.47 MB / 3.526 GB, free: 197.9 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/10.41, allocations: 4 kB / 3.526 GB, free: 197.9 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.05407/10.46, allocations: 25.51 MB / 3.551 GB, free: 172.5 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05602/10.52, allocations: 7.992 MB / 3.559 GB, free: 164.9 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08854/10.61, allocations: 54.5 MB / 3.612 GB, free: 110.4 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01764/10.63, allocations: 10.46 MB / 3.622 GB, free: 99.87 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.03244/10.66, allocations: 7.986 MB / 3.63 GB, free: 91.87 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0134/10.67, allocations: 2.062 MB / 3.632 GB, free: 89.8 MB / 1.029 GB Notification: Performance of SimCode: time 9.62e-07/10.67, allocations: 0 / 3.632 GB, free: 89.8 MB / 1.029 GB Notification: Performance of Templates: time 1.936/12.61, allocations: 0.6415 GB / 4.273 GB, free: 279.1 MB / 1.029 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1)