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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 187.7 kB / 22.23 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.859/2.859, allocations: 496 MB / 0.7835 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_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 0.001861/0.001861, allocations: 69.14 kB / 1.138 GB, free: 33.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3296, allocations: 173.6 MB / 1.307 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.033/1.363, allocations: 364 MB / 1.663 GB, free: 60.73 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.08978/1.452, allocations: 76.13 MB / 1.737 GB, free: 55.77 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01596/1.468, allocations: 0.5911 MB / 1.738 GB, free: 55.77 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01805/1.486, allocations: 6.702 MB / 1.744 GB, free: 54.47 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.0386/1.525, allocations: 14.9 MB / 1.759 GB, free: 47.26 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02407/1.549, allocations: 10.62 MB / 1.769 GB, free: 40.57 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.06829/1.617, allocations: 56.19 MB / 1.824 GB, free: 12.58 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0257/1.643, allocations: 15.4 MB / 1.839 GB, free: 13.73 MB / 1.326 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03833/1.681, allocations: 17.6 MB / 1.856 GB, free: 13.07 MB / 1.342 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02989/1.711, allocations: 16.26 MB / 1.872 GB, free: 13.87 MB / 1.357 GB Notification: Performance of NFPackage.collectConstants: time 0.008283/1.72, allocations: 1.867 MB / 1.874 GB, free: 12 MB / 1.357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.021/1.741, allocations: 6.116 MB / 1.88 GB, free: 6.172 MB / 1.357 GB Notification: Performance of NFScalarize.scalarize: time 0.01001/1.751, allocations: 6.254 MB / 1.886 GB, free: 140 kB / 1.357 GB Notification: Performance of NFVerifyModel.verify: time 0.02097/1.772, allocations: 10.76 MB / 1.897 GB, free: 5.57 MB / 1.373 GB Notification: Performance of NFConvertDAE.convert: time 0.0476/1.819, allocations: 29.88 MB / 1.926 GB, free: 8.812 MB / 1.404 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/1.819, allocations: 4 kB / 1.926 GB, free: 8.809 MB / 1.404 GB Notification: Performance of FrontEnd: time 1.784e-06/1.819, allocations: 0 / 1.926 GB, free: 8.809 MB / 1.404 GB Notification: Performance of Transformations before backend: time 0.000859/1.82, allocations: 0 / 1.926 GB, free: 8.809 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: 1949 * Number of variables: 1949 Notification: Performance of Generate backend data structure: time 0.05633/1.876, allocations: 20.78 MB / 1.946 GB, free: 4.078 MB / 1.42 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/1.876, allocations: 16.86 kB / 1.946 GB, free: 4.062 MB / 1.42 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0169/1.893, allocations: 3.185 MB / 1.949 GB, free: 0.8633 MB / 1.42 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04589/1.939, allocations: 20.19 MB / 1.969 GB, free: 12.93 MB / 1.451 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000821/1.94, allocations: 0.6392 MB / 1.97 GB, free: 12.29 MB / 1.451 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004708/1.945, allocations: 0.8896 MB / 1.97 GB, free: 11.4 MB / 1.451 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04031/1.985, allocations: 17.11 MB / 1.987 GB, free: 10.07 MB / 1.467 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003185/1.985, allocations: 19.88 kB / 1.987 GB, free: 10.05 MB / 1.467 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003304/1.989, allocations: 319 kB / 1.987 GB, free: 9.738 MB / 1.467 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002319/1.989, allocations: 204 kB / 1.988 GB, free: 9.539 MB / 1.467 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0433/2.032, allocations: 21.39 MB / 2.009 GB, free: 4.129 MB / 1.482 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.1347/2.167, allocations: 80.99 MB / 2.088 GB, free: 15.63 MB / 1.576 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02477/2.192, allocations: 12.33 MB / 2.1 GB, free: 3.574 MB / 1.576 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01802/2.21, allocations: 9.197 MB / 2.109 GB, free: 10.37 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.06805/2.278, allocations: 31.66 MB / 2.14 GB, free: 10.75 MB / 1.623 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01896/2.297, allocations: 10.49 MB / 2.15 GB, free: 244 kB / 1.623 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02657/2.323, allocations: 8.221 MB / 2.158 GB, free: 8.188 MB / 1.639 GB Notification: Performance of pre-optimization done (n=503): time 2.366e-05/2.323, allocations: 0 / 2.158 GB, free: 8.188 MB / 1.639 GB Notification: Performance of matching and sorting (n=742): time 1.5/3.823, allocations: 217.9 MB / 2.371 GB, free: 0.6094 GB / 1.732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1113/3.934, allocations: 48.74 MB / 2.418 GB, free: 0.561 GB / 1.732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03185/3.966, allocations: 16.92 MB / 2.435 GB, free: 0.5447 GB / 1.732 GB Notification: Performance of collectPreVariables (initialization): time 0.003908/3.97, allocations: 201.7 kB / 2.435 GB, free: 0.5445 GB / 1.732 GB Notification: Performance of collectInitialEqns (initialization): time 0.007964/3.978, allocations: 7.574 MB / 2.442 GB, free: 0.5375 GB / 1.732 GB Notification: Performance of collectInitialBindings (initialization): time 0.006758/3.985, allocations: 2.756 MB / 2.445 GB, free: 0.535 GB / 1.732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01386/3.999, allocations: 3.793 MB / 2.449 GB, free: 0.5313 GB / 1.732 GB Notification: Performance of setup shared object (initialization): time 4.063e-05/3.999, allocations: 305.2 kB / 2.449 GB, free: 0.531 GB / 1.732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02723/4.026, allocations: 19.46 MB / 2.468 GB, free: 0.512 GB / 1.732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02927/4.055, allocations: 22.23 MB / 2.49 GB, free: 0.4893 GB / 1.732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05391/4.109, allocations: 37.34 MB / 2.526 GB, free: 462.9 MB / 1.732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.578e-05/4.109, allocations: 16 kB / 2.526 GB, free: 462.9 MB / 1.732 GB Notification: Performance of matching and sorting (n=1491) (initialization): time 0.5265/4.636, allocations: 132.2 MB / 2.655 GB, free: 330.6 MB / 1.732 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001303/4.636, allocations: 53.7 kB / 2.655 GB, free: 330.5 MB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001129/4.636, allocations: 55.94 kB / 2.655 GB, free: 330.5 MB / 1.732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4992/5.135, allocations: 118 MB / 2.771 GB, free: 212.6 MB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01573/5.151, allocations: 3.178 MB / 2.774 GB, free: 209.4 MB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1264/5.277, allocations: 81.76 MB / 2.854 GB, free: 127.3 MB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07092/5.348, allocations: 6.569 MB / 2.86 GB, free: 120.7 MB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005497/5.354, allocations: 1.302 MB / 2.861 GB, free: 119.4 MB / 1.732 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03419/5.388, allocations: 22.53 MB / 2.883 GB, free: 96.85 MB / 1.732 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02682/5.415, allocations: 21.69 MB / 2.904 GB, free: 74.14 MB / 1.732 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04923/5.464, allocations: 36.32 MB / 2.94 GB, free: 37.05 MB / 1.732 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.135e-05/5.464, allocations: 20 kB / 2.94 GB, free: 37.03 MB / 1.732 GB Notification: Performance of matching and sorting (n=1491) (initialization_lambda0): time 1.185/6.649, allocations: 130.6 MB / 3.067 GB, free: 0.6012 GB / 1.732 GB Notification: Performance of prepare postOptimizeDAE: time 9.626e-05/6.649, allocations: 57.69 kB / 3.068 GB, free: 0.6012 GB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.952e-05/6.649, allocations: 52 kB / 3.068 GB, free: 0.6011 GB / 1.732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4912/7.14, allocations: 117.6 MB / 3.182 GB, free: 498.3 MB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01431/7.155, allocations: 3.147 MB / 3.186 GB, free: 495.1 MB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1329/7.288, allocations: 85.89 MB / 3.269 GB, free: 409.2 MB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07064/7.358, allocations: 6.618 MB / 3.276 GB, free: 402.6 MB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005218/7.364, allocations: 1.275 MB / 3.277 GB, free: 401.3 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 (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.006037/7.37, allocations: 0.7184 MB / 3.278 GB, free: 400.6 MB / 1.732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006868/7.376, allocations: 1.591 MB / 3.279 GB, free: 399 MB / 1.732 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1855/7.562, allocations: 59.96 MB / 3.338 GB, free: 339.3 MB / 1.732 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1858/7.748, allocations: 63.66 MB / 3.4 GB, free: 275.7 MB / 1.732 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001612/7.748, allocations: 32 kB / 3.4 GB, free: 275.6 MB / 1.732 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1815/7.929, allocations: 63 MB / 3.462 GB, free: 212.6 MB / 1.732 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2722/8.202, allocations: 127 MB / 3.586 GB, free: 85.59 MB / 1.732 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.232e-05/8.202, allocations: 4 kB / 3.586 GB, free: 85.59 MB / 1.732 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01043/8.212, allocations: 2.133 MB / 3.588 GB, free: 83.45 MB / 1.732 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.92/9.132, allocations: 78.42 MB / 3.664 GB, free: 0.6098 GB / 1.732 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003107/9.135, allocations: 0.5375 MB / 3.665 GB, free: 0.6098 GB / 1.732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0868/9.222, allocations: 55.55 MB / 3.719 GB, free: 0.5974 GB / 1.732 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.08425/9.306, allocations: 47.63 MB / 3.766 GB, free: 0.5758 GB / 1.732 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2206/9.527, allocations: 90.66 MB / 3.854 GB, free: 0.4972 GB / 1.732 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01623/9.543, allocations: 5.498 MB / 3.86 GB, free: 0.4919 GB / 1.732 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0075/9.551, allocations: 167.7 kB / 3.86 GB, free: 0.4917 GB / 1.732 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04131/9.592, allocations: 3.483 MB / 3.863 GB, free: 0.4883 GB / 1.732 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004485/9.596, allocations: 0.8488 MB / 3.864 GB, free: 499.2 MB / 1.732 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003101/9.6, allocations: 0.6236 MB / 3.865 GB, free: 498.6 MB / 1.732 GB Notification: Performance of sorting global known variables: time 0.01874/9.618, allocations: 11.54 MB / 3.876 GB, free: 487.1 MB / 1.732 GB Notification: Performance of sort global known variables: time 1.71e-07/9.618, allocations: 4 kB / 3.876 GB, free: 487.1 MB / 1.732 GB Notification: Performance of remove unused functions: time 0.07463/9.693, allocations: 34.88 MB / 3.91 GB, free: 452.4 MB / 1.732 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.005958/9.699, allocations: 1.897 MB / 3.912 GB, free: 450.8 MB / 1.732 GB Notification: Performance of simCode: created initialization part: time 0.1126/9.811, allocations: 69.44 MB / 3.98 GB, free: 381.3 MB / 1.732 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/9.811, allocations: 4 kB / 3.98 GB, free: 381.3 MB / 1.732 GB Notification: Performance of simCode: created simulation system equations: time 0.04723/9.859, allocations: 22.12 MB / 4.001 GB, free: 359.2 MB / 1.732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0509/9.91, allocations: 8.075 MB / 4.009 GB, free: 351.4 MB / 1.732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07931/9.989, allocations: 49.34 MB / 4.057 GB, free: 301.9 MB / 1.732 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01673/10.01, allocations: 9.861 MB / 4.067 GB, free: 291.9 MB / 1.732 GB Notification: Performance of simCode: alias equations: time 0.03057/10.04, allocations: 6.764 MB / 4.073 GB, free: 285.2 MB / 1.732 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01212/10.05, allocations: 2.027 MB / 4.075 GB, free: 283.1 MB / 1.732 GB Notification: Performance of SimCode: time 1.433e-06/10.05, allocations: 0 / 4.075 GB, free: 283.1 MB / 1.732 GB Notification: Performance of Templates: time 2.154/12.2, allocations: 0.6372 GB / 4.713 GB, free: 315.6 MB / 1.733 GB " [Timeout remaining time 288] 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 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 34.7630626661703] Failed to read output from testmodel.py, exit status != 0: 12.211256733164191 12.219955949 10.398469276 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f51cb9017b0>