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.001537/0.001537, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.287/1.287, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002119/0.002119, allocations: 282.9 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.895/0.895, allocations: 169.3 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001694, allocations: 99.81 kB / 0.5952 GB, free: 27.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1525, allocations: 86.99 MB / 0.6802 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 0.6111/0.7636, allocations: 357.7 MB / 1.03 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.4894/1.253, allocations: 75.84 MB / 1.104 GB, free: 35.23 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0167/1.27, allocations: 432.5 kB / 1.104 GB, free: 35.23 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.03757/1.307, allocations: 23.48 MB / 1.127 GB, free: 34.82 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.03752/1.345, allocations: 14.04 MB / 1.141 GB, free: 34.25 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0217/1.367, allocations: 10.04 MB / 1.15 GB, free: 32.95 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.07507/1.442, allocations: 66.66 MB / 1.216 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0314/1.473, allocations: 19.99 MB / 1.235 GB, free: 5.012 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03407/1.507, allocations: 16.92 MB / 1.252 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02738/1.535, allocations: 16.33 MB / 1.268 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.007516/1.542, allocations: 1.953 MB / 1.269 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02044/1.563, allocations: 6.618 MB / 1.276 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.009718/1.572, allocations: 6.482 MB / 1.282 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.02032/1.593, allocations: 11.19 MB / 1.293 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.04179/1.635, allocations: 31.28 MB / 1.324 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/1.635, allocations: 0 / 1.324 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.743e-06/1.635, allocations: 0 / 1.324 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0009513/1.635, allocations: 0 / 1.324 GB, free: 14.19 MB / 0.8887 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.06358/1.699, allocations: 23.94 MB / 1.347 GB, free: 6.293 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/1.699, allocations: 8.031 kB / 1.347 GB, free: 6.285 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01657/1.716, allocations: 3.193 MB / 1.35 GB, free: 3.066 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0406/1.756, allocations: 19.69 MB / 1.369 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007958/1.757, allocations: 0.6936 MB / 1.37 GB, free: 15 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00419/1.761, allocations: 0.9415 MB / 1.371 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03583/1.797, allocations: 17.07 MB / 1.388 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002646/1.797, allocations: 19.78 kB / 1.388 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002634/1.8, allocations: 325.4 kB / 1.388 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003607/1.801, allocations: 375.3 kB / 1.388 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04235/1.843, allocations: 21.52 MB / 1.409 GB, free: 6.562 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4836/2.327, allocations: 83.65 MB / 1.491 GB, free: 408.5 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01975/2.346, allocations: 13.04 MB / 1.504 GB, free: 401.2 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01313/2.359, allocations: 10.03 MB / 1.514 GB, free: 395.6 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.06216/2.422, allocations: 35.38 MB / 1.548 GB, free: 365.7 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01638/2.438, allocations: 10.16 MB / 1.558 GB, free: 355.5 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01968/2.458, allocations: 5.825 MB / 1.564 GB, free: 350.4 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=567): time 3.502e-05/2.458, allocations: 0 / 1.564 GB, free: 350.4 MB / 0.9669 GB Notification: Performance of matching and sorting (n=838): time 0.9041/3.362, allocations: 217.9 MB / 1.777 GB, free: 132.4 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1338/3.496, allocations: 56.07 MB / 1.831 GB, free: 75.19 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03063/3.526, allocations: 17.41 MB / 1.848 GB, free: 57.88 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.003966/3.53, allocations: 221.7 kB / 1.849 GB, free: 57.65 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.008057/3.539, allocations: 7.751 MB / 1.856 GB, free: 49.93 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.007596/3.546, allocations: 3.008 MB / 1.859 GB, free: 46.94 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01456/3.561, allocations: 4.074 MB / 1.863 GB, free: 42.86 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 3.509e-05/3.561, allocations: 305.1 kB / 1.863 GB, free: 42.55 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02807/3.589, allocations: 20.61 MB / 1.883 GB, free: 21.92 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3285/3.917, allocations: 23.47 MB / 1.906 GB, free: 415.5 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06206/3.979, allocations: 39.28 MB / 1.945 GB, free: 406.5 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001541/3.98, allocations: 23.25 kB / 1.945 GB, free: 406.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1667) (initialization): time 0.6161/4.596, allocations: 135.3 MB / 2.077 GB, free: 315.1 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/4.596, allocations: 55.11 kB / 2.077 GB, free: 315 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.634e-05/4.596, allocations: 59.84 kB / 2.077 GB, free: 315 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5967/5.193, allocations: 118 MB / 2.192 GB, free: 197.3 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01869/5.211, allocations: 3.588 MB / 2.196 GB, free: 193.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1429/5.354, allocations: 81.92 MB / 2.276 GB, free: 111.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09438/5.449, allocations: 6.463 MB / 2.282 GB, free: 105.3 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006146/5.455, allocations: 1.345 MB / 2.283 GB, free: 103.9 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0366/5.492, allocations: 24 MB / 2.307 GB, free: 79.9 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03045/5.522, allocations: 22.96 MB / 2.329 GB, free: 55.89 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4181/5.94, allocations: 38.26 MB / 2.367 GB, free: 400.1 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.086e-05/5.94, allocations: 16.16 kB / 2.367 GB, free: 400.1 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1667) (initialization_lambda0): time 0.6149/6.555, allocations: 133.7 MB / 2.497 GB, free: 336.3 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/6.555, allocations: 54.7 kB / 2.497 GB, free: 336.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001053/6.556, allocations: 52 kB / 2.497 GB, free: 336.2 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5902/7.146, allocations: 117.7 MB / 2.612 GB, free: 218.9 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01667/7.162, allocations: 3.576 MB / 2.616 GB, free: 215.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1429/7.305, allocations: 86.16 MB / 2.7 GB, free: 129 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1/7.405, allocations: 6.504 MB / 2.706 GB, free: 122.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007654/7.413, allocations: 1.31 MB / 2.708 GB, free: 121.2 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1203): * Single equations (assignments): 1175 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.008576/7.422, allocations: 0.7819 MB / 2.708 GB, free: 120.4 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007977/7.43, allocations: 1.608 MB / 2.71 GB, free: 119.7 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.208/7.638, allocations: 60.78 MB / 2.769 GB, free: 58.99 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.547/8.185, allocations: 67.06 MB / 2.835 GB, free: 386.1 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001249/8.185, allocations: 30.44 kB / 2.835 GB, free: 386.1 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2047/8.39, allocations: 66.38 MB / 2.9 GB, free: 369 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2905/8.68, allocations: 130.5 MB / 3.027 GB, free: 246.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8e-05/8.68, allocations: 0 / 3.027 GB, free: 246.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01097/8.691, allocations: 1.985 MB / 3.029 GB, free: 244.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3209/9.012, allocations: 81.55 MB / 3.109 GB, free: 163.2 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00345/9.016, allocations: 0.5729 MB / 3.109 GB, free: 162.6 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09834/9.114, allocations: 58.56 MB / 3.166 GB, free: 104 MB / 0.9669 GB Warning: The linear system: 1 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-valHea.m_flow) - bou.ports[1].m_flow 3 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 [ -1.0 , 0.0 , -1.0 ; 0.0 , -1.0 , 1.0 ; 1.0 , 1.0 , 0.0 ] * [ valCoo.m_flow ; spl1.res1.m_flow ; valHea.m_flow ] = [ (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; -bou.ports[1].m_flow ; tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ] might be structurally or numerically singular for variable valHea.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-valHea.m_flow) - bou.ports[1].m_flow 3 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow ; valHea.m_flow ; spl1.res1.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ] might be structurally or numerically singular for variable spl1.res1.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 3 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1062/9.22, allocations: 54.18 MB / 3.219 GB, free: 48.75 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5856/9.806, allocations: 96.18 MB / 3.313 GB, free: 378.9 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01477/9.821, allocations: 5.947 MB / 3.319 GB, free: 377.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007128/9.828, allocations: 214.1 kB / 3.319 GB, free: 377.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05311/9.881, allocations: 3.311 MB / 3.322 GB, free: 377.1 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005041/9.886, allocations: 0.861 MB / 3.323 GB, free: 377 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002746/9.889, allocations: 0.6275 MB / 3.324 GB, free: 376.9 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.02137/9.91, allocations: 11.83 MB / 3.335 GB, free: 373 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.41e-07/9.91, allocations: 3.828 kB / 3.335 GB, free: 373 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.08423/9.994, allocations: 38.85 MB / 3.373 GB, free: 349.1 MB / 0.9669 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.005717/10, allocations: 2.061 MB / 3.375 GB, free: 347.7 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.1859/10.19, allocations: 102.6 MB / 3.476 GB, free: 250.1 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/10.19, allocations: 0 / 3.476 GB, free: 250.1 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.05441/10.24, allocations: 25.52 MB / 3.5 GB, free: 225 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05492/10.3, allocations: 7.894 MB / 3.508 GB, free: 217.8 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08209/10.38, allocations: 54.51 MB / 3.561 GB, free: 163.4 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01461/10.39, allocations: 10.46 MB / 3.572 GB, free: 152.9 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.03106/10.42, allocations: 7.938 MB / 3.579 GB, free: 144.9 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01116/10.43, allocations: 2.051 MB / 3.581 GB, free: 142.9 MB / 0.9669 GB Notification: Performance of SimCode: time 7.62e-07/10.43, allocations: 0 / 3.581 GB, free: 142.9 MB / 0.9669 GB Notification: Performance of Templates: time 1.67/12.1, allocations: 0.6463 GB / 4.228 GB, free: 338.4 MB / 0.9669 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)