Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="Buildings_latest_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.008747/0.008747, allocations: 98.56 kB / 15.73 MB, free: 6.059 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.002185/0.002185, allocations: 196 kB / 16.68 MB, free: 5.977 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.768/2.768, allocations: 469.4 MB / 0.7421 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 67.91 kB / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2813, allocations: 159.1 MB / 1.22 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified1): time 0.9936/1.275, allocations: 357.7 MB / 1.569 GB, free: 15.96 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.1178/1.393, allocations: 75.86 MB / 1.643 GB, free: 3.934 MB / 1.326 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01662/1.409, allocations: 433.5 kB / 1.644 GB, free: 3.508 MB / 1.326 GB Notification: Performance of NFTyping.typeComponents: time 0.02247/1.432, allocations: 6.566 MB / 1.65 GB, free: 12.91 MB / 1.342 GB Notification: Performance of NFTyping.typeBindings: time 0.04315/1.475, allocations: 14.74 MB / 1.664 GB, free: 14.12 MB / 1.357 GB Notification: Performance of NFTyping.typeClassSections: time 0.02678/1.502, allocations: 10.21 MB / 1.674 GB, free: 3.98 MB / 1.357 GB Notification: Performance of NFFlatten.flatten: time 0.1063/1.608, allocations: 74.4 MB / 1.747 GB, free: 9.438 MB / 1.436 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0363/1.645, allocations: 20.09 MB / 1.767 GB, free: 5.191 MB / 1.451 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04195/1.687, allocations: 17.49 MB / 1.784 GB, free: 3.68 MB / 1.467 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03033/1.717, allocations: 16.44 MB / 1.8 GB, free: 3.18 MB / 1.482 GB Notification: Performance of NFPackage.collectConstants: time 0.009711/1.727, allocations: 1.969 MB / 1.802 GB, free: 1.211 MB / 1.482 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02029/1.747, allocations: 6.063 MB / 1.808 GB, free: 11.14 MB / 1.498 GB Notification: Performance of NFScalarize.scalarize: time 0.01114/1.758, allocations: 6.511 MB / 1.814 GB, free: 4.609 MB / 1.498 GB Notification: Performance of NFVerifyModel.verify: time 1.537/3.295, allocations: 11.28 MB / 1.825 GB, free: 144.6 MB / 1.498 GB Notification: Performance of NFConvertDAE.convert: time 0.06287/3.358, allocations: 31.5 MB / 1.856 GB, free: 142.9 MB / 1.498 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/3.358, allocations: 2.969 kB / 1.856 GB, free: 142.9 MB / 1.498 GB Notification: Performance of FrontEnd: time 2.365e-06/3.358, allocations: 0.75 kB / 1.856 GB, free: 142.9 MB / 1.498 GB Notification: Performance of Transformations before backend: time 0.001253/3.36, allocations: 0 / 1.856 GB, free: 142.9 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.1012/3.461, allocations: 24.73 MB / 1.88 GB, free: 133.8 MB / 1.498 GB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/3.461, allocations: 9.906 kB / 1.88 GB, free: 133.8 MB / 1.498 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007665/3.469, allocations: 1.049 MB / 1.881 GB, free: 133.7 MB / 1.498 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02497/3.494, allocations: 3.302 MB / 1.884 GB, free: 132.6 MB / 1.498 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06253/3.556, allocations: 23.16 MB / 1.907 GB, free: 129.5 MB / 1.498 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009175/3.557, allocations: 0.6732 MB / 1.907 GB, free: 129.5 MB / 1.498 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008299/3.565, allocations: 0.944 MB / 1.908 GB, free: 129.5 MB / 1.498 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05936/3.625, allocations: 17.1 MB / 1.925 GB, free: 128.7 MB / 1.498 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000537/3.625, allocations: 15.02 kB / 1.925 GB, free: 128.7 MB / 1.498 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00663/3.632, allocations: 334.5 kB / 1.925 GB, free: 128.7 MB / 1.498 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004005/3.632, allocations: 364.8 kB / 1.926 GB, free: 128.6 MB / 1.498 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04741/3.68, allocations: 21.54 MB / 1.947 GB, free: 128.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 removeSimpleEquations (simulation): time 0.1703/3.85, allocations: 83.69 MB / 2.029 GB, free: 85.12 MB / 1.498 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02737/3.878, allocations: 13.31 MB / 2.042 GB, free: 81.49 MB / 1.498 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01674/3.894, allocations: 9.797 MB / 2.051 GB, free: 74.69 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.08642/3.981, allocations: 35.8 MB / 2.086 GB, free: 38.64 MB / 1.498 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02124/4.002, allocations: 10.25 MB / 2.096 GB, free: 28.32 MB / 1.498 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02538/4.028, allocations: 5.829 MB / 2.102 GB, free: 22.65 MB / 1.498 GB Notification: Performance of pre-optimization done (n=588): time 4.923e-05/4.028, allocations: 7.844 kB / 2.102 GB, free: 22.65 MB / 1.498 GB Notification: Performance of matching and sorting (n=880): time 1.081/5.108, allocations: 240.3 MB / 2.336 GB, free: 5.855 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.1494/5.258, allocations: 55.33 MB / 2.39 GB, free: 12.98 MB / 1.779 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04781/5.306, allocations: 20.49 MB / 2.41 GB, free: 8.59 MB / 1.795 GB Notification: Performance of collectPreVariables (initialization): time 0.005803/5.311, allocations: 236.4 kB / 2.411 GB, free: 8.355 MB / 1.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.01251/5.324, allocations: 7.84 MB / 2.418 GB, free: 0.5352 MB / 1.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.01353/5.337, allocations: 3.342 MB / 2.422 GB, free: 13.23 MB / 1.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02024/5.358, allocations: 4.557 MB / 2.426 GB, free: 8.66 MB / 1.811 GB Notification: Performance of setup shared object (initialization): time 9.07e-05/5.358, allocations: 301.1 kB / 2.426 GB, free: 8.363 MB / 1.811 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0435/5.401, allocations: 25.64 MB / 2.451 GB, free: 14.7 MB / 1.842 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.727/6.128, allocations: 28.5 MB / 2.479 GB, free: 0.7782 GB / 1.842 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08931/6.218, allocations: 46.84 MB / 2.525 GB, free: 0.7692 GB / 1.842 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001946/6.218, allocations: 14.53 kB / 2.525 GB, free: 0.7692 GB / 1.842 GB Notification: Performance of matching and sorting (n=1652) (initialization): time 0.6505/6.869, allocations: 146.1 MB / 2.668 GB, free: 0.6741 GB / 1.842 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/6.869, allocations: 53.7 kB / 2.668 GB, free: 0.674 GB / 1.842 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001026/6.869, allocations: 57.11 kB / 2.668 GB, free: 0.674 GB / 1.842 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5912/7.46, allocations: 119.8 MB / 2.785 GB, free: 0.5574 GB / 1.842 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02126/7.481, allocations: 3.799 MB / 2.788 GB, free: 0.5536 GB / 1.842 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1437/7.625, allocations: 84.31 MB / 2.871 GB, free: 482.6 MB / 1.842 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2365/7.862, allocations: 10.62 MB / 2.881 GB, free: 471.9 MB / 1.842 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007207/7.869, allocations: 1.668 MB / 2.883 GB, free: 470.3 MB / 1.842 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04428/7.913, allocations: 29.02 MB / 2.911 GB, free: 441.2 MB / 1.842 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.037/7.95, allocations: 27.96 MB / 2.938 GB, free: 412.2 MB / 1.842 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06589/8.016, allocations: 45.78 MB / 2.983 GB, free: 365.6 MB / 1.842 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.6e-05/8.016, allocations: 12 kB / 2.983 GB, free: 365.6 MB / 1.842 GB Notification: Performance of matching and sorting (n=1652) (initialization_lambda0): time 0.6322/8.648, allocations: 144.4 MB / 3.124 GB, free: 222.2 MB / 1.842 GB Notification: Performance of prepare postOptimizeDAE: time 6.275e-05/8.648, allocations: 53.7 kB / 3.124 GB, free: 222.1 MB / 1.842 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.44e-05/8.649, allocations: 55.94 kB / 3.124 GB, free: 222.1 MB / 1.842 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6034/9.252, allocations: 118.8 MB / 3.24 GB, free: 103.6 MB / 1.842 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01955/9.272, allocations: 3.747 MB / 3.244 GB, free: 99.88 MB / 1.842 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7997/10.07, allocations: 88.2 MB / 3.33 GB, free: 0.7395 GB / 1.842 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2364/10.31, allocations: 10.67 MB / 3.341 GB, free: 0.7395 GB / 1.842 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0123/10.32, allocations: 1.633 MB / 3.342 GB, free: 0.7395 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.01191/10.33, allocations: 0.764 MB / 3.343 GB, free: 0.7393 GB / 1.842 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01248/10.34, allocations: 1.717 MB / 3.345 GB, free: 0.7393 GB / 1.842 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2654/10.61, allocations: 68.7 MB / 3.412 GB, free: 0.7314 GB / 1.842 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2679/10.88, allocations: 83.19 MB / 3.493 GB, free: 0.6844 GB / 1.842 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002262/10.88, allocations: 28.98 kB / 3.493 GB, free: 0.6843 GB / 1.842 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2419/11.12, allocations: 82.07 MB / 3.573 GB, free: 0.6042 GB / 1.842 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4161/11.54, allocations: 216.3 MB / 3.784 GB, free: 402.6 MB / 1.842 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.256e-05/11.54, allocations: 0 / 3.784 GB, free: 402.6 MB / 1.842 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01374/11.55, allocations: 2.242 MB / 3.786 GB, free: 400.4 MB / 1.842 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5924/12.14, allocations: 144.7 MB / 3.928 GB, free: 256 MB / 1.842 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004396/12.15, allocations: 0.8203 MB / 3.929 GB, free: 255.2 MB / 1.842 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1333/12.28, allocations: 72.12 MB / 3.999 GB, free: 183 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/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]