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.001725/0.001725, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002324/0.002324, allocations: 209.5 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.594/1.594, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.308/3.308, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 78.17 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3961, allocations: 176.1 MB / 1.326 GB, free: 1.742 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.365/1.761, allocations: 329 MB / 1.647 GB, free: 58.84 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.119/1.88, allocations: 70.66 MB / 1.716 GB, free: 56.04 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0229/1.903, allocations: 0.5984 MB / 1.716 GB, free: 56.04 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.02338/1.926, allocations: 6.394 MB / 1.723 GB, free: 54.8 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.0478/1.974, allocations: 14.95 MB / 1.737 GB, free: 49.62 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02552/2, allocations: 10.46 MB / 1.748 GB, free: 44.48 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.0638/2.063, allocations: 55.99 MB / 1.802 GB, free: 8.781 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02467/2.088, allocations: 15.37 MB / 1.817 GB, free: 10.03 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04946/2.138, allocations: 18.38 MB / 1.835 GB, free: 8.609 MB / 1.326 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03598/2.174, allocations: 15.95 MB / 1.851 GB, free: 9.727 MB / 1.342 GB Notification: Performance of NFPackage.collectConstants: time 0.009801/2.183, allocations: 1.75 MB / 1.852 GB, free: 7.977 MB / 1.342 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02414/2.208, allocations: 5.131 MB / 1.857 GB, free: 3.059 MB / 1.342 GB Notification: Performance of NFScalarize.scalarize: time 0.01255/2.22, allocations: 6.091 MB / 1.863 GB, free: 13.19 MB / 1.357 GB Notification: Performance of NFVerifyModel.verify: time 0.02384/2.244, allocations: 8.716 MB / 1.872 GB, free: 4.676 MB / 1.357 GB Notification: Performance of NFConvertDAE.convert: time 0.05728/2.301, allocations: 29.48 MB / 1.901 GB, free: 8.336 MB / 1.389 GB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/2.301, allocations: 0 / 1.901 GB, free: 8.336 MB / 1.389 GB Notification: Performance of FrontEnd: time 2.856e-06/2.301, allocations: 0 / 1.901 GB, free: 8.336 MB / 1.389 GB Notification: Performance of Transformations before backend: time 0.0009601/2.302, allocations: 4 kB / 1.901 GB, free: 8.332 MB / 1.389 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.06408/2.366, allocations: 20.63 MB / 1.921 GB, free: 3.758 MB / 1.404 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/2.366, allocations: 19.97 kB / 1.921 GB, free: 3.738 MB / 1.404 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01842/2.385, allocations: 3.212 MB / 1.924 GB, free: 0.5117 MB / 1.404 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04766/2.432, allocations: 19.28 MB / 1.943 GB, free: 13.5 MB / 1.436 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000808/2.433, allocations: 0.642 MB / 1.943 GB, free: 12.86 MB / 1.436 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004802/2.438, allocations: 0.8849 MB / 1.944 GB, free: 11.98 MB / 1.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04685/2.485, allocations: 18.06 MB / 1.962 GB, free: 9.469 MB / 1.451 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003541/2.485, allocations: 23.83 kB / 1.962 GB, free: 9.445 MB / 1.451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003348/2.489, allocations: 318.7 kB / 1.962 GB, free: 9.137 MB / 1.451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002498/2.489, allocations: 200 kB / 1.962 GB, free: 8.941 MB / 1.451 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04742/2.536, allocations: 21.38 MB / 1.983 GB, free: 3.547 MB / 1.467 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.1735/2.71, allocations: 61.03 MB / 2.043 GB, free: 6.742 MB / 1.529 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03279/2.742, allocations: 12.31 MB / 2.055 GB, free: 10.72 MB / 1.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02142/2.764, allocations: 9.19 MB / 2.064 GB, free: 1.516 MB / 1.545 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.08466/2.849, allocations: 28.83 MB / 2.092 GB, free: 4.742 MB / 1.576 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02441/2.873, allocations: 11.45 MB / 2.103 GB, free: 9.043 MB / 1.592 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03242/2.905, allocations: 8.219 MB / 2.111 GB, free: 0.9961 MB / 1.592 GB Notification: Performance of pre-optimization done (n=503): time 4.1e-05/2.905, allocations: 0 / 2.111 GB, free: 0.9961 MB / 1.592 GB Notification: Performance of matching and sorting (n=742): time 2.419/5.325, allocations: 218 MB / 2.324 GB, free: 0.6422 GB / 1.748 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1137/5.438, allocations: 47.47 MB / 2.371 GB, free: 0.6107 GB / 1.748 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02521/5.464, allocations: 16.69 MB / 2.387 GB, free: 0.5947 GB / 1.748 GB Notification: Performance of collectPreVariables (initialization): time 0.003576/5.467, allocations: 201.7 kB / 2.387 GB, free: 0.5945 GB / 1.748 GB Notification: Performance of collectInitialEqns (initialization): time 0.007416/5.475, allocations: 7.626 MB / 2.394 GB, free: 0.5886 GB / 1.748 GB Notification: Performance of collectInitialBindings (initialization): time 0.007991/5.483, allocations: 2.755 MB / 2.397 GB, free: 0.5873 GB / 1.748 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01458/5.497, allocations: 3.777 MB / 2.401 GB, free: 0.5836 GB / 1.748 GB Notification: Performance of setup shared object (initialization): time 4.865e-05/5.497, allocations: 305.2 kB / 2.401 GB, free: 0.5833 GB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02858/5.526, allocations: 19.49 MB / 2.42 GB, free: 0.5643 GB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0313/5.557, allocations: 24.42 MB / 2.444 GB, free: 0.5389 GB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05913/5.616, allocations: 37.37 MB / 2.481 GB, free: 0.5017 GB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001751/5.616, allocations: 12 kB / 2.481 GB, free: 0.5016 GB / 1.748 GB Notification: Performance of matching and sorting (n=1491) (initialization): time 0.6279/6.244, allocations: 132.3 MB / 2.61 GB, free: 381.5 MB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001005/6.244, allocations: 57.69 kB / 2.61 GB, free: 381.4 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-05/6.245, allocations: 52 kB / 2.61 GB, free: 381.4 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6118/6.856, allocations: 117.8 MB / 2.725 GB, free: 263.9 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01718/6.874, allocations: 3.174 MB / 2.728 GB, free: 260.7 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.146/7.019, allocations: 80.91 MB / 2.807 GB, free: 179.5 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09703/7.117, allocations: 6.565 MB / 2.813 GB, free: 173 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007433/7.124, allocations: 1.294 MB / 2.815 GB, free: 171.7 MB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04174/7.166, allocations: 22.58 MB / 2.837 GB, free: 149.1 MB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03273/7.198, allocations: 23.9 MB / 2.86 GB, free: 123.6 MB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05756/7.256, allocations: 36.32 MB / 2.896 GB, free: 86.52 MB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001084/7.256, allocations: 16 kB / 2.896 GB, free: 86.5 MB / 1.748 GB Notification: Performance of matching and sorting (n=1491) (initialization_lambda0): time 1.972/9.228, allocations: 130.7 MB / 3.023 GB, free: 0.6233 GB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 9.198e-05/9.228, allocations: 57.94 kB / 3.023 GB, free: 0.6233 GB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001007/9.228, allocations: 53.25 kB / 3.023 GB, free: 0.6233 GB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5967/9.825, allocations: 117.5 MB / 3.138 GB, free: 0.5444 GB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01601/9.841, allocations: 3.158 MB / 3.141 GB, free: 0.5414 GB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1731/10.01, allocations: 84.12 MB / 3.223 GB, free: 470.5 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1005/10.11, allocations: 6.61 MB / 3.23 GB, free: 463.9 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007832/10.12, allocations: 1.267 MB / 3.231 GB, free: 462.6 MB / 1.748 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 (1043): * Single equations (assignments): 1023 * 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.01137/10.13, allocations: 0.7186 MB / 3.232 GB, free: 461.9 MB / 1.748 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01062/10.14, allocations: 1.596 MB / 3.233 GB, free: 461.2 MB / 1.748 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2481/10.39, allocations: 59.97 MB / 3.292 GB, free: 401.6 MB / 1.748 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2321/10.62, allocations: 63.66 MB / 3.354 GB, free: 338.1 MB / 1.748 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002123/10.62, allocations: 32 kB / 3.354 GB, free: 338 MB / 1.748 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2175/10.84, allocations: 63.01 MB / 3.416 GB, free: 275.2 MB / 1.748 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3148/11.16, allocations: 107.7 MB / 3.521 GB, free: 167.8 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.551e-05/11.16, allocations: 0 / 3.521 GB, free: 167.8 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01173/11.17, allocations: 2.133 MB / 3.523 GB, free: 165.7 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3428/11.51, allocations: 78.26 MB / 3.599 GB, free: 87.86 MB / 1.748 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00388/11.52, allocations: 0.5334 MB / 3.6 GB, free: 87.33 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09884/11.61, allocations: 54.97 MB / 3.653 GB, free: 32.39 MB / 1.748 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.9708/12.59, allocations: 46.46 MB / 3.699 GB, free: 0.6118 GB / 1.748 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2769/12.86, allocations: 90.67 MB / 3.787 GB, free: 0.5896 GB / 1.748 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01899/12.88, allocations: 5.478 MB / 3.793 GB, free: 0.5859 GB / 1.748 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009023/12.89, allocations: 164 kB / 3.793 GB, free: 0.5857 GB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05488/12.95, allocations: 3.467 MB / 3.796 GB, free: 0.5841 GB / 1.748 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005554/12.95, allocations: 0.8536 MB / 3.797 GB, free: 0.5838 GB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005742/12.96, allocations: 0.6093 MB / 3.798 GB, free: 0.5836 GB / 1.748 GB Notification: Performance of sorting global known variables: time 0.02827/12.98, allocations: 11.32 MB / 3.809 GB, free: 0.5729 GB / 1.748 GB Notification: Performance of sort global known variables: time 1.1e-07/12.98, allocations: 0 / 3.809 GB, free: 0.5729 GB / 1.748 GB Notification: Performance of remove unused functions: time 0.08829/13.07, allocations: 34.85 MB / 3.843 GB, free: 0.539 GB / 1.748 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.0114/13.08, allocations: 1.822 MB / 3.845 GB, free: 0.5377 GB / 1.748 GB Notification: Performance of simCode: created initialization part: time 0.1474/13.23, allocations: 69.46 MB / 3.912 GB, free: 481.5 MB / 1.748 GB Notification: Performance of simCode: created event and clocks part: time 1.736e-05/13.23, allocations: 0 / 3.912 GB, free: 481.5 MB / 1.748 GB Notification: Performance of simCode: created simulation system equations: time 0.06013/13.29, allocations: 22.09 MB / 3.934 GB, free: 459.4 MB / 1.748 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06721/13.36, allocations: 8.057 MB / 3.942 GB, free: 451.8 MB / 1.748 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.101/13.46, allocations: 49.43 MB / 3.99 GB, free: 402.4 MB / 1.748 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01931/13.48, allocations: 9.631 MB / 3.999 GB, free: 392.7 MB / 1.748 GB Notification: Performance of simCode: alias equations: time 0.03939/13.52, allocations: 6.749 MB / 4.006 GB, free: 385.9 MB / 1.748 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01492/13.53, allocations: 2.023 MB / 4.008 GB, free: 383.9 MB / 1.748 GB Notification: Performance of SimCode: time 9.608e-06/13.53, allocations: 0 / 4.008 GB, free: 383.9 MB / 1.748 GB Notification: Performance of Templates: time 1.656/15.19, allocations: 0.6594 GB / 4.667 GB, free: 403.9 MB / 1.748 GB " [Timeout remaining time 285] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 41.39892477542162] Failed to read output from testmodel.py, exit status != 0: 15.200592648237944 15.211082719 12.907038405 Calling exit ...