Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 87.58 kB / 20.45 MB, free: 4.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 161 kB / 23.82 MB, free: 0.7539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9563/0.9563, allocations: 177.1 MB / 204.2 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.883/1.883, allocations: 377.8 MB / 0.6236 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8116 GB, free: 1.633 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.486e-05, allocations: 5.125 kB / 0.8116 GB, free: 1.629 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.05731/0.05734, allocations: 76.27 MB / 0.8861 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.05155/0.1089, allocations: 30.63 MB / 0.916 GB, free: 6.488 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01433/0.1232, allocations: 0.6003 MB / 0.9166 GB, free: 5.883 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.01185/0.1351, allocations: 4.228 MB / 0.9207 GB, free: 1.629 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.02478/0.1599, allocations: 10.25 MB / 0.9307 GB, free: 7.32 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.01846/0.1783, allocations: 9.683 MB / 0.9402 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.06823/0.2465, allocations: 66.32 MB / 1.005 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02443/0.271, allocations: 16.81 MB / 1.021 GB, free: 10.16 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04945/0.3204, allocations: 20.87 MB / 1.042 GB, free: 5.344 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.8454/1.166, allocations: 14.85 MB / 1.056 GB, free: 122.8 MB / 0.9949 GB Notification: Performance of NFPackage.collectConstants: time 0.007947/1.174, allocations: 1.751 MB / 1.058 GB, free: 122.8 MB / 0.9949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.012/1.186, allocations: 2.737 MB / 1.061 GB, free: 122.8 MB / 0.9949 GB Notification: Performance of NFScalarize.scalarize: time 0.006279/1.192, allocations: 6.286 MB / 1.067 GB, free: 122.8 MB / 0.9949 GB Notification: Performance of NFVerifyModel.verify: time 0.01475/1.207, allocations: 7.43 MB / 1.074 GB, free: 122.8 MB / 0.9949 GB Notification: Performance of NFConvertDAE.convert: time 0.02969/1.237, allocations: 19.03 MB / 1.093 GB, free: 121.7 MB / 0.9949 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/1.237, allocations: 0 / 1.093 GB, free: 121.7 MB / 0.9949 GB Notification: Performance of FrontEnd: time 2.214e-06/1.237, allocations: 0.5156 kB / 1.093 GB, free: 121.7 MB / 0.9949 GB Notification: Performance of Transformations before backend: time 0.0009453/1.237, allocations: 0 / 1.093 GB, free: 121.7 MB / 0.9949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1949 * Number of variables: 1949 Notification: Performance of Generate backend data structure: time 0.04152/1.279, allocations: 20.77 MB / 1.113 GB, free: 113 MB / 0.9949 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/1.279, allocations: 10.62 kB / 1.113 GB, free: 113 MB / 0.9949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008898/1.288, allocations: 3.625 MB / 1.116 GB, free: 111.8 MB / 0.9949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02805/1.316, allocations: 17.24 MB / 1.133 GB, free: 108.5 MB / 0.9949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004632/1.316, allocations: 0.6378 MB / 1.134 GB, free: 108.5 MB / 0.9949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002371/1.319, allocations: 0.8918 MB / 1.135 GB, free: 108.5 MB / 0.9949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01733/1.336, allocations: 11.39 MB / 1.146 GB, free: 106.3 MB / 0.9949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001482/1.336, allocations: 22.44 kB / 1.146 GB, free: 106.3 MB / 0.9949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001036/1.337, allocations: 322.5 kB / 1.146 GB, free: 106.3 MB / 0.9949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001593/1.337, allocations: 202.5 kB / 1.146 GB, free: 106.3 MB / 0.9949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01306/1.351, allocations: 7.574 MB / 1.154 GB, free: 106.2 MB / 0.9949 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.07149/1.422, allocations: 54.38 MB / 1.207 GB, free: 72.23 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009587/1.432, allocations: 6.283 MB / 1.213 GB, free: 70.14 MB / 0.9949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006599/1.438, allocations: 4.601 MB / 1.218 GB, free: 67.48 MB / 0.9949 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.03216/1.47, allocations: 21.52 MB / 1.239 GB, free: 46.03 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005285/1.476, allocations: 5.997 MB / 1.244 GB, free: 39.79 MB / 0.9949 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0153/1.491, allocations: 8.035 MB / 1.252 GB, free: 31.96 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=503): time 2.793e-05/1.491, allocations: 0 / 1.252 GB, free: 31.96 MB / 0.9949 GB Notification: Performance of matching and sorting (n=742): time 0.3906/1.882, allocations: 141.9 MB / 1.391 GB, free: 1.758 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05242/1.934, allocations: 30.79 MB / 1.421 GB, free: 2.113 MB / 1.136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0215/1.955, allocations: 13.95 MB / 1.435 GB, free: 4.246 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.004638/1.96, allocations: 197.7 kB / 1.435 GB, free: 4.047 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.006618/1.967, allocations: 8.586 MB / 1.443 GB, free: 11.46 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.006881/1.974, allocations: 2.801 MB / 1.446 GB, free: 8.691 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005832/1.979, allocations: 3.124 MB / 1.449 GB, free: 5.551 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001158/1.98, allocations: 480.8 kB / 1.449 GB, free: 5.078 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008249/1.988, allocations: 4.247 MB / 1.454 GB, free: 0.8008 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0108/1.999, allocations: 9.888 MB / 1.463 GB, free: 5.047 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01992/2.019, allocations: 12.57 MB / 1.475 GB, free: 7.672 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.183e-05/2.019, allocations: 12 kB / 1.475 GB, free: 7.66 MB / 1.198 GB Notification: Performance of matching and sorting (n=1227) (initialization): time 0.7531/2.772, allocations: 68.67 MB / 1.543 GB, free: 317.1 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 6.963e-05/2.772, allocations: 55.47 kB / 1.543 GB, free: 317.1 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.495e-05/2.772, allocations: 50.44 kB / 1.543 GB, free: 317.1 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.347/3.119, allocations: 143.4 MB / 1.683 GB, free: 216.9 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01256/3.131, allocations: 5.769 MB / 1.688 GB, free: 211.3 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06089/3.192, allocations: 34.4 MB / 1.722 GB, free: 181.5 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05663/3.249, allocations: 34.87 MB / 1.756 GB, free: 146.7 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004512/3.253, allocations: 1.256 MB / 1.757 GB, free: 145.5 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01235/3.266, allocations: 4.411 MB / 1.762 GB, free: 141.6 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008175/3.274, allocations: 9.781 MB / 1.771 GB, free: 130.6 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01443/3.288, allocations: 11.95 MB / 1.783 GB, free: 119.7 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.581e-05/3.288, allocations: 12 kB / 1.783 GB, free: 119.7 MB / 1.198 GB Notification: Performance of matching and sorting (n=1227) (initialization_lambda0): time 0.228/3.516, allocations: 67.98 MB / 1.849 GB, free: 55.34 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 8.836e-05/3.516, allocations: 59.2 kB / 1.849 GB, free: 55.28 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.495e-05/3.517, allocations: 53.53 kB / 1.849 GB, free: 55.23 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8505/4.367, allocations: 142.7 MB / 1.989 GB, free: 326.7 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01452/4.382, allocations: 5.764 MB / 1.994 GB, free: 326.1 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07223/4.454, allocations: 34.74 MB / 2.028 GB, free: 320 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0561/4.51, allocations: 34.9 MB / 2.062 GB, free: 305.6 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004546/4.514, allocations: 1.224 MB / 2.063 GB, free: 304.4 MB / 1.229 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 233 * 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 (907): * Single equations (assignments): 891 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * 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.004062/4.518, allocations: 0.7664 MB / 2.064 GB, free: 304 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006001/4.524, allocations: 1.831 MB / 2.066 GB, free: 303.2 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09849/4.623, allocations: 40.42 MB / 2.105 GB, free: 266.7 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1026/4.726, allocations: 39.44 MB / 2.144 GB, free: 229.9 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.794e-05/4.726, allocations: 35.98 kB / 2.144 GB, free: 229.8 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1012/4.827, allocations: 38.75 MB / 2.182 GB, free: 193.6 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1616/4.988, allocations: 75.85 MB / 2.256 GB, free: 119.2 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-05/4.989, allocations: 7.984 kB / 2.256 GB, free: 119.2 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0097/4.998, allocations: 4.612 MB / 2.26 GB, free: 114.6 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.224/5.222, allocations: 109.7 MB / 2.368 GB, free: 5.453 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003787/5.226, allocations: 0.5299 MB / 2.368 GB, free: 4.922 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5576/5.784, allocations: 35.02 MB / 2.402 GB, free: 334.6 MB / 1.229 GB 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 + 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 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 3 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow ; valHea.m_flow ; valCoo.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 ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; -bou.ports[1].m_flow ] might be structurally or numerically singular for variable valCoo.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. 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 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 3 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; spl1.res1.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 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable spl1.res1.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.04163/5.825, allocations: 33.49 MB / 2.435 GB, free: 318.1 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1198/5.945, allocations: 48.07 MB / 2.482 GB, free: 315.5 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01485/5.96, allocations: 4.751 MB / 2.487 GB, free: 315.5 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005519/5.965, allocations: 162.5 kB / 2.487 GB, free: 315.5 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03626/6.002, allocations: 18.7 MB / 2.505 GB, free: 310.9 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004102/6.006, allocations: 0.8499 MB / 2.506 GB, free: 310.3 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001963/6.008, allocations: 0.6174 MB / 2.506 GB, free: 310 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.01402/6.022, allocations: 7.561 MB / 2.514 GB, free: 306.2 MB / 1.229 GB Notification: Performance of sort global known variables: time 2.1e-07/6.022, allocations: 0.7656 kB / 2.514 GB, free: 306.2 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.06088/6.083, allocations: 20.89 MB / 2.534 GB, free: 285.8 MB / 1.229 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 42 ($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,pmpNorth.vol.dynBal.U,valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,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 (556): * Single equations (assignments): 535 * 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,166)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004276/6.087, allocations: 0.6245 MB / 2.535 GB, free: 285.5 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.05242/6.139, allocations: 28.95 MB / 2.563 GB, free: 259.1 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/6.139, allocations: 0 / 2.563 GB, free: 259.1 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.03277/6.172, allocations: 22.02 MB / 2.585 GB, free: 237.2 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03814/6.21, allocations: 10.23 MB / 2.595 GB, free: 227.3 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05243/6.263, allocations: 36.66 MB / 2.63 GB, free: 190.5 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003705/6.266, allocations: 4.107 MB / 2.634 GB, free: 186.3 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.02173/6.288, allocations: 4.222 MB / 2.639 GB, free: 182.1 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007834/6.296, allocations: 2.062 MB / 2.641 GB, free: 180 MB / 1.229 GB Notification: Performance of SimCode: time 2.084e-06/6.296, allocations: 0 / 2.641 GB, free: 180 MB / 1.229 GB Notification: Performance of Templates: time 1.504/7.8, allocations: 0.6265 GB / 3.267 GB, free: 368.6 MB / 1.261 GB " [Timeout remaining time 292] make -j1 -f Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 22.477724018972367]