Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001727/0.001727, allocations: 112.5 kB / 15.73 MB, free: 76 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.002001/0.002001, allocations: 191 kB / 16.67 MB, free: 6.582 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.435/1.435, allocations: 222.9 MB / 240.3 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.787/2.787, allocations: 469.8 MB / 0.7425 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 72.09 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4013, allocations: 159.1 MB / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified1): time 1.314/1.715, allocations: 358.4 MB / 1.571 GB, free: 14.54 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.1264/1.841, allocations: 75.93 MB / 1.645 GB, free: 2.434 MB / 1.326 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02255/1.864, allocations: 433.5 kB / 1.645 GB, free: 2.008 MB / 1.326 GB Notification: Performance of NFTyping.typeComponents: time 0.02152/1.885, allocations: 6.604 MB / 1.652 GB, free: 11.37 MB / 1.342 GB Notification: Performance of NFTyping.typeBindings: time 0.04905/1.934, allocations: 14.76 MB / 1.666 GB, free: 12.55 MB / 1.357 GB Notification: Performance of NFTyping.typeClassSections: time 0.02988/1.964, allocations: 10.21 MB / 1.676 GB, free: 2.422 MB / 1.357 GB Notification: Performance of NFFlatten.flatten: time 0.1156/2.08, allocations: 74.56 MB / 1.749 GB, free: 7.719 MB / 1.436 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03672/2.117, allocations: 17.35 MB / 1.766 GB, free: 6.219 MB / 1.451 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04096/2.158, allocations: 17.49 MB / 1.783 GB, free: 4.707 MB / 1.467 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03985/2.197, allocations: 16.44 MB / 1.799 GB, free: 4.215 MB / 1.482 GB Notification: Performance of NFPackage.collectConstants: time 0.01481/2.212, allocations: 1.973 MB / 1.801 GB, free: 2.242 MB / 1.482 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02514/2.237, allocations: 6.063 MB / 1.807 GB, free: 12.17 MB / 1.498 GB Notification: Performance of NFScalarize.scalarize: time 0.01363/2.251, allocations: 6.654 MB / 1.813 GB, free: 5.492 MB / 1.498 GB Notification: Performance of NFVerifyModel.verify: time 1.879/4.13, allocations: 11.22 MB / 1.824 GB, free: 142 MB / 1.498 GB Notification: Performance of NFConvertDAE.convert: time 0.08098/4.211, allocations: 31.28 MB / 1.855 GB, free: 140.3 MB / 1.498 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/4.211, allocations: 1.031 kB / 1.855 GB, free: 140.3 MB / 1.498 GB Notification: Performance of FrontEnd: time 2.475e-06/4.211, allocations: 0 / 1.855 GB, free: 140.3 MB / 1.498 GB Notification: Performance of Transformations before backend: time 0.001336/4.212, allocations: 0 / 1.855 GB, free: 140.3 MB / 1.498 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2045 * Number of variables: 2045 Notification: Performance of Generate backend data structure: time 0.1121/4.324, allocations: 24.57 MB / 1.879 GB, free: 131.2 MB / 1.498 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/4.324, allocations: 8.656 kB / 1.879 GB, free: 131.2 MB / 1.498 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02754/4.352, allocations: 3.299 MB / 1.882 GB, free: 130.1 MB / 1.498 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06122/4.413, allocations: 21 MB / 1.902 GB, free: 127 MB / 1.498 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001031/4.414, allocations: 0.6742 MB / 1.903 GB, free: 127 MB / 1.498 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007926/4.422, allocations: 0.9439 MB / 1.904 GB, free: 127 MB / 1.498 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05767/4.48, allocations: 17.1 MB / 1.921 GB, free: 126.2 MB / 1.498 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007572/4.48, allocations: 15.48 kB / 1.921 GB, free: 126.2 MB / 1.498 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008186/4.489, allocations: 329.8 kB / 1.921 GB, free: 126.2 MB / 1.498 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000525/4.489, allocations: 370.4 kB / 1.921 GB, free: 126.2 MB / 1.498 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04835/4.538, allocations: 21.54 MB / 1.942 GB, free: 126.1 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.1675/4.705, allocations: 83.01 MB / 2.024 GB, free: 83.68 MB / 1.498 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02521/4.73, allocations: 12.02 MB / 2.035 GB, free: 81.38 MB / 1.498 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01676/4.747, allocations: 8.549 MB / 2.044 GB, free: 78.6 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 evalFunc (simulation): time 0.07888/4.826, allocations: 35.55 MB / 2.078 GB, free: 44.95 MB / 1.498 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01849/4.844, allocations: 10.25 MB / 2.088 GB, free: 34.64 MB / 1.498 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0221/4.866, allocations: 5.83 MB / 2.094 GB, free: 28.96 MB / 1.498 GB Notification: Performance of pre-optimization done (n=588): time 3.285e-05/4.866, allocations: 0 / 2.094 GB, free: 28.96 MB / 1.498 GB Notification: Performance of matching and sorting (n=880): time 0.9978/5.864, allocations: 239.7 MB / 2.328 GB, free: 12.75 MB / 1.717 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.1447/6.009, allocations: 55.31 MB / 2.382 GB, free: 3.906 MB / 1.764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04559/6.055, allocations: 17.79 MB / 2.4 GB, free: 2.215 MB / 1.779 GB Notification: Performance of collectPreVariables (initialization): time 0.006334/6.061, allocations: 229.7 kB / 2.4 GB, free: 1.984 MB / 1.779 GB Notification: Performance of collectInitialEqns (initialization): time 0.01252/6.073, allocations: 7.804 MB / 2.407 GB, free: 10.21 MB / 1.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.01378/6.087, allocations: 3.345 MB / 2.411 GB, free: 6.91 MB / 1.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02141/6.109, allocations: 4.555 MB / 2.415 GB, free: 2.344 MB / 1.795 GB Notification: Performance of setup shared object (initialization): time 9.523e-05/6.109, allocations: 301.1 kB / 2.415 GB, free: 2.047 MB / 1.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04753/6.156, allocations: 25.64 MB / 2.44 GB, free: 8.375 MB / 1.826 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.8252/6.981, allocations: 28.49 MB / 2.468 GB, free: 0.7755 GB / 1.842 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.09775/7.079, allocations: 46.83 MB / 2.514 GB, free: 0.77 GB / 1.842 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001582/7.079, allocations: 15.12 kB / 2.514 GB, free: 0.77 GB / 1.842 GB Notification: Performance of matching and sorting (n=1652) (initialization): time 0.6281/7.707, allocations: 145.6 MB / 2.656 GB, free: 0.6838 GB / 1.842 GB Notification: Performance of prepare postOptimizeDAE: time 9.312e-05/7.707, allocations: 61.73 kB / 2.656 GB, free: 0.6837 GB / 1.842 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.614e-05/7.708, allocations: 48 kB / 2.656 GB, free: 0.6837 GB / 1.842 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5418/8.249, allocations: 119.8 MB / 2.773 GB, free: 0.567 GB / 1.842 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02109/8.27, allocations: 3.799 MB / 2.777 GB, free: 0.5633 GB / 1.842 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1393/8.41, allocations: 84.31 MB / 2.859 GB, free: 492.5 MB / 1.842 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1811/8.591, allocations: 10.61 MB / 2.87 GB, free: 481.9 MB / 1.842 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008234/8.599, allocations: 1.668 MB / 2.871 GB, free: 480.2 MB / 1.842 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04955/8.649, allocations: 29.03 MB / 2.9 GB, free: 451.1 MB / 1.842 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03817/8.687, allocations: 27.97 MB / 2.927 GB, free: 422.1 MB / 1.842 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.07131/8.758, allocations: 45.77 MB / 2.972 GB, free: 375.6 MB / 1.842 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.525e-05/8.758, allocations: 16 kB / 2.972 GB, free: 375.6 MB / 1.842 GB Notification: Performance of matching and sorting (n=1652) (initialization_lambda0): time 0.5802/9.338, allocations: 143.9 MB / 3.112 GB, free: 232.6 MB / 1.842 GB Notification: Performance of prepare postOptimizeDAE: time 7.593e-05/9.338, allocations: 55.58 kB / 3.112 GB, free: 232.5 MB / 1.842 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.442e-05/9.339, allocations: 52.88 kB / 3.112 GB, free: 232.5 MB / 1.842 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5378/9.876, allocations: 118.8 MB / 3.228 GB, free: 114 MB / 1.842 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01987/9.896, allocations: 3.747 MB / 3.232 GB, free: 110.3 MB / 1.842 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.9956/10.89, allocations: 88.2 MB / 3.318 GB, free: 0.7403 GB / 1.842 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1885/11.08, allocations: 10.66 MB / 3.329 GB, free: 0.7403 GB / 1.842 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0103/11.09, allocations: 1.63 MB / 3.33 GB, free: 0.7403 GB / 1.842 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 227 * 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 (1164): * Single equations (assignments): 1142 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 4 * 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.0117/11.1, allocations: 0.7727 MB / 3.331 GB, free: 0.7402 GB / 1.842 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01208/11.11, allocations: 1.708 MB / 3.333 GB, free: 0.7402 GB / 1.842 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2332/11.35, allocations: 68.16 MB / 3.399 GB, free: 0.7367 GB / 1.842 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2269/11.57, allocations: 81.72 MB / 3.479 GB, free: 0.697 GB / 1.842 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001422/11.57, allocations: 32 kB / 3.479 GB, free: 0.697 GB / 1.842 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.21/11.78, allocations: 80.62 MB / 3.558 GB, free: 0.6183 GB / 1.842 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4237/12.21, allocations: 214.6 MB / 3.767 GB, free: 418.8 MB / 1.842 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001241/12.21, allocations: 11.8 kB / 3.767 GB, free: 418.7 MB / 1.842 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0138/12.22, allocations: 2.241 MB / 3.77 GB, free: 416.5 MB / 1.842 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5291/12.75, allocations: 144.7 MB / 3.911 GB, free: 272.1 MB / 1.842 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005316/12.76, allocations: 0.8077 MB / 3.912 GB, free: 271.3 MB / 1.842 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.121/12.88, allocations: 72.13 MB / 3.982 GB, free: 199.2 MB / 1.842 GB Warning: The linear system: 1 : valNorth1[3].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth1[2].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p [ 1.0 , -1.0 ; 1.0 , -1.0 ] * [ valSouth1[1].port_b.p ; valNorth1[2].port_a.p ] = [ -valNorth1[3].dp ; -valNorth1[2].dp ] might be structurally or numerically singular for variable valNorth1[2].port_a.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 : valNorth1[2].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth1[3].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ valNorth1[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valNorth1[2].dp ; -valNorth1[3].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. 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:2348:10-2348:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2265:9-2265: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 (631): * Single equations (assignments): 608 * 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), (63,191)} [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4691:9-4691:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:805:5-805:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]