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.006062/0.006062, allocations: 100.6 kB / 15.73 MB, free: 6.031 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.001111/0.001111, allocations: 194.5 kB / 16.67 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002286/0.002285, allocations: 287.1 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.94/0.94, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 87.86 kB / 0.6815 GB, free: 15.41 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1711, allocations: 86.98 MB / 0.7665 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 1.068/1.239, allocations: 357.7 MB / 1.116 GB, free: 56.79 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.08537/1.324, allocations: 75.87 MB / 1.19 GB, free: 55.73 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01509/1.339, allocations: 432.2 kB / 1.19 GB, free: 55.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01669/1.356, allocations: 6.441 MB / 1.197 GB, free: 55.6 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.03643/1.393, allocations: 14.09 MB / 1.21 GB, free: 52.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.022/1.415, allocations: 10.18 MB / 1.22 GB, free: 45.91 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.08517/1.5, allocations: 74.21 MB / 1.293 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02781/1.528, allocations: 20.01 MB / 1.312 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03757/1.565, allocations: 17.41 MB / 1.329 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02854/1.594, allocations: 16.38 MB / 1.345 GB, free: 15.49 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.008997/1.603, allocations: 1.957 MB / 1.347 GB, free: 13.53 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02326/1.626, allocations: 6.04 MB / 1.353 GB, free: 7.762 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.01059/1.637, allocations: 6.491 MB / 1.359 GB, free: 1.504 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.02399/1.661, allocations: 11.2 MB / 1.37 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.04985/1.711, allocations: 31.09 MB / 1.401 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/1.711, allocations: 0 / 1.401 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.633e-06/1.711, allocations: 0 / 1.401 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.00117/1.712, allocations: 0 / 1.401 GB, free: 8.492 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.07632/1.788, allocations: 23.91 MB / 1.424 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 7.291e-05/1.788, allocations: 12.03 kB / 1.424 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01942/1.808, allocations: 3.189 MB / 1.427 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0481/1.856, allocations: 20.85 MB / 1.448 GB, free: 8.848 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000778/1.857, allocations: 0.6722 MB / 1.448 GB, free: 8.184 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004992/1.862, allocations: 0.937 MB / 1.449 GB, free: 7.254 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04396/1.906, allocations: 17.08 MB / 1.466 GB, free: 5.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004202/1.906, allocations: 11.94 kB / 1.466 GB, free: 5.969 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004215/1.91, allocations: 325.9 kB / 1.466 GB, free: 5.656 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004231/1.911, allocations: 367.3 kB / 1.466 GB, free: 5.297 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4391/2.35, allocations: 21.5 MB / 1.487 GB, free: 438.3 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.1388/2.489, allocations: 83.28 MB / 1.569 GB, free: 381.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02084/2.51, allocations: 13.04 MB / 1.582 GB, free: 374.4 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01431/2.524, allocations: 10.07 MB / 1.591 GB, free: 367.8 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.06666/2.591, allocations: 35.31 MB / 1.626 GB, free: 332.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01723/2.608, allocations: 10.14 MB / 1.636 GB, free: 322.5 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02026/2.628, allocations: 5.816 MB / 1.641 GB, free: 317.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=567): time 3.062e-05/2.628, allocations: 0 / 1.641 GB, free: 317.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=838): time 0.9061/3.534, allocations: 217.8 MB / 1.854 GB, free: 99.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1283/3.663, allocations: 55.98 MB / 1.909 GB, free: 42.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02576/3.689, allocations: 17.8 MB / 1.926 GB, free: 24.33 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.003567/3.692, allocations: 221.7 kB / 1.926 GB, free: 24.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.006719/3.699, allocations: 7.75 MB / 1.934 GB, free: 16.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.007348/3.706, allocations: 2.997 MB / 1.937 GB, free: 13.4 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01331/3.72, allocations: 3.992 MB / 1.941 GB, free: 9.395 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 3.685e-05/3.72, allocations: 305.2 kB / 1.941 GB, free: 9.094 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4146/4.134, allocations: 20.27 MB / 1.961 GB, free: 400.8 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03803/4.172, allocations: 23.1 MB / 1.983 GB, free: 393.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06223/4.235, allocations: 38.61 MB / 2.021 GB, free: 379.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001708/4.235, allocations: 17.72 kB / 2.021 GB, free: 379.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.6291/4.864, allocations: 134.5 MB / 2.153 GB, free: 273.6 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/4.864, allocations: 56.05 kB / 2.153 GB, free: 273.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001035/4.864, allocations: 57.42 kB / 2.153 GB, free: 273.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.609/5.473, allocations: 118 MB / 2.268 GB, free: 155.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01858/5.492, allocations: 3.553 MB / 2.271 GB, free: 152.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.152/5.644, allocations: 81.89 MB / 2.351 GB, free: 70.4 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09661/5.74, allocations: 6.448 MB / 2.358 GB, free: 63.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006201/5.747, allocations: 1.31 MB / 2.359 GB, free: 62.64 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03728/5.784, allocations: 23.67 MB / 2.382 GB, free: 38.95 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.4168/6.201, allocations: 22.59 MB / 2.404 GB, free: 386.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06454/6.265, allocations: 37.58 MB / 2.441 GB, free: 375.9 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001068/6.266, allocations: 14.94 kB / 2.441 GB, free: 375.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.6175/6.883, allocations: 133 MB / 2.571 GB, free: 289.9 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/6.883, allocations: 53.7 kB / 2.571 GB, free: 289.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000115/6.883, allocations: 52 kB / 2.571 GB, free: 289.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5961/7.48, allocations: 117.6 MB / 2.686 GB, free: 172.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01803/7.498, allocations: 3.529 MB / 2.689 GB, free: 169 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1508/7.648, allocations: 86.12 MB / 2.773 GB, free: 82.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09532/7.744, allocations: 6.486 MB / 2.779 GB, free: 76.24 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005388/7.749, allocations: 1.282 MB / 2.781 GB, free: 74.96 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.005506/7.755, allocations: 0.7663 MB / 2.781 GB, free: 74.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006076/7.761, allocations: 1.61 MB / 2.783 GB, free: 73.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5926/8.353, allocations: 60.77 MB / 2.842 GB, free: 375.7 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.221/8.574, allocations: 67.02 MB / 2.908 GB, free: 366.6 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001239/8.575, allocations: 29.25 kB / 2.908 GB, free: 366.6 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2171/8.792, allocations: 66.37 MB / 2.973 GB, free: 320.9 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2887/9.08, allocations: 130.4 MB / 3.1 GB, free: 190.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.808e-05/9.081, allocations: 0.6094 kB / 3.1 GB, free: 190.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01156/9.092, allocations: 1.977 MB / 3.102 GB, free: 188.9 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3472/9.439, allocations: 81.41 MB / 3.181 GB, free: 107.6 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00445/9.444, allocations: 0.5695 MB / 3.182 GB, free: 107 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1016/9.545, allocations: 58.54 MB / 3.239 GB, free: 48.44 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.5263/10.07, allocations: 54.1 MB / 3.292 GB, free: 362.2 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2615/10.33, allocations: 96.18 MB / 3.386 GB, free: 337.3 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01992/10.35, allocations: 5.946 MB / 3.392 GB, free: 334 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007937/10.36, allocations: 210.9 kB / 3.392 GB, free: 333.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05486/10.42, allocations: 3.316 MB / 3.395 GB, free: 332 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004968/10.42, allocations: 0.8647 MB / 3.396 GB, free: 331.1 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003333/10.42, allocations: 0.6276 MB / 3.397 GB, free: 330.5 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.02394/10.45, allocations: 12.16 MB / 3.409 GB, free: 318.4 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.82e-07/10.45, allocations: 0 / 3.409 GB, free: 318.4 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.08998/10.54, allocations: 38.69 MB / 3.446 GB, free: 279.9 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.006127/10.54, allocations: 1.939 MB / 3.448 GB, free: 278.3 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.1299/10.67, allocations: 77.42 MB / 3.524 GB, free: 201.2 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.918e-06/10.67, allocations: 6.406 kB / 3.524 GB, free: 201.2 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.05494/10.73, allocations: 25.5 MB / 3.549 GB, free: 175.8 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05863/10.79, allocations: 7.99 MB / 3.557 GB, free: 168.3 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08664/10.87, allocations: 53.83 MB / 3.609 GB, free: 114.5 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01537/10.89, allocations: 10.46 MB / 3.619 GB, free: 104 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.02816/10.92, allocations: 7.984 MB / 3.627 GB, free: 96.04 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01208/10.93, allocations: 2.051 MB / 3.629 GB, free: 93.99 MB / 1.029 GB Notification: Performance of SimCode: time 8.51e-07/10.93, allocations: 7.938 kB / 3.629 GB, free: 93.98 MB / 1.029 GB Notification: Performance of Templates: time 1.887/12.82, allocations: 0.6579 GB / 4.287 GB, free: 261.7 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)