Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Simplified1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified1") translateModel(Buildings.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pmpNorth.m_flow|pmpSouth.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001401, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 195.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.418/2.418, allocations: 390.2 MB / 0.6646 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.00122, allocations: 59.91 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6859/0.6871, allocations: 140.4 MB / 0.9496 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified1): time 0.8898/1.577, allocations: 355.6 MB / 1.297 GB, free: 60.1 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1019/1.679, allocations: 72.93 MB / 1.368 GB, free: 56.09 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01808/1.697, allocations: 426.2 kB / 1.368 GB, free: 56.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01678/1.714, allocations: 5.32 MB / 1.374 GB, free: 54.92 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.03843/1.752, allocations: 13.53 MB / 1.387 GB, free: 47.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.02438/1.777, allocations: 9.673 MB / 1.396 GB, free: 41.07 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.04614/1.823, allocations: 37.52 MB / 1.433 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03472/1.858, allocations: 19.83 MB / 1.452 GB, free: 6.695 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04291/1.901, allocations: 16.67 MB / 1.469 GB, free: 6.949 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03131/1.932, allocations: 15.89 MB / 1.484 GB, free: 8.16 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.008799/1.941, allocations: 1.875 MB / 1.486 GB, free: 6.285 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02278/1.964, allocations: 5.702 MB / 1.491 GB, free: 0.8359 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.01169/1.975, allocations: 5.818 MB / 1.497 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.02489/2, allocations: 10.34 MB / 1.507 GB, free: 1.082 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.04977/2.05, allocations: 28.54 MB / 1.535 GB, free: 5.594 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/2.05, allocations: 0 / 1.535 GB, free: 5.594 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.114e-06/2.05, allocations: 0 / 1.535 GB, free: 5.594 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.001012/2.051, allocations: 0 / 1.535 GB, free: 5.594 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.06732/2.118, allocations: 22.13 MB / 1.557 GB, free: 15.53 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/2.119, allocations: 8.031 kB / 1.557 GB, free: 15.52 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02091/2.139, allocations: 2.582 MB / 1.559 GB, free: 12.92 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05172/2.191, allocations: 15.42 MB / 1.574 GB, free: 13.75 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008528/2.192, allocations: 0.6847 MB / 1.575 GB, free: 13.07 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005365/2.197, allocations: 0.9269 MB / 1.576 GB, free: 12.15 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04536/2.243, allocations: 16.56 MB / 1.592 GB, free: 11.39 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002583/2.243, allocations: 19.88 kB / 1.592 GB, free: 11.38 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003027/2.246, allocations: 325.5 kB / 1.592 GB, free: 11.06 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003515/2.247, allocations: 371.2 kB / 1.593 GB, free: 10.7 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04022/2.287, allocations: 21.06 MB / 1.613 GB, free: 5.621 MB / 1.17 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.1391/2.426, allocations: 81.4 MB / 1.693 GB, free: 1.215 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02211/2.448, allocations: 12.84 MB / 1.705 GB, free: 4.613 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01497/2.463, allocations: 9.583 MB / 1.715 GB, free: 11.01 MB / 1.279 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 1.044/3.507, allocations: 34.48 MB / 1.748 GB, free: 0.4975 GB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01939/3.527, allocations: 9.793 MB / 1.758 GB, free: 0.4942 GB / 1.279 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02229/3.549, allocations: 5.768 MB / 1.764 GB, free: 0.493 GB / 1.279 GB Notification: Performance of pre-optimization done (n=572): time 4.76e-05/3.549, allocations: 1.219 kB / 1.764 GB, free: 0.493 GB / 1.279 GB Notification: Performance of matching and sorting (n=864): time 0.9614/4.511, allocations: 239.2 MB / 1.997 GB, free: 286.3 MB / 1.279 GB Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : 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 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[2].m_flow ; tabsSouth1[1].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsSouth1[3].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 + (-spl1.res1.m_flow) - valCoo.m_flow - valNorth.res3.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[1].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : 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 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[1].m_flow ; tabsSouth1[2].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsSouth1[3].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 + (-spl1.res1.m_flow) - valCoo.m_flow - valNorth.res3.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow.SeedStateSetJac0 + tabsSouth1[3].m_flow.SeedStateSetJac0 + tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - pipSouth1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 = 0.0 2 : valCoo.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + spl1.res1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + valNorth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + valSouth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + (-tabsNorth2[8].m_flow.SeedStateSetJac0) - tabsNorth2[7].m_flow.SeedStateSetJac0 - tabsNorth2[6].m_flow.SeedStateSetJac0 - tabsNorth2[5].m_flow.SeedStateSetJac0 - tabsNorth2[4].m_flow.SeedStateSetJac0 - tabsNorth2[3].m_flow.SeedStateSetJac0 - tabsNorth2[2].m_flow.SeedStateSetJac0 - tabsNorth2[1].m_flow.SeedStateSetJac0 - tabsNorth1[4].m_flow.SeedStateSetJac0 - tabsNorth1[3].m_flow.SeedStateSetJac0 - tabsNorth1[2].m_flow.SeedStateSetJac0 - tabsNorth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - tabsSouth2[8].m_flow.SeedStateSetJac0 - tabsSouth2[7].m_flow.SeedStateSetJac0 - tabsSouth2[6].m_flow.SeedStateSetJac0 - tabsSouth2[5].m_flow.SeedStateSetJac0 - tabsSouth2[4].m_flow.SeedStateSetJac0 - tabsSouth2[3].m_flow.SeedStateSetJac0 - tabsSouth2[2].m_flow.SeedStateSetJac0 - tabsSouth2[1].m_flow.SeedStateSetJac0 - tabsSouth1[4].m_flow.SeedStateSetJac0 - tabsSouth1[3].m_flow.SeedStateSetJac0 - tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ; tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ] = [ pipSouth1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + (-tabsSouth1[3].m_flow.SeedStateSetJac0) - tabsSouth1[4].m_flow.SeedStateSetJac0 ; tabsNorth2[8].m_flow.SeedStateSetJac0 + tabsSouth1[4].m_flow.SeedStateSetJac0 + tabsSouth1[3].m_flow.SeedStateSetJac0 + tabsSouth2[1].m_flow.SeedStateSetJac0 + tabsSouth2[2].m_flow.SeedStateSetJac0 + tabsSouth2[3].m_flow.SeedStateSetJac0 + tabsSouth2[4].m_flow.SeedStateSetJac0 + tabsSouth2[5].m_flow.SeedStateSetJac0 + tabsSouth2[6].m_flow.SeedStateSetJac0 + tabsSouth2[7].m_flow.SeedStateSetJac0 + tabsSouth2[8].m_flow.SeedStateSetJac0 + tabsNorth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + tabsNorth1[2].m_flow.SeedStateSetJac0 + tabsNorth1[3].m_flow.SeedStateSetJac0 + tabsNorth1[4].m_flow.SeedStateSetJac0 + tabsNorth2[1].m_flow.SeedStateSetJac0 + tabsNorth2[2].m_flow.SeedStateSetJac0 + tabsNorth2[3].m_flow.SeedStateSetJac0 + tabsNorth2[4].m_flow.SeedStateSetJac0 + tabsNorth2[5].m_flow.SeedStateSetJac0 + tabsNorth2[6].m_flow.SeedStateSetJac0 + tabsNorth2[7].m_flow.SeedStateSetJac0 + (-spl1.res1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0) - valCoo.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - valNorth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - valSouth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ] might be structurally or numerically singular for variable tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of inlineWhenForInitialization (initialization): time 0.1209/4.632, allocations: 55.33 MB / 2.051 GB, free: 229.4 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02623/4.658, allocations: 14.91 MB / 2.066 GB, free: 214.7 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.004517/4.662, allocations: 221.7 kB / 2.066 GB, free: 214.5 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.007835/4.67, allocations: 7.149 MB / 2.073 GB, free: 207.4 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.01207/4.682, allocations: 3.117 MB / 2.076 GB, free: 204.3 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01719/4.7, allocations: 4.09 MB / 2.08 GB, free: 200.2 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 7.42e-05/4.7, allocations: 305.2 kB / 2.08 GB, free: 199.9 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03346/4.733, allocations: 24.33 MB / 2.104 GB, free: 175.6 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03438/4.768, allocations: 26.94 MB / 2.13 GB, free: 147.6 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06577/4.833, allocations: 44.44 MB / 2.174 GB, free: 102.4 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.691e-05/4.833, allocations: 23.94 kB / 2.174 GB, free: 102.3 MB / 1.279 GB Notification: Performance of matching and sorting (n=1380) (initialization): time 1.62/6.453, allocations: 142.9 MB / 2.313 GB, free: 464.7 MB / 1.28 GB Notification: Performance of prepare postOptimizeDAE: time 8.861e-05/6.453, allocations: 53.86 kB / 2.313 GB, free: 464.7 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-05/6.454, allocations: 50.91 kB / 2.313 GB, free: 464.7 MB / 1.28 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5962/7.05, allocations: 119.9 MB / 2.431 GB, free: 379 MB / 1.28 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01905/7.069, allocations: 3.55 MB / 2.434 GB, free: 375.5 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1423/7.211, allocations: 84.05 MB / 2.516 GB, free: 291.4 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2209/7.432, allocations: 10.51 MB / 2.526 GB, free: 280.9 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0077/7.44, allocations: 1.64 MB / 2.528 GB, free: 279.2 MB / 1.28 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0428/7.483, allocations: 27.34 MB / 2.555 GB, free: 251.9 MB / 1.28 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03337/7.516, allocations: 26.48 MB / 2.581 GB, free: 224.4 MB / 1.28 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0619/7.578, allocations: 43.5 MB / 2.623 GB, free: 180.1 MB / 1.28 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.802e-05/7.578, allocations: 16 kB / 2.623 GB, free: 180.1 MB / 1.28 GB Notification: Performance of matching and sorting (n=1380) (initialization_lambda0): time 0.6269/8.205, allocations: 141.4 MB / 2.761 GB, free: 39.34 MB / 1.28 GB Notification: Performance of prepare postOptimizeDAE: time 6.418e-05/8.205, allocations: 53.7 kB / 2.761 GB, free: 39.28 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.88e-05/8.205, allocations: 52 kB / 2.761 GB, free: 39.23 MB / 1.28 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135/9.341, allocations: 118.9 MB / 2.877 GB, free: 438.1 MB / 1.28 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01861/9.359, allocations: 3.501 MB / 2.881 GB, free: 436.9 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2276/9.587, allocations: 88.28 MB / 2.967 GB, free: 353.8 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.258/9.845, allocations: 10.54 MB / 2.977 GB, free: 343.3 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006441/9.852, allocations: 1.609 MB / 2.979 GB, free: 341.7 MB / 1.28 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * 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 (1020): * Single equations (assignments): 1002 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * 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): 8 systems {1, 1, 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 {(39,65), (39,65)} Notification: Performance of prepare postOptimizeDAE: time 0.009531/9.861, allocations: 0.7318 MB / 2.979 GB, free: 341 MB / 1.28 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008621/9.87, allocations: 1.468 MB / 2.981 GB, free: 340.3 MB / 1.28 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2229/10.09, allocations: 68.17 MB / 3.047 GB, free: 272.2 MB / 1.28 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2374/10.33, allocations: 82.79 MB / 3.128 GB, free: 189.4 MB / 1.28 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002111/10.33, allocations: 32 kB / 3.128 GB, free: 189.4 MB / 1.28 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2251/10.56, allocations: 81.7 MB / 3.208 GB, free: 107.6 MB / 1.28 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.9927/11.55, allocations: 206.3 MB / 3.41 GB, free: 419.3 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001078/11.55, allocations: 10.84 kB / 3.41 GB, free: 419.3 MB / 1.28 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01338/11.56, allocations: 2.163 MB / 3.412 GB, free: 419.2 MB / 1.28 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5772/12.14, allocations: 144.9 MB / 3.553 GB, free: 276.7 MB / 1.28 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004567/12.14, allocations: 0.8064 MB / 3.554 GB, free: 275.9 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1345/12.28, allocations: 71.82 MB / 3.624 GB, free: 204 MB / 1.28 GB Warning: The linear system: 1 : valNorth2[3].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth2[1].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ valNorth2[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valNorth2[3].dp ; -valNorth2[1].dp ] might be structurally or numerically singular for variable valSouth1[1].port_b.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse374 - tabsNorth2[8].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 - tabsSouth1[2].m_flow = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[1].m_flow ; tabsSouth1[2].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsNorth2[7].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].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 + $cse374 + (-valNorth.res3.m_flow) - spl1.res1.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valNorth2[1].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth2[3].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p [ 1.0 , -1.0 ; 1.0 , -1.0 ] * [ valSouth1[1].port_b.p ; valNorth2[2].port_a.p ] = [ -valNorth2[1].dp ; -valNorth2[3].dp ] might be structurally or numerically singular for variable valNorth2[2].port_a.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse374 - tabsNorth2[8].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 - tabsSouth1[2].m_flow = 0.0 2 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ tabsSouth1[2].m_flow ; tabsSouth1[1].m_flow ] = [ tabsNorth2[7].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].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 + $cse374 + (-valNorth.res3.m_flow) - spl1.res1.m_flow - valSouth.res3.m_flow ; pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ] might be structurally or numerically singular for variable tabsSouth1[1].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2347:10-2347:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2264:9-2264:79:writable] Error: Internal error function createJacobian failed Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($STATESET1.x[32],$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,pmpSouth.filter.s[1],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],valSouth1[1].filter.s[1],valSouth1[2].filter.s[1],valSouth1[3].filter.s[1],valSouth1[4].filter.s[1],valSouth2[1].filter.s[1],valSouth2[2].filter.s[1],valSouth2[3].filter.s[1],valSouth2[4].filter.s[1],valSouth2[5].filter.s[1],valSouth2[6].filter.s[1],valSouth2[7].filter.s[1],valSouth2[8].filter.s[1],valNorth1[1].filter.s[1],valNorth1[2].filter.s[1],valNorth1[3].filter.s[1],valNorth1[4].filter.s[1],valNorth2[1].filter.s[1],valNorth2[2].filter.s[1],valNorth2[3].filter.s[1],valNorth2[4].filter.s[1],valNorth2[5].filter.s[1],valNorth2[6].filter.s[1],valNorth2[7].filter.s[1],valNorth2[8].filter.s[1],valSouth.vol.dynBal.U,valSouth.filter.s[1],valNorth.vol.dynBal.U,valNorth.filter.s[1],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],valHea.filter.s[1],valCoo.filter.s[1],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1]) * 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 (615): * Single equations (assignments): 592 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 6 * 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): 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): 3 systems {(36,81), (1,1), (62,192)} [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4689:9-4689:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:803:5-803:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]