Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001916/0.001916, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002606/0.002606, allocations: 213.9 kB / 22.25 MB, free: 4.859 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.641/1.641, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.478/3.478, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.00239/0.00239, allocations: 75.89 kB / 1.186 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4345/0.4369, allocations: 181.9 MB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.212/1.649, allocations: 329 MB / 1.685 GB, free: 49.46 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.08741/1.736, allocations: 70.67 MB / 1.754 GB, free: 33.41 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0155/1.752, allocations: 0.597 MB / 1.755 GB, free: 33.41 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01748/1.769, allocations: 6.372 MB / 1.761 GB, free: 30.39 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.03716/1.806, allocations: 14.96 MB / 1.776 GB, free: 19.18 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02236/1.829, allocations: 10.45 MB / 1.786 GB, free: 11.6 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.07408/1.903, allocations: 56.01 MB / 1.841 GB, free: 13.63 MB / 1.342 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02799/1.931, allocations: 15.37 MB / 1.856 GB, free: 14.11 MB / 1.357 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0405/1.971, allocations: 18.37 MB / 1.873 GB, free: 11.72 MB / 1.373 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03257/2.004, allocations: 15.94 MB / 1.889 GB, free: 11.72 MB / 1.389 GB Notification: Performance of NFPackage.collectConstants: time 0.007777/2.011, allocations: 1.75 MB / 1.891 GB, free: 9.973 MB / 1.389 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01965/2.031, allocations: 5.126 MB / 1.896 GB, free: 4.84 MB / 1.389 GB Notification: Performance of NFScalarize.scalarize: time 0.01097/2.042, allocations: 6.104 MB / 1.902 GB, free: 14.71 MB / 1.404 GB Notification: Performance of NFVerifyModel.verify: time 0.02136/2.063, allocations: 8.711 MB / 1.91 GB, free: 5.965 MB / 1.404 GB Notification: Performance of NFConvertDAE.convert: time 0.05134/2.115, allocations: 29.48 MB / 1.939 GB, free: 8.383 MB / 1.436 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/2.115, allocations: 4 kB / 1.939 GB, free: 8.379 MB / 1.436 GB Notification: Performance of FrontEnd: time 1.252e-06/2.115, allocations: 0 / 1.939 GB, free: 8.379 MB / 1.436 GB Notification: Performance of Transformations before backend: time 0.0008874/2.116, allocations: 0 / 1.939 GB, free: 8.379 MB / 1.436 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.06258/2.178, allocations: 20.64 MB / 1.959 GB, free: 3.57 MB / 1.451 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/2.178, allocations: 8.031 kB / 1.959 GB, free: 3.562 MB / 1.451 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01762/2.196, allocations: 3.204 MB / 1.962 GB, free: 352 kB / 1.451 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04734/2.243, allocations: 19.29 MB / 1.981 GB, free: 12.9 MB / 1.482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00102/2.244, allocations: 0.636 MB / 1.982 GB, free: 12.26 MB / 1.482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005232/2.25, allocations: 0.8826 MB / 1.983 GB, free: 11.38 MB / 1.482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04536/2.295, allocations: 18.06 MB / 2 GB, free: 8.867 MB / 1.498 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000331/2.295, allocations: 19.86 kB / 2 GB, free: 8.848 MB / 1.498 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003199/2.298, allocations: 320 kB / 2.001 GB, free: 8.535 MB / 1.498 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002241/2.299, allocations: 208 kB / 2.001 GB, free: 8.332 MB / 1.498 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04588/2.345, allocations: 21.38 MB / 2.022 GB, free: 2.93 MB / 1.514 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.1382/2.483, allocations: 61.01 MB / 2.081 GB, free: 5.305 MB / 1.576 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02711/2.51, allocations: 12.32 MB / 2.093 GB, free: 9.262 MB / 1.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01867/2.529, allocations: 9.192 MB / 2.102 GB, free: 56 kB / 1.592 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.07231/2.601, allocations: 28.84 MB / 2.13 GB, free: 3.133 MB / 1.623 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02194/2.623, allocations: 11.45 MB / 2.142 GB, free: 7.43 MB / 1.639 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03132/2.654, allocations: 8.2 MB / 2.15 GB, free: 15.22 MB / 1.654 GB Notification: Performance of pre-optimization done (n=503): time 2.709e-05/2.654, allocations: 0 / 2.15 GB, free: 15.22 MB / 1.654 GB Notification: Performance of matching and sorting (n=742): time 1.732/4.386, allocations: 218 MB / 2.363 GB, free: 0.6362 GB / 1.779 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1115/4.498, allocations: 47.44 MB / 2.409 GB, free: 0.6007 GB / 1.779 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0231/4.521, allocations: 16.7 MB / 2.425 GB, free: 0.5847 GB / 1.779 GB Notification: Performance of collectPreVariables (initialization): time 0.003869/4.525, allocations: 197.7 kB / 2.425 GB, free: 0.5845 GB / 1.779 GB Notification: Performance of collectInitialEqns (initialization): time 0.00686/4.531, allocations: 7.632 MB / 2.433 GB, free: 0.5786 GB / 1.779 GB Notification: Performance of collectInitialBindings (initialization): time 0.007154/4.539, allocations: 2.753 MB / 2.435 GB, free: 0.5773 GB / 1.779 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009679/4.548, allocations: 3.781 MB / 2.439 GB, free: 0.5736 GB / 1.779 GB Notification: Performance of setup shared object (initialization): time 4.108e-05/4.548, allocations: 305.1 kB / 2.439 GB, free: 0.5733 GB / 1.779 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02762/4.576, allocations: 19.5 MB / 2.458 GB, free: 0.5542 GB / 1.779 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03221/4.608, allocations: 24.42 MB / 2.482 GB, free: 0.5288 GB / 1.779 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0563/4.664, allocations: 37.37 MB / 2.519 GB, free: 0.4916 GB / 1.779 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-05/4.665, allocations: 16 kB / 2.519 GB, free: 0.4916 GB / 1.779 GB Notification: Performance of matching and sorting (n=1491) (initialization): time 0.5966/5.261, allocations: 132.3 MB / 2.648 GB, free: 371 MB / 1.779 GB Notification: Performance of prepare postOptimizeDAE: time 8.448e-05/5.261, allocations: 61.62 kB / 2.648 GB, free: 370.9 MB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.516e-05/5.261, allocations: 52 kB / 2.648 GB, free: 370.9 MB / 1.779 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5803/5.842, allocations: 117.8 MB / 2.763 GB, free: 253.1 MB / 1.779 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01663/5.858, allocations: 3.17 MB / 2.766 GB, free: 250 MB / 1.779 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1375/5.996, allocations: 80.9 MB / 2.845 GB, free: 168.7 MB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09968/6.095, allocations: 6.573 MB / 2.852 GB, free: 162.2 MB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008967/6.104, allocations: 1.294 MB / 2.853 GB, free: 160.9 MB / 1.779 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03879/6.143, allocations: 22.59 MB / 2.875 GB, free: 138.2 MB / 1.779 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03191/6.175, allocations: 23.9 MB / 2.898 GB, free: 112.8 MB / 1.779 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05515/6.23, allocations: 36.32 MB / 2.934 GB, free: 75.71 MB / 1.779 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.503e-05/6.23, allocations: 19.98 kB / 2.934 GB, free: 75.69 MB / 1.779 GB Notification: Performance of matching and sorting (n=1491) (initialization_lambda0): time 1.504/7.734, allocations: 130.7 MB / 3.062 GB, free: 0.6263 GB / 1.779 GB Notification: Performance of prepare postOptimizeDAE: time 7.275e-05/7.734, allocations: 54.14 kB / 3.062 GB, free: 0.6263 GB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.139e-05/7.734, allocations: 52.19 kB / 3.062 GB, free: 0.6263 GB / 1.779 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5835/8.318, allocations: 117.5 MB / 3.176 GB, free: 0.5409 GB / 1.779 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01564/8.333, allocations: 3.152 MB / 3.179 GB, free: 0.5379 GB / 1.779 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1432/8.477, allocations: 84.1 MB / 3.262 GB, free: 466.9 MB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09434/8.571, allocations: 6.605 MB / 3.268 GB, free: 460.3 MB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006045/8.577, allocations: 1.267 MB / 3.269 GB, free: 459.1 MB / 1.779 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.00837/8.585, allocations: 0.7157 MB / 3.27 GB, free: 458.4 MB / 1.779 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008152/8.594, allocations: 1.601 MB / 3.272 GB, free: 457.7 MB / 1.779 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2211/8.815, allocations: 59.97 MB / 3.33 GB, free: 398 MB / 1.779 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2166/9.031, allocations: 63.67 MB / 3.392 GB, free: 334.5 MB / 1.779 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.403e-05/9.031, allocations: 28 kB / 3.392 GB, free: 334.5 MB / 1.779 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2119/9.243, allocations: 63.02 MB / 3.454 GB, free: 271.5 MB / 1.779 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2882/9.532, allocations: 107.7 MB / 3.559 GB, free: 164 MB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001489/9.532, allocations: 4 kB / 3.559 GB, free: 164 MB / 1.779 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01258/9.544, allocations: 2.129 MB / 3.561 GB, free: 161.8 MB / 1.779 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3263/9.871, allocations: 78.26 MB / 3.638 GB, free: 83.7 MB / 1.779 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004033/9.875, allocations: 0.5338 MB / 3.638 GB, free: 83.17 MB / 1.779 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09973/9.974, allocations: 54.97 MB / 3.692 GB, free: 28.2 MB / 1.779 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.9751/10.95, allocations: 46.48 MB / 3.737 GB, free: 0.6135 GB / 1.779 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2628/11.21, allocations: 90.66 MB / 3.826 GB, free: 0.5921 GB / 1.779 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01668/11.23, allocations: 5.476 MB / 3.831 GB, free: 0.5884 GB / 1.779 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005753/11.23, allocations: 163.8 kB / 3.831 GB, free: 0.5882 GB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.06358/11.3, allocations: 3.471 MB / 3.835 GB, free: 0.5866 GB / 1.779 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006466/11.3, allocations: 0.8498 MB / 3.835 GB, free: 0.5864 GB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004608/11.31, allocations: 0.6197 MB / 3.836 GB, free: 0.5861 GB / 1.779 GB Notification: Performance of sorting global known variables: time 0.02772/11.34, allocations: 11.31 MB / 3.847 GB, free: 0.5757 GB / 1.779 GB Notification: Performance of sort global known variables: time 3.41e-07/11.34, allocations: 6.406 kB / 3.847 GB, free: 0.5757 GB / 1.779 GB Notification: Performance of remove unused functions: time 0.07792/11.41, allocations: 34.85 MB / 3.881 GB, free: 0.5419 GB / 1.779 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.008635/11.42, allocations: 1.805 MB / 3.883 GB, free: 0.5406 GB / 1.779 GB Notification: Performance of simCode: created initialization part: time 0.1905/11.61, allocations: 69.46 MB / 3.951 GB, free: 484.3 MB / 1.779 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/11.61, allocations: 0 / 3.951 GB, free: 484.3 MB / 1.779 GB Notification: Performance of simCode: created simulation system equations: time 0.05566/11.67, allocations: 22.13 MB / 3.972 GB, free: 462.2 MB / 1.779 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05666/11.73, allocations: 8.046 MB / 3.98 GB, free: 454.6 MB / 1.779 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09045/11.82, allocations: 49.41 MB / 4.028 GB, free: 405.2 MB / 1.779 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01987/11.84, allocations: 9.635 MB / 4.038 GB, free: 395.5 MB / 1.779 GB Notification: Performance of simCode: alias equations: time 0.03089/11.87, allocations: 6.729 MB / 4.044 GB, free: 388.7 MB / 1.779 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01191/11.88, allocations: 2.027 MB / 4.046 GB, free: 386.7 MB / 1.779 GB Notification: Performance of SimCode: time 1.412e-06/11.88, allocations: 0 / 4.046 GB, free: 386.7 MB / 1.779 GB Notification: Performance of Templates: time 1.85/13.73, allocations: 0.6593 GB / 4.706 GB, free: 413.4 MB / 1.779 GB " [Timeout remaining time 286] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 39.46663339063525] Failed to read output from testmodel.py, exit status != 0: 13.740857120603323 13.751879946 11.634332162 Calling exit ...