Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001769/0.001769, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00212/0.00212, allocations: 220.3 kB / 23 MB, free: 4.914 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.275/3.275, allocations: 0.5107 GB / 0.8166 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002133/0.002133, allocations: 62.62 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3529, allocations: 181.9 MB / 1.365 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.174/1.527, allocations: 329 MB / 1.686 GB, free: 49.52 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.0929/1.62, allocations: 70.67 MB / 1.755 GB, free: 33.53 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01717/1.637, allocations: 0.5963 MB / 1.756 GB, free: 33.53 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01836/1.656, allocations: 6.382 MB / 1.762 GB, free: 30.51 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.03853/1.694, allocations: 14.95 MB / 1.776 GB, free: 19.33 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02238/1.716, allocations: 10.45 MB / 1.787 GB, free: 11.75 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.07444/1.791, allocations: 56 MB / 1.841 GB, free: 13.83 MB / 1.342 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02581/1.817, allocations: 15.36 MB / 1.856 GB, free: 14.32 MB / 1.357 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04224/1.859, allocations: 18.38 MB / 1.874 GB, free: 11.91 MB / 1.373 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03458/1.894, allocations: 15.95 MB / 1.89 GB, free: 11.91 MB / 1.389 GB Notification: Performance of NFPackage.collectConstants: time 0.008636/1.902, allocations: 1.758 MB / 1.892 GB, free: 10.16 MB / 1.389 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02319/1.925, allocations: 5.118 MB / 1.897 GB, free: 5.031 MB / 1.389 GB Notification: Performance of NFScalarize.scalarize: time 0.01232/1.938, allocations: 6.1 MB / 1.902 GB, free: 14.91 MB / 1.404 GB Notification: Performance of NFVerifyModel.verify: time 0.025/1.963, allocations: 8.715 MB / 1.911 GB, free: 6.156 MB / 1.404 GB Notification: Performance of NFConvertDAE.convert: time 0.05474/2.017, allocations: 29.48 MB / 1.94 GB, free: 8.574 MB / 1.436 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/2.017, allocations: 3.938 kB / 1.94 GB, free: 8.57 MB / 1.436 GB Notification: Performance of FrontEnd: time 1.603e-06/2.017, allocations: 0 / 1.94 GB, free: 8.57 MB / 1.436 GB Notification: Performance of Transformations before backend: time 0.001049/2.018, allocations: 0 / 1.94 GB, free: 8.57 MB / 1.436 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.05856/2.077, allocations: 20.64 MB / 1.96 GB, free: 3.766 MB / 1.451 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/2.077, allocations: 8.031 kB / 1.96 GB, free: 3.758 MB / 1.451 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0179/2.095, allocations: 3.208 MB / 1.963 GB, free: 0.5352 MB / 1.451 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04657/2.142, allocations: 19.29 MB / 1.982 GB, free: 13.09 MB / 1.482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008806/2.142, allocations: 0.6438 MB / 1.983 GB, free: 12.45 MB / 1.482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005017/2.147, allocations: 0.8787 MB / 1.983 GB, free: 11.57 MB / 1.482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04436/2.192, allocations: 18.06 MB / 2.001 GB, free: 9.051 MB / 1.498 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002685/2.192, allocations: 7.938 kB / 2.001 GB, free: 9.043 MB / 1.498 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002947/2.195, allocations: 320 kB / 2.001 GB, free: 8.73 MB / 1.498 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002284/2.195, allocations: 207.9 kB / 2.002 GB, free: 8.527 MB / 1.498 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04625/2.242, allocations: 21.38 MB / 2.022 GB, free: 3.125 MB / 1.514 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.151/2.393, allocations: 61.03 MB / 2.082 GB, free: 5.484 MB / 1.576 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02713/2.42, allocations: 12.3 MB / 2.094 GB, free: 9.465 MB / 1.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01859/2.438, allocations: 9.2 MB / 2.103 GB, free: 256 kB / 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.07705/2.515, allocations: 28.84 MB / 2.131 GB, free: 3.32 MB / 1.623 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02399/2.539, allocations: 11.44 MB / 2.142 GB, free: 7.621 MB / 1.639 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03361/2.573, allocations: 8.204 MB / 2.15 GB, free: 15.41 MB / 1.654 GB Notification: Performance of pre-optimization done (n=503): time 5.463e-05/2.573, allocations: 0 / 2.15 GB, free: 15.41 MB / 1.654 GB Notification: Performance of matching and sorting (n=742): time 1.695/4.268, allocations: 218 MB / 2.363 GB, free: 0.6363 GB / 1.779 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1161/4.384, allocations: 47.44 MB / 2.41 GB, free: 0.601 GB / 1.779 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03082/4.415, allocations: 16.7 MB / 2.426 GB, free: 0.585 GB / 1.779 GB Notification: Performance of collectPreVariables (initialization): time 0.004539/4.419, allocations: 201.7 kB / 2.426 GB, free: 0.5848 GB / 1.779 GB Notification: Performance of collectInitialEqns (initialization): time 0.009248/4.429, allocations: 7.627 MB / 2.434 GB, free: 0.5788 GB / 1.779 GB Notification: Performance of collectInitialBindings (initialization): time 0.00906/4.438, allocations: 2.756 MB / 2.436 GB, free: 0.5775 GB / 1.779 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01543/4.453, allocations: 3.781 MB / 2.44 GB, free: 0.5738 GB / 1.779 GB Notification: Performance of setup shared object (initialization): time 5.225e-05/4.453, allocations: 301.1 kB / 2.44 GB, free: 0.5736 GB / 1.779 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03053/4.484, allocations: 19.5 MB / 2.459 GB, free: 0.5545 GB / 1.779 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03233/4.516, allocations: 24.42 MB / 2.483 GB, free: 0.5291 GB / 1.779 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05728/4.573, allocations: 37.37 MB / 2.52 GB, free: 0.4919 GB / 1.779 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.927e-05/4.573, allocations: 12 kB / 2.52 GB, free: 0.4919 GB / 1.779 GB Notification: Performance of matching and sorting (n=1491) (initialization): time 0.6084/5.182, allocations: 132.3 MB / 2.649 GB, free: 371.3 MB / 1.779 GB Notification: Performance of prepare postOptimizeDAE: time 8.914e-05/5.182, allocations: 57.7 kB / 2.649 GB, free: 371.2 MB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.486e-05/5.182, allocations: 60 kB / 2.649 GB, free: 371.2 MB / 1.779 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5897/5.772, allocations: 117.8 MB / 2.764 GB, free: 253.4 MB / 1.779 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01638/5.788, allocations: 3.178 MB / 2.767 GB, free: 250.3 MB / 1.779 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1372/5.925, allocations: 80.9 MB / 2.846 GB, free: 169 MB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09165/6.017, allocations: 6.57 MB / 2.853 GB, free: 162.4 MB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005207/6.022, allocations: 1.294 MB / 2.854 GB, free: 161.1 MB / 1.779 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03534/6.057, allocations: 22.58 MB / 2.876 GB, free: 138.5 MB / 1.779 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02951/6.087, allocations: 23.9 MB / 2.899 GB, free: 113.1 MB / 1.779 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05347/6.14, allocations: 36.33 MB / 2.935 GB, free: 75.99 MB / 1.779 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.682e-05/6.141, allocations: 15.94 kB / 2.935 GB, free: 75.98 MB / 1.779 GB Notification: Performance of matching and sorting (n=1491) (initialization_lambda0): time 1.392/7.533, allocations: 130.7 MB / 3.062 GB, free: 0.6263 GB / 1.779 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-05/7.533, allocations: 59.97 kB / 3.062 GB, free: 0.6263 GB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.37e-05/7.533, allocations: 52.78 kB / 3.062 GB, free: 0.6263 GB / 1.779 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5936/8.127, allocations: 117.5 MB / 3.177 GB, free: 0.5412 GB / 1.779 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01535/8.142, allocations: 3.142 MB / 3.18 GB, free: 0.5383 GB / 1.779 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1476/8.29, allocations: 84.11 MB / 3.262 GB, free: 467.3 MB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09182/8.382, allocations: 6.606 MB / 3.269 GB, free: 460.7 MB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006088/8.388, allocations: 1.267 MB / 3.27 GB, free: 459.4 MB / 1.779 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.00925/8.397, allocations: 0.7125 MB / 3.271 GB, free: 458.7 MB / 1.779 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007934/8.405, allocations: 1.598 MB / 3.272 GB, free: 458 MB / 1.779 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2229/8.628, allocations: 59.97 MB / 3.331 GB, free: 398.3 MB / 1.779 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2167/8.844, allocations: 63.67 MB / 3.393 GB, free: 334.8 MB / 1.779 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001472/8.845, allocations: 28 kB / 3.393 GB, free: 334.8 MB / 1.779 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.211/9.056, allocations: 63.02 MB / 3.455 GB, free: 271.8 MB / 1.779 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2832/9.339, allocations: 107.7 MB / 3.56 GB, free: 164.3 MB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.923e-05/9.339, allocations: 4 kB / 3.56 GB, free: 164.3 MB / 1.779 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0115/9.35, allocations: 2.133 MB / 3.562 GB, free: 162.2 MB / 1.779 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3206/9.671, allocations: 78.25 MB / 3.638 GB, free: 84.04 MB / 1.779 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003628/9.675, allocations: 0.5405 MB / 3.639 GB, free: 83.5 MB / 1.779 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09531/9.77, allocations: 54.96 MB / 3.692 GB, free: 28.53 MB / 1.779 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.035/10.8, allocations: 46.47 MB / 3.738 GB, free: 0.6137 GB / 1.779 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2663/11.07, allocations: 90.69 MB / 3.826 GB, free: 0.5924 GB / 1.779 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01793/11.09, allocations: 5.472 MB / 3.832 GB, free: 0.5887 GB / 1.779 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007953/11.1, allocations: 165.4 kB / 3.832 GB, free: 0.5886 GB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05335/11.15, allocations: 3.461 MB / 3.835 GB, free: 0.587 GB / 1.779 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005017/11.16, allocations: 0.8497 MB / 3.836 GB, free: 0.5867 GB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003304/11.16, allocations: 0.6172 MB / 3.837 GB, free: 0.5865 GB / 1.779 GB Notification: Performance of sorting global known variables: time 0.02263/11.18, allocations: 11.32 MB / 3.848 GB, free: 0.5762 GB / 1.779 GB Notification: Performance of sort global known variables: time 1.3e-07/11.18, allocations: 0 / 3.848 GB, free: 0.5762 GB / 1.779 GB Notification: Performance of remove unused functions: time 0.08373/11.27, allocations: 34.85 MB / 3.882 GB, free: 0.5423 GB / 1.779 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.007523/11.27, allocations: 1.809 MB / 3.884 GB, free: 0.541 GB / 1.779 GB Notification: Performance of simCode: created initialization part: time 0.1233/11.4, allocations: 69.43 MB / 3.951 GB, free: 484.8 MB / 1.779 GB Notification: Performance of simCode: created event and clocks part: time 1.359e-05/11.4, allocations: 0 / 3.951 GB, free: 484.8 MB / 1.779 GB Notification: Performance of simCode: created simulation system equations: time 0.0525/11.45, allocations: 22.11 MB / 3.973 GB, free: 462.7 MB / 1.779 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05447/11.5, allocations: 8.053 MB / 3.981 GB, free: 455.1 MB / 1.779 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08478/11.59, allocations: 49.8 MB / 4.029 GB, free: 405.2 MB / 1.779 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01329/11.6, allocations: 9.399 MB / 4.039 GB, free: 395.8 MB / 1.779 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0124/11.61, allocations: 2.086 MB / 4.041 GB, free: 393.7 MB / 1.779 GB Notification: Performance of SimCode: time 1.733e-06/11.61, allocations: 0 / 4.041 GB, free: 393.7 MB / 1.779 GB Notification: Performance of Templates: time 3.93/15.54, allocations: 1.307 GB / 5.348 GB, free: 423.6 MB / 1.779 GB " [Timeout remaining time 284] make -j1 -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 800] Could not SIGINT process: 2098860. Could not SIGINT process: 2098861. Could not SIGINT process: 2098864. Could not SIGINT process: 2097050. [Calling os._exit(0), Time elapsed: 896.1533126118593] Failed to read output from testmodel.py, exit status != 0: 15.554066894110292 15.563415936 13.543216139 Calling exit ...