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.0009466/0.0009466, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 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.0009695/0.0009695, allocations: 181 kB / 24.09 MB, free: 420 kB / 18.57 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 0.9173/0.9173, allocations: 177.1 MB / 204.5 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.768/1.768, allocations: 377.9 MB / 0.624 GB, free: 8.395 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.8121 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.194e-05/1.321e-05, allocations: 2.312 kB / 0.8121 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 0.04753/0.04755, allocations: 74.39 MB / 0.8847 GB, free: 6.773 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.04755/0.09509, allocations: 30.5 MB / 0.9145 GB, free: 8.258 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0129/0.108, allocations: 0.6003 MB / 0.9151 GB, free: 7.652 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.008896/0.1169, allocations: 4.244 MB / 0.9192 GB, free: 3.383 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.01721/0.1341, allocations: 10.3 MB / 0.9293 GB, free: 9.023 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.01694/0.151, allocations: 9.6 MB / 0.9387 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.06657/0.2176, allocations: 66.24 MB / 1.003 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02229/0.2399, allocations: 16.82 MB / 1.02 GB, free: 12.02 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03866/0.2786, allocations: 21.83 MB / 1.041 GB, free: 6.25 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6674/0.946, allocations: 14.69 MB / 1.055 GB, free: 123 MB / 0.9949 GB Notification: Performance of NFPackage.collectConstants: time 0.006206/0.9522, allocations: 1.72 MB / 1.057 GB, free: 123 MB / 0.9949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01203/0.9642, allocations: 2.67 MB / 1.06 GB, free: 123 MB / 0.9949 GB Notification: Performance of NFScalarize.scalarize: time 0.008878/0.9731, allocations: 6.224 MB / 1.066 GB, free: 123 MB / 0.9949 GB Notification: Performance of NFVerifyModel.verify: time 0.01777/0.9909, allocations: 7.316 MB / 1.073 GB, free: 123 MB / 0.9949 GB Notification: Performance of NFConvertDAE.convert: time 0.03545/1.026, allocations: 18.84 MB / 1.091 GB, free: 121.9 MB / 0.9949 GB Notification: Performance of FrontEnd - DAE generated: time 8.836e-06/1.026, allocations: 0 / 1.091 GB, free: 121.9 MB / 0.9949 GB Notification: Performance of FrontEnd: time 1.633e-06/1.026, allocations: 1.125 kB / 1.091 GB, free: 121.9 MB / 0.9949 GB Notification: Performance of Transformations before backend: time 0.001036/1.027, allocations: 0 / 1.091 GB, free: 121.9 MB / 0.9949 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.05561/1.083, allocations: 20.34 MB / 1.111 GB, free: 113.2 MB / 0.9949 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/1.083, allocations: 15.97 kB / 1.111 GB, free: 113.2 MB / 0.9949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01629/1.099, allocations: 3.617 MB / 1.115 GB, free: 112 MB / 0.9949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02974/1.129, allocations: 15.93 MB / 1.13 GB, free: 108.8 MB / 0.9949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005875/1.13, allocations: 0.6427 MB / 1.131 GB, free: 108.7 MB / 0.9949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005497/1.135, allocations: 0.9021 MB / 1.132 GB, free: 108.7 MB / 0.9949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0289/1.164, allocations: 10.42 MB / 1.142 GB, free: 106.5 MB / 0.9949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002631/1.164, allocations: 12.06 kB / 1.142 GB, free: 106.5 MB / 0.9949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003993/1.168, allocations: 322.3 kB / 1.142 GB, free: 106.5 MB / 0.9949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001828/1.168, allocations: 206.5 kB / 1.143 GB, free: 106.5 MB / 0.9949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01596/1.184, allocations: 6.244 MB / 1.149 GB, free: 106.3 MB / 0.9949 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.08197/1.266, allocations: 53.29 MB / 1.201 GB, free: 78 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00775/1.274, allocations: 5.606 MB / 1.206 GB, free: 76.35 MB / 0.9949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004503/1.279, allocations: 3.996 MB / 1.21 GB, free: 75.41 MB / 0.9949 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.03054/1.309, allocations: 20.43 MB / 1.23 GB, free: 57.86 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004188/1.313, allocations: 5.454 MB / 1.235 GB, free: 52.24 MB / 0.9949 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01572/1.329, allocations: 8 MB / 1.243 GB, free: 44.45 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=503): time 2.971e-05/1.329, allocations: 0 / 1.243 GB, free: 44.45 MB / 0.9949 GB Notification: Performance of matching and sorting (n=742): time 0.368/1.697, allocations: 127 MB / 1.367 GB, free: 13.48 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05059/1.748, allocations: 28.14 MB / 1.395 GB, free: 0.9531 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02451/1.772, allocations: 13.49 MB / 1.408 GB, free: 5.793 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.004121/1.776, allocations: 205.7 kB / 1.408 GB, free: 5.586 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.01056/1.787, allocations: 8.698 MB / 1.416 GB, free: 13.66 MB / 1.136 GB Notification: Performance of collectInitialBindings (initialization): time 0.006177/1.793, allocations: 2.81 MB / 1.419 GB, free: 11.01 MB / 1.136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01201/1.805, allocations: 3.173 MB / 1.422 GB, free: 8.055 MB / 1.136 GB Notification: Performance of setup shared object (initialization): time 0.0001184/1.805, allocations: 476.8 kB / 1.423 GB, free: 7.586 MB / 1.136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01014/1.815, allocations: 3.864 MB / 1.427 GB, free: 3.691 MB / 1.136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01306/1.828, allocations: 9.538 MB / 1.436 GB, free: 8.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02324/1.852, allocations: 11.86 MB / 1.447 GB, free: 12.04 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001037/1.852, allocations: 16 kB / 1.447 GB, free: 12.02 MB / 1.167 GB Notification: Performance of matching and sorting (n=1227) (initialization): time 0.6651/2.517, allocations: 67.4 MB / 1.513 GB, free: 315.3 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 8.459e-05/2.517, allocations: 55.42 kB / 1.513 GB, free: 315.2 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-05/2.517, allocations: 51.59 kB / 1.513 GB, free: 315.2 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3431/2.86, allocations: 142.7 MB / 1.653 GB, free: 252.8 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01064/2.871, allocations: 2.524 MB / 1.655 GB, free: 250.5 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07207/2.943, allocations: 39.96 MB / 1.694 GB, free: 216.8 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02825/2.971, allocations: 2.63 MB / 1.697 GB, free: 214.3 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004725/2.976, allocations: 1.185 MB / 1.698 GB, free: 213.2 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01398/2.99, allocations: 4.032 MB / 1.702 GB, free: 209.6 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009426/2.999, allocations: 9.444 MB / 1.711 GB, free: 199 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01701/3.016, allocations: 11.26 MB / 1.722 GB, free: 188.8 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.111e-05/3.016, allocations: 16 kB / 1.722 GB, free: 188.8 MB / 1.198 GB Notification: Performance of matching and sorting (n=1227) (initialization_lambda0): time 0.227/3.243, allocations: 66.69 MB / 1.787 GB, free: 125.4 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 6.6e-05/3.243, allocations: 55.89 kB / 1.787 GB, free: 125.4 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.335e-05/3.243, allocations: 52 kB / 1.787 GB, free: 125.3 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3264/3.57, allocations: 142.2 MB / 1.926 GB, free: 15.68 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00881/3.579, allocations: 2.504 MB / 1.929 GB, free: 13.28 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5408/4.119, allocations: 39.92 MB / 1.968 GB, free: 326.1 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03053/4.15, allocations: 2.647 MB / 1.97 GB, free: 325.4 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005611/4.155, allocations: 1.159 MB / 1.971 GB, free: 325.4 MB / 1.229 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 233 * 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 (907): * Single equations (assignments): 891 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * 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): 2 systems {(5,80,76.0%), (28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.006234/4.162, allocations: 0.762 MB / 1.972 GB, free: 325.1 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007386/4.169, allocations: 1.834 MB / 1.974 GB, free: 325.1 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09999/4.269, allocations: 38.73 MB / 2.012 GB, free: 322.4 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.09028/4.359, allocations: 36.9 MB / 2.048 GB, free: 320.4 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001114/4.359, allocations: 47.28 kB / 2.048 GB, free: 320.4 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09036/4.45, allocations: 36.44 MB / 2.083 GB, free: 293.3 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1282/4.578, allocations: 64.12 MB / 2.146 GB, free: 239.6 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.046e-05/4.578, allocations: 0.875 kB / 2.146 GB, free: 239.6 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006416/4.585, allocations: 1.744 MB / 2.148 GB, free: 237.9 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1991/4.784, allocations: 106.6 MB / 2.252 GB, free: 132.2 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003506/4.787, allocations: 0.5299 MB / 2.252 GB, free: 131.7 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05702/4.844, allocations: 31.82 MB / 2.283 GB, free: 100.3 MB / 1.229 GB Warning: The linear system: 1 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 3 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow ; valHea.m_flow ; spl1.res1.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ] might be structurally or numerically singular for variable spl1.res1.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 2 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 3 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow ; valHea.m_flow ; valCoo.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; -bou.ports[1].m_flow ] might be structurally or numerically singular for variable valCoo.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 3 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 3 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.04756/4.892, allocations: 31.44 MB / 2.314 GB, free: 68.43 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1189/5.011, allocations: 44.59 MB / 2.358 GB, free: 24.22 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01198/5.022, allocations: 4.032 MB / 2.362 GB, free: 20.17 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007717/5.03, allocations: 167.9 kB / 2.362 GB, free: 20.01 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01832/5.049, allocations: 1.297 MB / 2.363 GB, free: 18.71 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003809/5.052, allocations: 0.8846 MB / 2.364 GB, free: 17.82 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00225/5.055, allocations: 0.5573 MB / 2.364 GB, free: 17.27 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.01167/5.066, allocations: 6.804 MB / 2.371 GB, free: 11.25 MB / 1.229 GB Notification: Performance of sort global known variables: time 1.51e-07/5.066, allocations: 0 / 2.371 GB, free: 11.25 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.5544/5.621, allocations: 21.18 MB / 2.392 GB, free: 333.2 MB / 1.229 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): 3 systems {(28,28,89.3%), (7,83,69.4%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(38,166)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004218/5.625, allocations: 0.6139 MB / 2.392 GB, free: 333.1 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.06145/5.686, allocations: 28.1 MB / 2.42 GB, free: 331.1 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/5.686, allocations: 3.562 kB / 2.42 GB, free: 331.1 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.02539/5.712, allocations: 12.04 MB / 2.432 GB, free: 330.1 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03891/5.751, allocations: 10.22 MB / 2.442 GB, free: 329.2 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05737/5.808, allocations: 36.15 MB / 2.477 GB, free: 315.8 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007712/5.816, allocations: 4.181 MB / 2.481 GB, free: 315.3 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.0226/5.838, allocations: 3.299 MB / 2.484 GB, free: 314.1 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03322/5.872, allocations: 7.186 MB / 2.491 GB, free: 311.4 MB / 1.229 GB Notification: Performance of SimCode: time 2.184e-06/5.872, allocations: 4 kB / 2.491 GB, free: 311.4 MB / 1.229 GB Notification: Performance of Templates: time 1.034/6.905, allocations: 0.6695 GB / 3.161 GB, free: 131.9 MB / 1.261 GB " [Timeout remaining time 293] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 21.838987725786865]