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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002372/0.002372, allocations: 280.4 kB / 303.6 MB, free: 3.766 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.023/1.023, allocations: 180.9 MB / 0.5268 GB, free: 2.719 MB / 382.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002718/0.002718, allocations: 111.8 kB / 0.726 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5696/0.5723, allocations: 94.16 MB / 0.8179 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3): time 0.8753/1.448, allocations: 360.4 MB / 1.17 GB, free: 59.67 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.09607/1.544, allocations: 76.03 MB / 1.244 GB, free: 58.55 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01794/1.562, allocations: 432 kB / 1.245 GB, free: 58.55 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.01864/1.58, allocations: 6.623 MB / 1.251 GB, free: 58.43 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.04101/1.621, allocations: 14.76 MB / 1.265 GB, free: 55.48 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.02384/1.645, allocations: 10.2 MB / 1.275 GB, free: 49.27 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.09024/1.735, allocations: 74.44 MB / 1.348 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03056/1.766, allocations: 17.39 MB / 1.365 GB, free: 3.051 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03965/1.806, allocations: 17.49 MB / 1.382 GB, free: 2.52 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03366/1.839, allocations: 17.21 MB / 1.399 GB, free: 2.477 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.009257/1.848, allocations: 1.969 MB / 1.401 GB, free: 0.5078 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0247/1.873, allocations: 6.16 MB / 1.407 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.01261/1.886, allocations: 6.661 MB / 1.413 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.02471/1.91, allocations: 11.22 MB / 1.424 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.05728/1.968, allocations: 31.31 MB / 1.455 GB, free: 11 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/1.968, allocations: 0 / 1.455 GB, free: 11 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.292e-06/1.968, allocations: 0 / 1.455 GB, free: 11 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.001063/1.969, allocations: 7.938 kB / 1.455 GB, free: 10.99 MB / 0.9981 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.0674/2.036, allocations: 22.2 MB / 1.477 GB, free: 4.859 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/2.036, allocations: 8.031 kB / 1.477 GB, free: 4.852 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01871/2.055, allocations: 3.294 MB / 1.48 GB, free: 1.543 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05009/2.105, allocations: 21.03 MB / 1.5 GB, free: 12.82 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009367/2.106, allocations: 0.6692 MB / 1.501 GB, free: 12.16 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005517/2.112, allocations: 0.9385 MB / 1.502 GB, free: 11.23 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04306/2.155, allocations: 17.21 MB / 1.519 GB, free: 9.816 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002833/2.155, allocations: 19.83 kB / 1.519 GB, free: 9.797 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00321/2.158, allocations: 330.6 kB / 1.519 GB, free: 9.48 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004315/2.159, allocations: 375.3 kB / 1.519 GB, free: 9.113 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04408/2.203, allocations: 21.87 MB / 1.541 GB, free: 3.238 MB / 1.076 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.9123/3.115, allocations: 81.66 MB / 1.621 GB, free: 405 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02164/3.137, allocations: 11.85 MB / 1.632 GB, free: 398.5 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01515/3.152, allocations: 8.955 MB / 1.641 GB, free: 393.7 MB / 1.076 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.06874/3.22, allocations: 34.05 MB / 1.674 GB, free: 369.3 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01717/3.238, allocations: 10.27 MB / 1.684 GB, free: 359.2 MB / 1.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02803/3.266, allocations: 8.257 MB / 1.692 GB, free: 352 MB / 1.076 GB Notification: Performance of pre-optimization done (n=567): time 3.55e-05/3.266, allocations: 4 kB / 1.692 GB, free: 352 MB / 1.076 GB Notification: Performance of matching and sorting (n=838): time 0.8784/4.144, allocations: 217.6 MB / 1.905 GB, free: 134.6 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.13/4.274, allocations: 55.93 MB / 1.959 GB, free: 77.61 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03039/4.305, allocations: 17.8 MB / 1.977 GB, free: 60 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.003908/4.308, allocations: 221.7 kB / 1.977 GB, free: 59.78 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.007915/4.316, allocations: 7.84 MB / 1.985 GB, free: 52.4 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.007777/4.324, allocations: 3.148 MB / 1.988 GB, free: 49.69 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01417/4.338, allocations: 4 MB / 1.992 GB, free: 45.68 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.622e-05/4.338, allocations: 301.1 kB / 1.992 GB, free: 45.38 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02685/4.365, allocations: 20.27 MB / 2.012 GB, free: 25.09 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03058/4.396, allocations: 23.1 MB / 2.034 GB, free: 0.9492 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.9034/5.299, allocations: 38.6 MB / 2.072 GB, free: 408.6 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.03e-05/5.299, allocations: 15.34 kB / 2.072 GB, free: 408.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.5838/5.883, allocations: 134.2 MB / 2.203 GB, free: 321 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.235e-05/5.883, allocations: 53.7 kB / 2.203 GB, free: 320.9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.959e-05/5.883, allocations: 52 kB / 2.203 GB, free: 320.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5615/6.445, allocations: 118 MB / 2.318 GB, free: 203.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01772/6.462, allocations: 3.553 MB / 2.322 GB, free: 199.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1339/6.596, allocations: 81.92 MB / 2.402 GB, free: 117.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09299/6.689, allocations: 6.448 MB / 2.408 GB, free: 111.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006249/6.696, allocations: 1.314 MB / 2.409 GB, free: 110 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03784/6.733, allocations: 23.66 MB / 2.432 GB, free: 86.32 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02935/6.763, allocations: 22.59 MB / 2.455 GB, free: 62.7 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5715/7.334, allocations: 37.57 MB / 2.491 GB, free: 397 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.269e-05/7.334, allocations: 15.59 kB / 2.491 GB, free: 397 MB / 1.076 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 0.6059/7.94, allocations: 132.6 MB / 2.621 GB, free: 347.1 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 7.532e-05/7.94, allocations: 61.69 kB / 2.621 GB, free: 347 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.101e-05/7.94, allocations: 52 kB / 2.621 GB, free: 347 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5622/8.503, allocations: 117.6 MB / 2.736 GB, free: 229.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01657/8.519, allocations: 3.531 MB / 2.739 GB, free: 226.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1414/8.661, allocations: 86.16 MB / 2.823 GB, free: 140 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0923/8.753, allocations: 6.489 MB / 2.83 GB, free: 133.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006123/8.759, allocations: 1.282 MB / 2.831 GB, free: 132.2 MB / 1.076 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.008182/8.767, allocations: 0.762 MB / 2.832 GB, free: 131.5 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008496/8.776, allocations: 1.7 MB / 2.833 GB, free: 130.7 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2124/8.988, allocations: 60.26 MB / 2.892 GB, free: 70.75 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.7049/9.693, allocations: 66.08 MB / 2.957 GB, free: 383.4 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002331/9.693, allocations: 32.12 kB / 2.957 GB, free: 383.4 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2156/9.909, allocations: 65.4 MB / 3.021 GB, free: 372.9 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2866/10.2, allocations: 129.5 MB / 3.147 GB, free: 263.4 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.872e-05/10.2, allocations: 4 kB / 3.147 GB, free: 263.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01102/10.21, allocations: 1.973 MB / 3.149 GB, free: 261.4 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3246/10.53, allocations: 81.41 MB / 3.228 GB, free: 180.5 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003868/10.53, allocations: 0.569 MB / 3.229 GB, free: 179.9 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09966/10.63, allocations: 58.57 MB / 3.286 GB, free: 121.3 MB / 1.076 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.1061/10.74, allocations: 54.13 MB / 3.339 GB, free: 66.23 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7287/11.47, allocations: 95.32 MB / 3.432 GB, free: 379 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01669/11.49, allocations: 6.027 MB / 3.438 GB, free: 377.4 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008435/11.49, allocations: 211.3 kB / 3.438 GB, free: 377.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0532/11.55, allocations: 3.324 MB / 3.441 GB, free: 377.1 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005457/11.55, allocations: 0.857 MB / 3.442 GB, free: 377.1 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003814/11.56, allocations: 0.6353 MB / 3.443 GB, free: 377 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.02438/11.58, allocations: 12.15 MB / 3.455 GB, free: 373 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.31e-07/11.58, allocations: 3.75 kB / 3.455 GB, free: 373 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0939/11.68, allocations: 38.7 MB / 3.493 GB, free: 362.7 MB / 1.076 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.006797/11.68, allocations: 1.955 MB / 3.495 GB, free: 361.4 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.125/11.81, allocations: 73.98 MB / 3.567 GB, free: 298.8 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/11.81, allocations: 7.125 kB / 3.567 GB, free: 298.8 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0507/11.86, allocations: 23.17 MB / 3.589 GB, free: 276.1 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05311/11.91, allocations: 7.981 MB / 3.597 GB, free: 269 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0831/11.99, allocations: 55.01 MB / 3.651 GB, free: 214 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0142/12.01, allocations: 10.36 MB / 3.661 GB, free: 203.6 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0122/12.02, allocations: 2.113 MB / 3.663 GB, free: 201.5 MB / 1.076 GB Notification: Performance of SimCode: time 1.734e-06/12.02, allocations: 4 kB / 3.663 GB, free: 201.5 MB / 1.076 GB Notification: Performance of Templates: time 2.57/14.59, allocations: 1.354 GB / 5.017 GB, free: 83.06 MB / 1.076 GB " [Timeout remaining time 645] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.makefile [Timeout 660] (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) [Timeout 480] [Calling os._exit(0), Time elapsed: 86.82736132713035] Failed to read output from testmodel.py, exit status != 0: 14.601128660142422 14.608906193 12.63866116 Calling exit ...