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.00172/0.00172, allocations: 106.2 kB / 16.45 MB, free: 6.453 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.001968/0.001968, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.536/1.536, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.224/3.224, allocations: 0.49 GB / 0.7915 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002722/0.002722, allocations: 69.53 kB / 1.149 GB, free: 26.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4694/0.4721, allocations: 176.1 MB / 1.321 GB, free: 2.746 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified3): time 1.315/1.787, allocations: 361.8 MB / 1.675 GB, free: 54.16 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.1001/1.887, allocations: 75.91 MB / 1.749 GB, free: 45.68 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02023/1.907, allocations: 0.5992 MB / 1.749 GB, free: 45.68 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01936/1.927, allocations: 6.599 MB / 1.756 GB, free: 43.93 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.04243/1.969, allocations: 14.67 MB / 1.77 GB, free: 34.77 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02729/1.996, allocations: 10.37 MB / 1.78 GB, free: 28.31 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.06952/2.066, allocations: 54.93 MB / 1.834 GB, free: 15.32 MB / 1.326 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02872/2.095, allocations: 16.96 MB / 1.85 GB, free: 14.89 MB / 1.342 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03962/2.134, allocations: 17.6 MB / 1.868 GB, free: 14.24 MB / 1.357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03221/2.167, allocations: 16.24 MB / 1.884 GB, free: 15.06 MB / 1.373 GB Notification: Performance of NFPackage.collectConstants: time 0.009358/2.176, allocations: 1.867 MB / 1.885 GB, free: 13.19 MB / 1.373 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02251/2.198, allocations: 6.19 MB / 1.891 GB, free: 7.273 MB / 1.373 GB Notification: Performance of NFScalarize.scalarize: time 0.01194/2.21, allocations: 6.263 MB / 1.898 GB, free: 1.23 MB / 1.373 GB Notification: Performance of NFVerifyModel.verify: time 0.02734/2.238, allocations: 10.78 MB / 1.908 GB, free: 6.637 MB / 1.389 GB Notification: Performance of NFConvertDAE.convert: time 0.05949/2.297, allocations: 30.2 MB / 1.938 GB, free: 9.602 MB / 1.42 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/2.297, allocations: 0 / 1.938 GB, free: 9.602 MB / 1.42 GB Notification: Performance of FrontEnd: time 1.673e-06/2.297, allocations: 0 / 1.938 GB, free: 9.602 MB / 1.42 GB Notification: Performance of Transformations before backend: time 0.0009967/2.298, allocations: 4 kB / 1.938 GB, free: 9.598 MB / 1.42 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.07427/2.372, allocations: 20.92 MB / 1.958 GB, free: 4.691 MB / 1.436 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/2.373, allocations: 12.02 kB / 1.958 GB, free: 4.68 MB / 1.436 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02001/2.393, allocations: 3.216 MB / 1.961 GB, free: 1.449 MB / 1.436 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05024/2.443, allocations: 20.33 MB / 1.981 GB, free: 13.43 MB / 1.467 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007767/2.444, allocations: 0.6496 MB / 1.982 GB, free: 12.79 MB / 1.467 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004653/2.448, allocations: 0.8863 MB / 1.982 GB, free: 11.9 MB / 1.467 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0413/2.489, allocations: 17.12 MB / 1.999 GB, free: 10.56 MB / 1.482 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002732/2.49, allocations: 11.88 kB / 1.999 GB, free: 10.55 MB / 1.482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002967/2.493, allocations: 316 kB / 2 GB, free: 10.24 MB / 1.482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002178/2.493, allocations: 208 kB / 2 GB, free: 10.04 MB / 1.482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04534/2.538, allocations: 21.38 MB / 2.021 GB, free: 4.637 MB / 1.498 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1535/2.692, allocations: 80.97 MB / 2.1 GB, free: 15.96 MB / 1.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02721/2.719, allocations: 12.47 MB / 2.112 GB, free: 3.742 MB / 1.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01896/2.738, allocations: 9.19 MB / 2.121 GB, free: 10.53 MB / 1.607 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.0749/2.813, allocations: 33.08 MB / 2.153 GB, free: 9.047 MB / 1.639 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02268/2.836, allocations: 10.49 MB / 2.163 GB, free: 14.53 MB / 1.654 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03416/2.87, allocations: 8.221 MB / 2.171 GB, free: 6.48 MB / 1.654 GB Notification: Performance of pre-optimization done (n=503): time 5.717e-05/2.87, allocations: 0 / 2.171 GB, free: 6.48 MB / 1.654 GB Notification: Performance of matching and sorting (n=742): time 2.431/5.3, allocations: 218.2 MB / 2.384 GB, free: 0.6051 GB / 1.748 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1088/5.409, allocations: 49 MB / 2.432 GB, free: 0.5564 GB / 1.748 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02695/5.436, allocations: 17 MB / 2.449 GB, free: 0.54 GB / 1.748 GB Notification: Performance of collectPreVariables (initialization): time 0.003676/5.44, allocations: 197.7 kB / 2.449 GB, free: 0.5398 GB / 1.748 GB Notification: Performance of collectInitialEqns (initialization): time 0.006953/5.447, allocations: 7.624 MB / 2.457 GB, free: 0.5328 GB / 1.748 GB Notification: Performance of collectInitialBindings (initialization): time 0.006684/5.453, allocations: 2.753 MB / 2.459 GB, free: 0.5305 GB / 1.748 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009215/5.463, allocations: 3.797 MB / 2.463 GB, free: 0.5268 GB / 1.748 GB Notification: Performance of setup shared object (initialization): time 3.256e-05/5.463, allocations: 309.1 kB / 2.463 GB, free: 0.5265 GB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02669/5.489, allocations: 19.44 MB / 2.482 GB, free: 0.5075 GB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02987/5.519, allocations: 22.19 MB / 2.504 GB, free: 496.4 MB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05585/5.575, allocations: 37.31 MB / 2.54 GB, free: 458.4 MB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.482e-05/5.575, allocations: 16 kB / 2.54 GB, free: 458.3 MB / 1.748 GB Notification: Performance of matching and sorting (n=1491) (initialization): time 0.6211/6.196, allocations: 132.2 MB / 2.669 GB, free: 326.3 MB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 8.61e-05/6.196, allocations: 59.72 kB / 2.669 GB, free: 326.2 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.284e-05/6.196, allocations: 56.16 kB / 2.67 GB, free: 326.1 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5938/6.79, allocations: 118 MB / 2.785 GB, free: 208.5 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0173/6.807, allocations: 3.162 MB / 2.788 GB, free: 205.4 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1514/6.959, allocations: 81.86 MB / 2.868 GB, free: 123.2 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09738/7.056, allocations: 6.583 MB / 2.874 GB, free: 116.6 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007033/7.063, allocations: 1.302 MB / 2.875 GB, free: 115.3 MB / 1.748 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04326/7.107, allocations: 22.52 MB / 2.897 GB, free: 92.74 MB / 1.748 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0362/7.143, allocations: 21.68 MB / 2.919 GB, free: 70.04 MB / 1.748 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06482/7.208, allocations: 36.28 MB / 2.954 GB, free: 32.99 MB / 1.748 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.097e-05/7.208, allocations: 16 kB / 2.954 GB, free: 32.98 MB / 1.748 GB Notification: Performance of matching and sorting (n=1491) (initialization_lambda0): time 2.021/9.228, allocations: 130.6 MB / 3.082 GB, free: 0.5931 GB / 1.748 GB Notification: Performance of prepare postOptimizeDAE: time 7.576e-05/9.228, allocations: 53.89 kB / 3.082 GB, free: 0.5931 GB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-05/9.229, allocations: 57.03 kB / 3.082 GB, free: 0.593 GB / 1.748 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5983/9.827, allocations: 117.6 MB / 3.197 GB, free: 490 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01561/9.842, allocations: 3.157 MB / 3.2 GB, free: 486.8 MB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1497/9.992, allocations: 86.09 MB / 3.284 GB, free: 400.6 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.09846/10.09, allocations: 6.628 MB / 3.29 GB, free: 394 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006895/10.1, allocations: 1.267 MB / 3.291 GB, free: 392.7 MB / 1.748 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1043): * Single equations (assignments): 1023 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,80), (5,80)} Notification: Performance of prepare postOptimizeDAE: time 0.008798/10.11, allocations: 0.7181 MB / 3.292 GB, free: 392 MB / 1.748 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009726/10.12, allocations: 1.606 MB / 3.294 GB, free: 390.4 MB / 1.748 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2192/10.34, allocations: 59.96 MB / 3.352 GB, free: 330.7 MB / 1.748 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2265/10.56, allocations: 63.65 MB / 3.414 GB, free: 267.2 MB / 1.748 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001712/10.56, allocations: 28 kB / 3.414 GB, free: 267.2 MB / 1.748 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2166/10.78, allocations: 62.98 MB / 3.476 GB, free: 204.4 MB / 1.748 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3124/11.09, allocations: 127.1 MB / 3.6 GB, free: 77.51 MB / 1.748 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.779e-05/11.09, allocations: 128 / 3.6 GB, free: 77.51 MB / 1.748 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01171/11.1, allocations: 2.125 MB / 3.602 GB, free: 75.38 MB / 1.748 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.141/12.24, allocations: 78.43 MB / 3.679 GB, free: 0.6083 GB / 1.748 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004077/12.25, allocations: 0.5331 MB / 3.679 GB, free: 0.6083 GB / 1.748 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09985/12.35, allocations: 55.66 MB / 3.734 GB, free: 0.5952 GB / 1.748 GB Warning: The linear system: 1 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 2 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow 3 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow ; valHea.m_flow ; spl1.res1.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; -bou.ports[1].m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ] might be structurally or numerically singular for variable spl1.res1.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 2 : valNorth.res1.m_flow + valSouth.res1.m_flow + (-valHea.m_flow) - valCoo.m_flow = 0.0 3 : 0.0 = spl1.res1.m_flow + (-bou.ports[1].m_flow) - valHea.m_flow [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow ; valHea.m_flow ; valCoo.m_flow ] = [ tabsSouth1[2].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[1].m_flow + (-valSouth.res3.m_flow) - valNorth.res3.m_flow ; (-valNorth.res1.m_flow) - valSouth.res1.m_flow ; -bou.ports[1].m_flow ] might be structurally or numerically singular for variable valCoo.m_flow since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 3 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 [ 1.0 , 0.0 , 1.0 ; 0.0 , -1.0 , -1.0 ; -1.0 , 1.0 , 0.0 ] * [ spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 - tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 2 : 0.0 = spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 3 : valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 = 0.0 [ 1.0 , 0.0 , 1.0 ; 0.0 , 1.0 , -1.0 ; -1.0 , -1.0 , 0.0 ] * [ valCoo.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; valHea.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] = [ tabsNorth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsSouth2.8.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth1.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.2.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.4.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.5.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.6.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + tabsNorth2.7.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 + (-valSouth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valNorth.res3.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; -bou.ports.1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ; (-valNorth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24) - valSouth.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 ] might be structurally or numerically singular for variable spl1.res1.m_flow.$pDERStateSetJac24.dummyVarStateSetJac24 since U(3,3) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.09693/12.44, allocations: 48.73 MB / 3.781 GB, free: 0.5685 GB / 1.748 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2545/12.7, allocations: 90.64 MB / 3.87 GB, free: 495.3 MB / 1.748 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01781/12.72, allocations: 5.405 MB / 3.875 GB, free: 489.9 MB / 1.748 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008588/12.73, allocations: 164 kB / 3.875 GB, free: 489.7 MB / 1.748 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05579/12.78, allocations: 3.477 MB / 3.879 GB, free: 486.3 MB / 1.748 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005517/12.79, allocations: 0.8179 MB / 3.879 GB, free: 485.4 MB / 1.748 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003918/12.79, allocations: 0.6197 MB / 3.88 GB, free: 484.8 MB / 1.748 GB Notification: Performance of sorting global known variables: time 0.02694/12.82, allocations: 11.59 MB / 3.891 GB, free: 473.3 MB / 1.748 GB Notification: Performance of sort global known variables: time 5.21e-07/12.82, allocations: 0 / 3.891 GB, free: 473.3 MB / 1.748 GB Notification: Performance of remove unused functions: time 0.1103/12.93, allocations: 34.91 MB / 3.925 GB, free: 438.6 MB / 1.748 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 42 ($STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pmpSouth.vol.dynBal.U,pmpNorth.vol.dynBal.U,valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,vol.p) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (556): * Single equations (assignments): 535 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(7,83), (1,1), (38,166)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007407/12.94, allocations: 1.847 MB / 3.927 GB, free: 437 MB / 1.748 GB Notification: Performance of simCode: created initialization part: time 0.1301/13.07, allocations: 69.4 MB / 3.995 GB, free: 367.6 MB / 1.748 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/13.07, allocations: 8.062 kB / 3.995 GB, free: 367.6 MB / 1.748 GB Notification: Performance of simCode: created simulation system equations: time 0.05573/13.12, allocations: 22.11 MB / 4.016 GB, free: 345.5 MB / 1.748 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06399/13.19, allocations: 8.083 MB / 4.024 GB, free: 337.7 MB / 1.748 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09094/13.28, allocations: 49.37 MB / 4.073 GB, free: 288.2 MB / 1.748 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.018/13.29, allocations: 9.902 MB / 4.082 GB, free: 278.2 MB / 1.748 GB Notification: Performance of simCode: alias equations: time 0.03192/13.33, allocations: 6.773 MB / 4.089 GB, free: 271.5 MB / 1.748 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01289/13.34, allocations: 2.031 MB / 4.091 GB, free: 269.4 MB / 1.748 GB Notification: Performance of SimCode: time 1.593e-06/13.34, allocations: 0 / 4.091 GB, free: 269.4 MB / 1.748 GB Notification: Performance of Templates: time 1.624/14.96, allocations: 0.623 GB / 4.714 GB, free: 315.3 MB / 1.748 GB " [Timeout remaining time 285] make -j1 -f Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; mkfifo Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe >> ../files/Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.sim & ./Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Examples.FlowSystem.Simplified3.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 37.69415983790532] Failed to read output from testmodel.py, exit status != 0: 14.97576213395223 14.983702386 12.683835096 Calling exit ...