Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001781/0.001781, allocations: 214 kB / 22.99 MB, free: 4.957 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.318/3.318, allocations: 0.49 GB / 0.7959 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 76.97 kB / 1.155 GB, free: 25.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4226, allocations: 176.1 MB / 1.327 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.316/1.739, allocations: 329 MB / 1.648 GB, free: 58.77 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.09783/1.837, allocations: 70.67 MB / 1.717 GB, free: 55.78 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02026/1.857, allocations: 0.5971 MB / 1.718 GB, free: 55.78 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01913/1.876, allocations: 6.377 MB / 1.724 GB, free: 54.55 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.04226/1.918, allocations: 14.99 MB / 1.739 GB, free: 49.22 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02496/1.943, allocations: 10.51 MB / 1.749 GB, free: 43.98 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.06341/2.007, allocations: 56.2 MB / 1.804 GB, free: 7.879 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02505/2.032, allocations: 15.46 MB / 1.819 GB, free: 9.039 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04009/2.072, allocations: 18.35 MB / 1.837 GB, free: 7.641 MB / 1.326 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03037/2.102, allocations: 16.14 MB / 1.853 GB, free: 8.562 MB / 1.342 GB Notification: Performance of NFPackage.collectConstants: time 0.008595/2.111, allocations: 1.75 MB / 1.855 GB, free: 6.812 MB / 1.342 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02084/2.132, allocations: 5.193 MB / 1.86 GB, free: 1.832 MB / 1.342 GB Notification: Performance of NFScalarize.scalarize: time 0.0104/2.142, allocations: 6.105 MB / 1.866 GB, free: 11.96 MB / 1.357 GB Notification: Performance of NFVerifyModel.verify: time 0.02085/2.163, allocations: 8.721 MB / 1.874 GB, free: 3.438 MB / 1.357 GB Notification: Performance of NFConvertDAE.convert: time 0.05197/2.215, allocations: 29.49 MB / 1.903 GB, free: 7.086 MB / 1.389 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/2.215, allocations: 4 kB / 1.903 GB, free: 7.082 MB / 1.389 GB Notification: Performance of FrontEnd: time 1.924e-06/2.215, allocations: 0 / 1.903 GB, free: 7.082 MB / 1.389 GB Notification: Performance of Transformations before backend: time 0.001037/2.216, allocations: 0 / 1.903 GB, free: 7.082 MB / 1.389 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1949 * Number of variables: 1949 Notification: Performance of Generate backend data structure: time 0.06224/2.278, allocations: 20.63 MB / 1.923 GB, free: 2.516 MB / 1.404 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/2.278, allocations: 8.031 kB / 1.923 GB, free: 2.508 MB / 1.404 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01857/2.297, allocations: 3.22 MB / 1.926 GB, free: 15.27 MB / 1.42 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0465/2.343, allocations: 19.28 MB / 1.945 GB, free: 12.26 MB / 1.436 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007678/2.344, allocations: 0.6415 MB / 1.946 GB, free: 11.62 MB / 1.436 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004557/2.349, allocations: 0.8808 MB / 1.947 GB, free: 10.74 MB / 1.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04596/2.395, allocations: 18.07 MB / 1.964 GB, free: 8.227 MB / 1.451 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002791/2.395, allocations: 19.83 kB / 1.964 GB, free: 8.207 MB / 1.451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00338/2.398, allocations: 318.3 kB / 1.964 GB, free: 7.898 MB / 1.451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002351/2.399, allocations: 204 kB / 1.965 GB, free: 7.699 MB / 1.451 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04734/2.446, allocations: 21.38 MB / 1.986 GB, free: 2.297 MB / 1.467 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1498/2.596, allocations: 61.02 MB / 2.045 GB, free: 5.492 MB / 1.529 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02691/2.623, allocations: 12.3 MB / 2.057 GB, free: 9.473 MB / 1.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01908/2.642, allocations: 9.194 MB / 2.066 GB, free: 268 kB / 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.07887/2.721, allocations: 28.83 MB / 2.094 GB, free: 3.484 MB / 1.576 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0233/2.744, allocations: 11.45 MB / 2.105 GB, free: 7.781 MB / 1.592 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03184/2.776, allocations: 8.211 MB / 2.113 GB, free: 15.74 MB / 1.607 GB Notification: Performance of pre-optimization done (n=503): time 3.3e-05/2.776, allocations: 0 / 2.113 GB, free: 15.74 MB / 1.607 GB Notification: Performance of matching and sorting (n=742): time 1.873/4.649, allocations: 218 MB / 2.326 GB, free: 0.6447 GB / 1.748 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1189/4.768, allocations: 47.46 MB / 2.373 GB, free: 0.6136 GB / 1.748 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02626/4.794, allocations: 16.7 MB / 2.389 GB, free: 0.5976 GB / 1.748 GB Notification: Performance of collectPreVariables (initialization): time 0.003854/4.798, allocations: 205.5 kB / 2.389 GB, free: 0.5974 GB / 1.748 GB Notification: Performance of collectInitialEqns (initialization): time 0.008181/4.806, allocations: 7.62 MB / 2.397 GB, free: 0.5915 GB / 1.748 GB Notification: Performance of collectInitialBindings (initialization): time 0.007519/4.814, allocations: 2.758 MB / 2.399 GB, free: 0.5902 GB / 1.748 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.014/4.828, allocations: 3.777 MB / 2.403 GB, free: 0.5865 GB / 1.748 GB Notification: Performance of setup shared object (initialization): time 4.018e-05/4.828, allocations: 313 kB / 2.403 GB, free: 0.5862 GB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02901/4.857, allocations: 19.49 MB / 2.422 GB, free: 0.5671 GB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03094/4.888, allocations: 24.42 MB / 2.446 GB, free: 0.5418 GB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05693/4.945, allocations: 37.37 MB / 2.483 GB, free: 0.5045 GB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.272e-05/4.945, allocations: 16 kB / 2.483 GB, free: 0.5045 GB / 1.748 GB Notification: Performance of matching and sorting (n=1491) (initialization): time 0.5906/5.535, allocations: 132.3 MB / 2.612 GB, free: 384.2 MB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 7.855e-05/5.535, allocations: 57.69 kB / 2.612 GB, free: 384.2 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.251e-05/5.536, allocations: 55.94 kB / 2.612 GB, free: 384.1 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5836/6.119, allocations: 117.8 MB / 2.727 GB, free: 266.4 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01755/6.137, allocations: 3.166 MB / 2.73 GB, free: 263.2 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1437/6.28, allocations: 80.9 MB / 2.809 GB, free: 181.9 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08423/6.365, allocations: 6.569 MB / 2.816 GB, free: 175.4 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007299/6.372, allocations: 1.298 MB / 2.817 GB, free: 174.1 MB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03911/6.411, allocations: 22.58 MB / 2.839 GB, free: 151.5 MB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03026/6.441, allocations: 23.9 MB / 2.862 GB, free: 126 MB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05441/6.496, allocations: 36.32 MB / 2.898 GB, free: 88.92 MB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.874e-05/6.496, allocations: 16 kB / 2.898 GB, free: 88.9 MB / 1.748 GB Notification: Performance of matching and sorting (n=1491) (initialization_lambda0): time 1.507/8.003, allocations: 130.7 MB / 3.025 GB, free: 0.6256 GB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 9.942e-05/8.003, allocations: 53.89 kB / 3.025 GB, free: 0.6256 GB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001087/8.003, allocations: 56.59 kB / 3.025 GB, free: 0.6256 GB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5653/8.569, allocations: 117.5 MB / 3.14 GB, free: 0.5505 GB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01607/8.585, allocations: 3.144 MB / 3.143 GB, free: 0.5475 GB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1557/8.74, allocations: 84.13 MB / 3.225 GB, free: 476.7 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07954/8.82, allocations: 6.602 MB / 3.232 GB, free: 470.1 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00601/8.826, allocations: 1.271 MB / 3.233 GB, free: 468.9 MB / 1.748 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1023 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.007214/8.833, allocations: 0.722 MB / 3.234 GB, free: 468.2 MB / 1.748 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007612/8.841, allocations: 1.591 MB / 3.235 GB, free: 467.5 MB / 1.748 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2049/9.046, allocations: 59.97 MB / 3.294 GB, free: 407.8 MB / 1.748 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2046/9.25, allocations: 63.67 MB / 3.356 GB, free: 344.3 MB / 1.748 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000143/9.25, allocations: 28 kB / 3.356 GB, free: 344.3 MB / 1.748 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2052/9.456, allocations: 63.01 MB / 3.418 GB, free: 281.4 MB / 1.748 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3919/9.847, allocations: 107.7 MB / 3.523 GB, free: 173.8 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.249e-05/9.848, allocations: 0 / 3.523 GB, free: 173.8 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01241/9.86, allocations: 2.129 MB / 3.525 GB, free: 171.7 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3162/10.18, allocations: 78.26 MB / 3.601 GB, free: 93.56 MB / 1.748 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004123/10.18, allocations: 0.5377 MB / 3.602 GB, free: 93.03 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1047/10.28, allocations: 54.97 MB / 3.656 GB, free: 38.06 MB / 1.748 GB Warning: The linear system: 1 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 3 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow ; valHea.m_flow ; spl1.res1.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ] might be structurally or numerically singular for variable spl1.res1.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 2 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 3 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow ; valHea.m_flow ; valCoo.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; -bou.ports[1].m_flow ] might be structurally or numerically singular for variable valCoo.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 3 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 3 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085/11.37, allocations: 46.46 MB / 3.701 GB, free: 0.6137 GB / 1.748 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2602/11.63, allocations: 90.68 MB / 3.79 GB, free: 0.5964 GB / 1.748 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02021/11.65, allocations: 5.472 MB / 3.795 GB, free: 0.5932 GB / 1.748 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01018/11.66, allocations: 168.5 kB / 3.795 GB, free: 0.593 GB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.06291/11.72, allocations: 3.463 MB / 3.798 GB, free: 0.5914 GB / 1.748 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00542/11.73, allocations: 0.849 MB / 3.799 GB, free: 0.5912 GB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004076/11.73, allocations: 0.6144 MB / 3.8 GB, free: 0.5909 GB / 1.748 GB Notification: Performance of sorting global known variables: time 0.02622/11.76, allocations: 11.32 MB / 3.811 GB, free: 0.5819 GB / 1.748 GB Notification: Performance of sort global known variables: time 3.5e-07/11.76, allocations: 0 / 3.811 GB, free: 0.5819 GB / 1.748 GB Notification: Performance of remove unused functions: time 0.08795/11.85, allocations: 34.85 MB / 3.845 GB, free: 0.548 GB / 1.748 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 42 ($STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pmpSouth.vol.dynBal.U,pmpNorth.vol.dynBal.U,valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,vol.p) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (556): * Single equations (assignments): 535 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(7,83), (1,1), (38,166)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006514/11.85, allocations: 1.827 MB / 3.847 GB, free: 0.5468 GB / 1.748 GB Notification: Performance of simCode: created initialization part: time 0.1282/11.98, allocations: 69.46 MB / 3.915 GB, free: 491 MB / 1.748 GB Notification: Performance of simCode: created event and clocks part: time 1.345e-05/11.98, allocations: 0 / 3.915 GB, free: 491 MB / 1.748 GB Notification: Performance of simCode: created simulation system equations: time 0.05202/12.03, allocations: 22.1 MB / 3.936 GB, free: 469 MB / 1.748 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06225/12.1, allocations: 8.051 MB / 3.944 GB, free: 461.4 MB / 1.748 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08685/12.18, allocations: 49.43 MB / 3.992 GB, free: 412 MB / 1.748 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01506/12.2, allocations: 9.635 MB / 4.002 GB, free: 402.3 MB / 1.748 GB Notification: Performance of simCode: alias equations: time 0.0271/12.22, allocations: 6.741 MB / 4.008 GB, free: 395.5 MB / 1.748 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01169/12.24, allocations: 2.027 MB / 4.01 GB, free: 393.5 MB / 1.748 GB Notification: Performance of SimCode: time 2.374e-06/12.24, allocations: 0 / 4.01 GB, free: 393.5 MB / 1.748 GB Notification: Performance of Templates: time 2.335/14.57, allocations: 0.6593 GB / 4.67 GB, free: 417.3 MB / 1.748 GB " [Timeout remaining time 285] make -j1 -f Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 40.6075115440035] Failed to read output from testmodel.py, exit status != 0: 14.583311028007302 14.59205882 12.374492292 Calling exit ...