Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00176/0.00176, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001503/0.001503, allocations: 213.3 kB / 23.01 MB, free: 4.57 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.759/2.759, allocations: 476.7 MB / 0.7714 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.00214/0.00214, allocations: 68.48 kB / 1.119 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3669, allocations: 170 MB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.19/1.557, allocations: 365.3 MB / 1.641 GB, free: 62.76 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.1186/1.676, allocations: 76.35 MB / 1.716 GB, free: 61.65 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02141/1.697, allocations: 0.5766 MB / 1.717 GB, free: 61.65 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.02107/1.718, allocations: 6.728 MB / 1.723 GB, free: 61.53 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.04583/1.764, allocations: 15.04 MB / 1.738 GB, free: 58.23 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.0268/1.791, allocations: 10.68 MB / 1.748 GB, free: 52.97 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.09476/1.885, allocations: 76.46 MB / 1.823 GB, free: 10.03 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03187/1.917, allocations: 15.83 MB / 1.838 GB, free: 10.82 MB / 1.326 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04447/1.962, allocations: 17.76 MB / 1.856 GB, free: 10.02 MB / 1.342 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0381/2, allocations: 17.22 MB / 1.872 GB, free: 9.969 MB / 1.357 GB Notification: Performance of NFPackage.collectConstants: time 0.01026/2.01, allocations: 1.973 MB / 1.874 GB, free: 7.996 MB / 1.357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02543/2.036, allocations: 6.46 MB / 1.881 GB, free: 1.809 MB / 1.357 GB Notification: Performance of NFScalarize.scalarize: time 0.01401/2.05, allocations: 6.683 MB / 1.887 GB, free: 11.36 MB / 1.373 GB Notification: Performance of NFVerifyModel.verify: time 0.02964/2.079, allocations: 11.22 MB / 1.898 GB, free: 332 kB / 1.373 GB Notification: Performance of NFConvertDAE.convert: time 0.06536/2.145, allocations: 31.59 MB / 1.929 GB, free: 1.902 MB / 1.404 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/2.145, allocations: 0 / 1.929 GB, free: 1.902 MB / 1.404 GB Notification: Performance of FrontEnd: time 2.124e-06/2.145, allocations: 0 / 1.929 GB, free: 1.902 MB / 1.404 GB Notification: Performance of Transformations before backend: time 0.00115/2.146, allocations: 0 / 1.929 GB, free: 1.902 MB / 1.404 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.07551/2.221, allocations: 22.13 MB / 1.951 GB, free: 11.84 MB / 1.436 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/2.221, allocations: 15.98 kB / 1.951 GB, free: 11.83 MB / 1.436 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01998/2.241, allocations: 3.301 MB / 1.954 GB, free: 8.512 MB / 1.436 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05742/2.299, allocations: 21.04 MB / 1.974 GB, free: 3.742 MB / 1.451 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009211/2.3, allocations: 0.6692 MB / 1.975 GB, free: 3.078 MB / 1.451 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005839/2.305, allocations: 0.9368 MB / 1.976 GB, free: 2.148 MB / 1.451 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04715/2.353, allocations: 17.23 MB / 1.993 GB, free: 0.7266 MB / 1.467 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003634/2.353, allocations: 15.83 kB / 1.993 GB, free: 0.7109 MB / 1.467 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004423/2.357, allocations: 333.6 kB / 1.993 GB, free: 400 kB / 1.467 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005213/2.358, allocations: 375.3 kB / 1.994 GB, free: 24 kB / 1.467 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04847/2.406, allocations: 21.88 MB / 2.015 GB, free: 10.13 MB / 1.498 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.1658/2.572, allocations: 81.75 MB / 2.095 GB, free: 5.367 MB / 1.576 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02412/2.596, allocations: 11.7 MB / 2.106 GB, free: 9.938 MB / 1.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01753/2.614, allocations: 8.974 MB / 2.115 GB, free: 0.9609 MB / 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.0826/2.696, allocations: 32.6 MB / 2.147 GB, free: 428 kB / 1.623 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02086/2.717, allocations: 10.29 MB / 2.157 GB, free: 6.059 MB / 1.639 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03062/2.748, allocations: 8.252 MB / 2.165 GB, free: 13.98 MB / 1.654 GB Notification: Performance of pre-optimization done (n=567): time 3.109e-05/2.748, allocations: 4 kB / 2.165 GB, free: 13.98 MB / 1.654 GB Notification: Performance of matching and sorting (n=838): time 1.539/4.287, allocations: 217.4 MB / 2.377 GB, free: 0.6176 GB / 1.732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1296/4.417, allocations: 55.59 MB / 2.431 GB, free: 0.5625 GB / 1.732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03249/4.449, allocations: 17.84 MB / 2.449 GB, free: 0.5453 GB / 1.732 GB Notification: Performance of collectPreVariables (initialization): time 0.003953/4.453, allocations: 221.7 kB / 2.449 GB, free: 0.5451 GB / 1.732 GB Notification: Performance of collectInitialEqns (initialization): time 0.008018/4.461, allocations: 7.838 MB / 2.457 GB, free: 0.5378 GB / 1.732 GB Notification: Performance of collectInitialBindings (initialization): time 0.007947/4.469, allocations: 3.15 MB / 2.46 GB, free: 0.5348 GB / 1.732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01255/4.482, allocations: 4 MB / 2.464 GB, free: 0.5309 GB / 1.732 GB Notification: Performance of setup shared object (initialization): time 3.744e-05/4.482, allocations: 309.2 kB / 2.464 GB, free: 0.5306 GB / 1.732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02687/4.509, allocations: 20.3 MB / 2.484 GB, free: 0.5107 GB / 1.732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03009/4.539, allocations: 23.12 MB / 2.506 GB, free: 498.9 MB / 1.732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05563/4.594, allocations: 38.66 MB / 2.544 GB, free: 459.4 MB / 1.732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.655e-05/4.595, allocations: 12 kB / 2.544 GB, free: 459.4 MB / 1.732 GB Notification: Performance of matching and sorting (n=1619) (initialization): time 0.5673/5.162, allocations: 134.3 MB / 2.675 GB, free: 325 MB / 1.732 GB Notification: Performance of prepare postOptimizeDAE: time 8.734e-05/5.162, allocations: 57.7 kB / 2.675 GB, free: 324.9 MB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.151e-05/5.162, allocations: 52 kB / 2.675 GB, free: 324.9 MB / 1.732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5391/5.701, allocations: 117.9 MB / 2.791 GB, free: 207 MB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01731/5.718, allocations: 3.557 MB / 2.794 GB, free: 203.4 MB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1366/5.855, allocations: 81.8 MB / 2.874 GB, free: 121.3 MB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07716/5.932, allocations: 6.445 MB / 2.88 GB, free: 114.8 MB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006105/5.938, allocations: 1.314 MB / 2.882 GB, free: 113.5 MB / 1.732 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03989/5.978, allocations: 23.69 MB / 2.905 GB, free: 89.8 MB / 1.732 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0305/6.009, allocations: 22.6 MB / 2.927 GB, free: 66.17 MB / 1.732 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05411/6.063, allocations: 37.62 MB / 2.963 GB, free: 27.73 MB / 1.732 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.384e-05/6.063, allocations: 16 kB / 2.963 GB, free: 27.72 MB / 1.732 GB Notification: Performance of matching and sorting (n=1619) (initialization_lambda0): time 1.288/7.351, allocations: 132.7 MB / 3.093 GB, free: 0.6082 GB / 1.732 GB Notification: Performance of prepare postOptimizeDAE: time 7.094e-05/7.351, allocations: 58.69 kB / 3.093 GB, free: 0.6082 GB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.62e-05/7.351, allocations: 52 kB / 3.093 GB, free: 0.6081 GB / 1.732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5419/7.893, allocations: 117.6 MB / 3.208 GB, free: 0.4936 GB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01675/7.91, allocations: 3.533 MB / 3.211 GB, free: 0.4902 GB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1477/8.057, allocations: 85.93 MB / 3.295 GB, free: 416 MB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07857/8.136, allocations: 6.5 MB / 3.302 GB, free: 409.5 MB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006225/8.142, allocations: 1.279 MB / 3.303 GB, free: 408.2 MB / 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.009093/8.151, allocations: 0.7735 MB / 3.304 GB, free: 407.5 MB / 1.732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008826/8.16, allocations: 1.691 MB / 3.305 GB, free: 405.9 MB / 1.732 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1981/8.358, allocations: 60.28 MB / 3.364 GB, free: 345.9 MB / 1.732 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1987/8.557, allocations: 66.1 MB / 3.429 GB, free: 279.9 MB / 1.732 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001355/8.557, allocations: 35.5 kB / 3.429 GB, free: 279.8 MB / 1.732 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1887/8.746, allocations: 65.43 MB / 3.493 GB, free: 214.4 MB / 1.732 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2697/9.016, allocations: 129.5 MB / 3.619 GB, free: 84.96 MB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.119e-05/9.016, allocations: 4 kB / 3.619 GB, free: 84.96 MB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01137/9.027, allocations: 1.977 MB / 3.621 GB, free: 82.98 MB / 1.732 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.045/10.07, allocations: 81.38 MB / 3.701 GB, free: 0.6271 GB / 1.732 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004026/10.08, allocations: 0.5717 MB / 3.701 GB, free: 0.6271 GB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09916/10.18, allocations: 58.47 MB / 3.758 GB, free: 0.6143 GB / 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.1126/10.29, allocations: 53 MB / 3.81 GB, free: 0.5871 GB / 1.732 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2343/10.52, allocations: 95.35 MB / 3.903 GB, free: 0.499 GB / 1.732 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01999/10.54, allocations: 6.115 MB / 3.909 GB, free: 0.4931 GB / 1.732 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008269/10.55, allocations: 215.9 kB / 3.909 GB, free: 0.4929 GB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04609/10.6, allocations: 3.311 MB / 3.913 GB, free: 0.4896 GB / 1.732 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004974/10.6, allocations: 0.8924 MB / 3.913 GB, free: 0.4888 GB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00348/10.6, allocations: 0.6315 MB / 3.914 GB, free: 499.9 MB / 1.732 GB Notification: Performance of sorting global known variables: time 0.02304/10.63, allocations: 12.19 MB / 3.926 GB, free: 487.8 MB / 1.732 GB Notification: Performance of sort global known variables: time 2.11e-07/10.63, allocations: 0 / 3.926 GB, free: 487.8 MB / 1.732 GB Notification: Performance of remove unused functions: time 0.08407/10.71, allocations: 38.73 MB / 3.964 GB, free: 449.2 MB / 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.006191/10.72, allocations: 1.917 MB / 3.966 GB, free: 447.5 MB / 1.732 GB Notification: Performance of simCode: created initialization part: time 0.1265/10.84, allocations: 74.05 MB / 4.038 GB, free: 373.4 MB / 1.732 GB Notification: Performance of simCode: created event and clocks part: time 1.569e-05/10.84, allocations: 4.625 kB / 4.038 GB, free: 373.4 MB / 1.732 GB Notification: Performance of simCode: created simulation system equations: time 0.05004/10.89, allocations: 23.17 MB / 4.061 GB, free: 350.2 MB / 1.732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06052/10.96, allocations: 7.988 MB / 4.068 GB, free: 342.5 MB / 1.732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09438/11.05, allocations: 55.15 MB / 4.122 GB, free: 287.2 MB / 1.732 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01709/11.07, allocations: 10.36 MB / 4.132 GB, free: 276.8 MB / 1.732 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01398/11.08, allocations: 2.113 MB / 4.134 GB, free: 274.7 MB / 1.732 GB Notification: Performance of SimCode: time 1.643e-06/11.08, allocations: 0 / 4.134 GB, free: 274.7 MB / 1.732 GB Notification: Performance of Templates: time 4.066/15.15, allocations: 1.353 GB / 5.488 GB, free: 250.4 MB / 1.733 GB " [Timeout remaining time 284] make -j1 -f Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 106.56288688600762] Failed to read output from testmodel.py, exit status != 0: 15.805759348004358 15.166768076 13.019411771 Calling exit ...