Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 110 kB / 18.94 MB, free: 2.809 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002504/0.002504, allocations: 193.6 kB / 22.23 MB, free: 5.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 225.6 MB / 251 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.708/2.708, allocations: 443.4 MB / 0.7321 GB, free: 12.3 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.Examples.FlowSystem.Simplified3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002423/0.002423, allocations: 59.91 kB / 1.062 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8143/0.8167, allocations: 160.8 MB / 1.219 GB, free: 3.676 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.4075/1.224, allocations: 364 MB / 1.574 GB, free: 10.11 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.8282/2.052, allocations: 76.29 MB / 1.648 GB, free: 62.54 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01494/2.067, allocations: 0.5808 MB / 1.649 GB, free: 62.54 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01679/2.084, allocations: 6.729 MB / 1.656 GB, free: 62.42 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.03757/2.122, allocations: 15 MB / 1.67 GB, free: 61.84 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02335/2.145, allocations: 10.66 MB / 1.681 GB, free: 61.42 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.09286/2.238, allocations: 76.54 MB / 1.755 GB, free: 41.19 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.024/2.262, allocations: 15.83 MB / 1.771 GB, free: 26.07 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03488/2.297, allocations: 17.72 MB / 1.788 GB, free: 9.309 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03789/2.335, allocations: 17.23 MB / 1.805 GB, free: 9.258 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.01001/2.345, allocations: 1.969 MB / 1.807 GB, free: 7.289 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02467/2.369, allocations: 6.256 MB / 1.813 GB, free: 1.316 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.01249/2.382, allocations: 6.681 MB / 1.82 GB, free: 10.87 MB / 1.326 GB Notification: Performance of NFVerifyModel.verify: time 0.0254/2.407, allocations: 11.22 MB / 1.83 GB, free: 15.84 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.05621/2.464, allocations: 31.32 MB / 1.861 GB, free: 1.652 MB / 1.357 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/2.464, allocations: 0 / 1.861 GB, free: 1.652 MB / 1.357 GB Notification: Performance of FrontEnd: time 1.763e-06/2.464, allocations: 0 / 1.861 GB, free: 1.652 MB / 1.357 GB Notification: Performance of Transformations before backend: time 0.0009046/2.464, allocations: 0 / 1.861 GB, free: 1.652 MB / 1.357 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2045 * Number of variables: 2045 Notification: Performance of Generate backend data structure: time 0.06851/2.533, allocations: 22.19 MB / 1.883 GB, free: 11.55 MB / 1.389 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/2.533, allocations: 8.031 kB / 1.883 GB, free: 11.54 MB / 1.389 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01816/2.551, allocations: 3.294 MB / 1.886 GB, free: 8.234 MB / 1.389 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05164/2.603, allocations: 21.07 MB / 1.907 GB, free: 3.48 MB / 1.404 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008124/2.604, allocations: 0.6721 MB / 1.907 GB, free: 2.816 MB / 1.404 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004638/2.608, allocations: 0.9388 MB / 1.908 GB, free: 1.883 MB / 1.404 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04348/2.652, allocations: 17.23 MB / 1.925 GB, free: 472 kB / 1.42 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002684/2.652, allocations: 11.89 kB / 1.925 GB, free: 460 kB / 1.42 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003173/2.655, allocations: 334.3 kB / 1.925 GB, free: 132 kB / 1.42 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004238/2.656, allocations: 379.3 kB / 1.926 GB, free: 15.76 MB / 1.436 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04503/2.701, allocations: 21.87 MB / 1.947 GB, free: 9.875 MB / 1.451 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.1592/2.86, allocations: 81.72 MB / 2.027 GB, free: 5.586 MB / 1.529 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02472/2.885, allocations: 11.87 MB / 2.038 GB, free: 9.961 MB / 1.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01814/2.903, allocations: 8.968 MB / 2.047 GB, free: 0.9805 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.08818/2.991, allocations: 34.05 MB / 2.08 GB, free: 14.59 MB / 1.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02309/3.014, allocations: 10.28 MB / 2.09 GB, free: 4.234 MB / 1.592 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0331/3.047, allocations: 8.249 MB / 2.099 GB, free: 12.16 MB / 1.607 GB Notification: Performance of pre-optimization done (n=567): time 3.775e-05/3.047, allocations: 0 / 2.099 GB, free: 12.16 MB / 1.607 GB Notification: Performance of matching and sorting (n=838): time 1.793/4.84, allocations: 217.6 MB / 2.311 GB, free: 0.7012 GB / 1.732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1483/4.988, allocations: 55.87 MB / 2.366 GB, free: 0.6533 GB / 1.732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0387/5.027, allocations: 17.85 MB / 2.383 GB, free: 0.6362 GB / 1.732 GB Notification: Performance of collectPreVariables (initialization): time 0.005372/5.032, allocations: 221.7 kB / 2.383 GB, free: 0.636 GB / 1.732 GB Notification: Performance of collectInitialEqns (initialization): time 0.01124/5.043, allocations: 7.836 MB / 2.391 GB, free: 0.6298 GB / 1.732 GB Notification: Performance of collectInitialBindings (initialization): time 0.009726/5.053, allocations: 3.151 MB / 2.394 GB, free: 0.6283 GB / 1.732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01822/5.071, allocations: 4 MB / 2.398 GB, free: 0.6244 GB / 1.732 GB Notification: Performance of setup shared object (initialization): time 4.618e-05/5.071, allocations: 305.1 kB / 2.398 GB, free: 0.6241 GB / 1.732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0308/5.102, allocations: 20.3 MB / 2.418 GB, free: 0.6042 GB / 1.732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03377/5.136, allocations: 23.12 MB / 2.441 GB, free: 0.5806 GB / 1.732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06445/5.2, allocations: 38.66 MB / 2.478 GB, free: 0.5421 GB / 1.732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.59e-05/5.201, allocations: 12 kB / 2.478 GB, free: 0.5421 GB / 1.732 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.577/5.778, allocations: 134.2 MB / 2.609 GB, free: 420.7 MB / 1.732 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/5.778, allocations: 65.84 kB / 2.609 GB, free: 420.6 MB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.22e-05/5.778, allocations: 59.98 kB / 2.61 GB, free: 420.6 MB / 1.732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5402/6.318, allocations: 117.9 MB / 2.725 GB, free: 302.7 MB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01877/6.337, allocations: 3.549 MB / 2.728 GB, free: 299.1 MB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1592/6.496, allocations: 81.9 MB / 2.808 GB, free: 216.9 MB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08024/6.576, allocations: 6.444 MB / 2.814 GB, free: 210.4 MB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006789/6.583, allocations: 1.314 MB / 2.816 GB, free: 209.1 MB / 1.732 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03826/6.621, allocations: 23.68 MB / 2.839 GB, free: 185.4 MB / 1.732 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03181/6.653, allocations: 22.6 MB / 2.861 GB, free: 161.8 MB / 1.732 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06033/6.713, allocations: 37.62 MB / 2.898 GB, free: 123.3 MB / 1.732 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001056/6.713, allocations: 16 kB / 2.898 GB, free: 123.3 MB / 1.732 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 1.291/8.005, allocations: 132.7 MB / 3.027 GB, free: 0.6897 GB / 1.732 GB Notification: Performance of prepare postOptimizeDAE: time 6.788e-05/8.005, allocations: 56.33 kB / 3.027 GB, free: 0.6896 GB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.179e-05/8.005, allocations: 49.66 kB / 3.027 GB, free: 0.6896 GB / 1.732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5364/8.541, allocations: 117.6 MB / 3.142 GB, free: 0.6317 GB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01801/8.559, allocations: 3.536 MB / 3.146 GB, free: 0.6283 GB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.182/8.741, allocations: 86.16 MB / 3.23 GB, free: 0.5442 GB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0804/8.822, allocations: 6.49 MB / 3.236 GB, free: 0.5379 GB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007123/8.829, allocations: 1.282 MB / 3.237 GB, free: 0.5366 GB / 1.732 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1171): * Single equations (assignments): 1151 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.0108/8.84, allocations: 0.7639 MB / 3.238 GB, free: 0.5359 GB / 1.732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01085/8.851, allocations: 1.7 MB / 3.24 GB, free: 0.5352 GB / 1.732 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2056/9.056, allocations: 60.28 MB / 3.299 GB, free: 488 MB / 1.732 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2018/9.258, allocations: 66.11 MB / 3.363 GB, free: 422.1 MB / 1.732 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000195/9.258, allocations: 28 kB / 3.363 GB, free: 422.1 MB / 1.732 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1984/9.456, allocations: 65.42 MB / 3.427 GB, free: 356.8 MB / 1.732 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3085/9.765, allocations: 129.5 MB / 3.554 GB, free: 227.5 MB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.558e-05/9.765, allocations: 4 kB / 3.554 GB, free: 227.5 MB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01136/9.776, allocations: 1.981 MB / 3.556 GB, free: 225.5 MB / 1.732 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2994/10.08, allocations: 81.38 MB / 3.635 GB, free: 144.2 MB / 1.732 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004258/10.08, allocations: 0.5729 MB / 3.636 GB, free: 143.6 MB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1051/10.19, allocations: 58.56 MB / 3.693 GB, free: 85.02 MB / 1.732 GB Warning: The linear system: 1 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 3 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 [ -1.0 , 0.0 , -1.0 ; 0.0 , -1.0 , 1.0 ; 1.0 , 1.0 , 0.0 ] * [ valCoo.m_flow ; spl1.res1.m_flow ; valHea.m_flow ] = [ (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; -bou.ports[1].m_flow ; tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ] might be structurally or numerically singular for variable valHea.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 3 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow ; valHea.m_flow ; spl1.res1.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ] might be structurally or numerically singular for variable spl1.res1.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 3 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1454/10.33, allocations: 54.07 MB / 3.746 GB, free: 29.8 MB / 1.732 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.047/11.38, allocations: 95.36 MB / 3.839 GB, free: 0.6774 GB / 1.732 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01966/11.4, allocations: 6.027 MB / 3.845 GB, free: 0.6759 GB / 1.732 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0081/11.41, allocations: 207.9 kB / 3.845 GB, free: 0.6758 GB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04764/11.45, allocations: 3.324 MB / 3.848 GB, free: 0.6757 GB / 1.732 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005206/11.46, allocations: 0.89 MB / 3.849 GB, free: 0.6756 GB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003324/11.46, allocations: 0.6327 MB / 3.85 GB, free: 0.6755 GB / 1.732 GB Notification: Performance of sorting global known variables: time 0.02269/11.48, allocations: 12.19 MB / 3.861 GB, free: 0.6716 GB / 1.732 GB Notification: Performance of sort global known variables: time 4.51e-07/11.48, allocations: 0 / 3.861 GB, free: 0.6716 GB / 1.732 GB Notification: Performance of remove unused functions: time 0.08651/11.57, allocations: 38.71 MB / 3.899 GB, free: 0.6361 GB / 1.732 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],valSouth1[1].filter.s[1],valSouth1[2].filter.s[1],valSouth1[3].filter.s[1],valSouth1[4].filter.s[1],valSouth2[1].filter.s[1],valSouth2[2].filter.s[1],valSouth2[3].filter.s[1],valSouth2[4].filter.s[1],valSouth2[5].filter.s[1],valSouth2[6].filter.s[1],valSouth2[7].filter.s[1],valSouth2[8].filter.s[1],valNorth1[1].filter.s[1],valNorth1[2].filter.s[1],valNorth1[3].filter.s[1],valNorth1[4].filter.s[1],valNorth2[1].filter.s[1],valNorth2[2].filter.s[1],valNorth2[3].filter.s[1],valNorth2[4].filter.s[1],valNorth2[5].filter.s[1],valNorth2[6].filter.s[1],valNorth2[7].filter.s[1],valNorth2[8].filter.s[1],valSouth.vol.dynBal.U,valSouth.filter.s[1],valNorth.vol.dynBal.U,valNorth.filter.s[1],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],valHea.filter.s[1],valCoo.filter.s[1],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1],vol.p) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (621): * Single equations (assignments): 600 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(7,83), (1,1), (38,197)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006357/11.58, allocations: 1.948 MB / 3.901 GB, free: 0.6349 GB / 1.732 GB Notification: Performance of simCode: created initialization part: time 0.1319/11.71, allocations: 74.07 MB / 3.973 GB, free: 0.5654 GB / 1.732 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/11.71, allocations: 4 kB / 3.973 GB, free: 0.5654 GB / 1.732 GB Notification: Performance of simCode: created simulation system equations: time 0.05143/11.76, allocations: 23.18 MB / 3.996 GB, free: 0.5432 GB / 1.732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06276/11.82, allocations: 7.98 MB / 4.004 GB, free: 0.5358 GB / 1.732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09911/11.92, allocations: 54.64 MB / 4.057 GB, free: 494.1 MB / 1.732 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01743/11.94, allocations: 10.45 MB / 4.067 GB, free: 483.6 MB / 1.732 GB Notification: Performance of simCode: alias equations: time 0.03145/11.97, allocations: 7.975 MB / 4.075 GB, free: 475.6 MB / 1.732 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01275/11.98, allocations: 2.058 MB / 4.077 GB, free: 473.6 MB / 1.732 GB Notification: Performance of SimCode: time 1.092e-06/11.98, allocations: 0 / 4.077 GB, free: 473.6 MB / 1.732 GB Notification: Performance of Templates: time 2.318/14.3, allocations: 0.6631 GB / 4.74 GB, free: 0.5266 GB / 1.733 GB " [Timeout remaining time 286] make -j1 -f Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 39.9296465869993] Failed to read output from testmodel.py, exit status != 0: 14.314076781272888 14.32463725 11.858103209 Calling exit ...