Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="Buildings_10_Buildings_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004661/0.004661, allocations: 97.27 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 196.8 kB / 16.68 MB, free: 5.973 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.227/1.227, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.313/2.313, allocations: 437.1 MB / 0.7106 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 63.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2354, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified1): time 0.7427/0.9781, allocations: 357.7 MB / 1.516 GB, free: 316 kB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.09369/1.072, allocations: 75.87 MB / 1.59 GB, free: 4.273 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01125/1.083, allocations: 433.5 kB / 1.59 GB, free: 3.848 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.01444/1.098, allocations: 6.425 MB / 1.596 GB, free: 13.39 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.03172/1.129, allocations: 14.09 MB / 1.61 GB, free: 15.25 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01963/1.149, allocations: 10.19 MB / 1.62 GB, free: 5.129 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.09378/1.243, allocations: 74.3 MB / 1.693 GB, free: 10.69 MB / 1.357 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02379/1.267, allocations: 20.05 MB / 1.712 GB, free: 6.48 MB / 1.373 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0286/1.295, allocations: 17.08 MB / 1.729 GB, free: 5.383 MB / 1.389 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02495/1.32, allocations: 16.42 MB / 1.745 GB, free: 4.906 MB / 1.404 GB Notification: Performance of NFPackage.collectConstants: time 0.00403/1.324, allocations: 1.973 MB / 1.747 GB, free: 2.93 MB / 1.404 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01337/1.338, allocations: 6.066 MB / 1.753 GB, free: 12.86 MB / 1.42 GB Notification: Performance of NFScalarize.scalarize: time 0.005762/1.343, allocations: 6.515 MB / 1.759 GB, free: 6.32 MB / 1.42 GB Notification: Performance of NFVerifyModel.verify: time 0.01429/1.358, allocations: 11.29 MB / 1.77 GB, free: 10.98 MB / 1.436 GB Notification: Performance of NFConvertDAE.convert: time 0.03608/1.394, allocations: 31.5 MB / 1.801 GB, free: 11.36 MB / 1.467 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.394, allocations: 0 / 1.801 GB, free: 11.36 MB / 1.467 GB Notification: Performance of FrontEnd: time 1.402e-06/1.394, allocations: 4 kB / 1.801 GB, free: 11.36 MB / 1.467 GB Notification: Performance of Transformations before backend: time 0.000529/1.394, allocations: 4 kB / 1.801 GB, free: 11.36 MB / 1.467 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.837/2.231, allocations: 24.72 MB / 1.825 GB, free: 0.5051 GB / 1.467 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/2.231, allocations: 9.656 kB / 1.825 GB, free: 0.5051 GB / 1.467 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003396/2.235, allocations: 1.053 MB / 1.826 GB, free: 0.5046 GB / 1.467 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01549/2.25, allocations: 3.306 MB / 1.829 GB, free: 0.5035 GB / 1.467 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03933/2.29, allocations: 23.15 MB / 1.852 GB, free: 0.4947 GB / 1.467 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005066/2.29, allocations: 0.6719 MB / 1.853 GB, free: 0.4944 GB / 1.467 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002748/2.293, allocations: 0.9451 MB / 1.854 GB, free: 0.4941 GB / 1.467 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02422/2.317, allocations: 17.11 MB / 1.87 GB, free: 497.8 MB / 1.467 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001384/2.317, allocations: 13.62 kB / 1.87 GB, free: 497.8 MB / 1.467 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001083/2.318, allocations: 332.5 kB / 1.871 GB, free: 497.6 MB / 1.467 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002621/2.319, allocations: 364.8 kB / 1.871 GB, free: 497.5 MB / 1.467 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0249/2.344, allocations: 21.54 MB / 1.892 GB, free: 487.6 MB / 1.467 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.08059/2.424, allocations: 83.71 MB / 1.974 GB, free: 402.5 MB / 1.467 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0141/2.438, allocations: 13.32 MB / 1.987 GB, free: 389.5 MB / 1.467 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00919/2.448, allocations: 9.786 MB / 1.996 GB, free: 379.8 MB / 1.467 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.04164/2.489, allocations: 35.8 MB / 2.031 GB, free: 343.9 MB / 1.467 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01006/2.499, allocations: 10.25 MB / 2.041 GB, free: 333.6 MB / 1.467 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01509/2.514, allocations: 5.827 MB / 2.047 GB, free: 328.2 MB / 1.467 GB Notification: Performance of pre-optimization done (n=588): time 1.061e-05/2.514, allocations: 0 / 2.047 GB, free: 328.2 MB / 1.467 GB Notification: Performance of matching and sorting (n=880): time 0.8572/3.372, allocations: 240.3 MB / 2.282 GB, free: 86.68 MB / 1.467 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.101/3.473, allocations: 55.31 MB / 2.336 GB, free: 29.6 MB / 1.467 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02201/3.495, allocations: 20.5 MB / 2.356 GB, free: 9.199 MB / 1.467 GB Notification: Performance of collectPreVariables (initialization): time 0.003422/3.498, allocations: 237.6 kB / 2.356 GB, free: 8.961 MB / 1.467 GB Notification: Performance of collectInitialEqns (initialization): time 0.004616/3.503, allocations: 7.836 MB / 2.363 GB, free: 1.098 MB / 1.467 GB Notification: Performance of collectInitialBindings (initialization): time 0.8507/4.353, allocations: 3.343 MB / 2.367 GB, free: 471.6 MB / 1.467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01056/4.364, allocations: 4.549 MB / 2.371 GB, free: 471.5 MB / 1.467 GB Notification: Performance of setup shared object (initialization): time 2.898e-05/4.364, allocations: 302.9 kB / 2.371 GB, free: 471.2 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03616/4.4, allocations: 25.64 MB / 2.397 GB, free: 468 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03468/4.435, allocations: 28.48 MB / 2.424 GB, free: 457.9 MB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05856/4.494, allocations: 46.84 MB / 2.47 GB, free: 442 MB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.692e-05/4.494, allocations: 15.5 kB / 2.47 GB, free: 442 MB / 1.467 GB Notification: Performance of matching and sorting (n=1652) (initialization): time 0.5898/5.083, allocations: 146.1 MB / 2.613 GB, free: 301.3 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 6.721e-05/5.084, allocations: 53.7 kB / 2.613 GB, free: 301.3 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.418e-05/5.084, allocations: 55.88 kB / 2.613 GB, free: 301.2 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5898/5.673, allocations: 119.8 MB / 2.73 GB, free: 181.8 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01938/5.693, allocations: 3.799 MB / 2.734 GB, free: 178 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1283/5.821, allocations: 84.3 MB / 2.816 GB, free: 93.59 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2091/6.03, allocations: 10.62 MB / 2.826 GB, free: 82.98 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004817/6.035, allocations: 1.664 MB / 2.828 GB, free: 81.31 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03356/6.069, allocations: 29.03 MB / 2.856 GB, free: 52.25 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02777/6.096, allocations: 27.96 MB / 2.884 GB, free: 23.24 MB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5209/6.617, allocations: 45.77 MB / 2.928 GB, free: 466.2 MB / 1.483 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.579e-05/6.617, allocations: 14.28 kB / 2.928 GB, free: 466.2 MB / 1.483 GB Notification: Performance of matching and sorting (n=1652) (initialization_lambda0): time 0.5612/7.179, allocations: 144.4 MB / 3.069 GB, free: 408.5 MB / 1.483 GB Notification: Performance of prepare postOptimizeDAE: time 5.315e-05/7.179, allocations: 57.27 kB / 3.069 GB, free: 408.4 MB / 1.483 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.864e-05/7.179, allocations: 48 kB / 3.069 GB, free: 408.4 MB / 1.483 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5454/7.724, allocations: 118.8 MB / 3.185 GB, free: 290 MB / 1.483 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01732/7.742, allocations: 3.755 MB / 3.189 GB, free: 286.2 MB / 1.483 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1272/7.869, allocations: 88.2 MB / 3.275 GB, free: 198 MB / 1.483 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1981/8.067, allocations: 10.67 MB / 3.286 GB, free: 187.3 MB / 1.483 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004644/8.072, allocations: 1.633 MB / 3.287 GB, free: 185.7 MB / 1.483 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.004549/8.076, allocations: 0.7693 MB / 3.288 GB, free: 184.9 MB / 1.483 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005626/8.082, allocations: 1.716 MB / 3.29 GB, free: 184.2 MB / 1.483 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1852/8.267, allocations: 68.69 MB / 3.357 GB, free: 115.7 MB / 1.483 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2049/8.472, allocations: 83.2 MB / 3.438 GB, free: 32.63 MB / 1.483 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.595e-05/8.472, allocations: 28 kB / 3.438 GB, free: 32.6 MB / 1.483 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6781/9.15, allocations: 82.06 MB / 3.518 GB, free: 463.2 MB / 1.498 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3326/9.483, allocations: 216.3 MB / 3.729 GB, free: 320.8 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-05/9.483, allocations: 7.938 kB / 3.729 GB, free: 320.8 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01179/9.495, allocations: 2.231 MB / 3.732 GB, free: 318.5 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5238/10.02, allocations: 144.7 MB / 3.873 GB, free: 174.1 MB / 1.498 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003472/10.02, allocations: 0.8103 MB / 3.874 GB, free: 173.3 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1101/10.13, allocations: 72.11 MB / 3.944 GB, free: 101.2 MB / 1.498 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2348:10-2348:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4689:9-4689:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/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]