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: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="Buildings_11_Buildings_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="Buildings_11_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.006366/0.006366, allocations: 101.1 kB / 15.73 MB, free: 6.016 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.001736/0.001736, allocations: 193 kB / 16.67 MB, free: 5.934 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.497/2.497, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 64.08 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6208/0.623, allocations: 159.1 MB / 1.22 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.FlowSystem.Simplified1): time 0.8947/1.518, allocations: 357.7 MB / 1.57 GB, free: 61.76 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.07719/1.595, allocations: 75.87 MB / 1.644 GB, free: 60.75 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01312/1.608, allocations: 433.1 kB / 1.644 GB, free: 60.75 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.015/1.623, allocations: 6.437 MB / 1.65 GB, free: 60.63 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.03233/1.655, allocations: 14.09 MB / 1.664 GB, free: 60.05 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.02009/1.676, allocations: 10.2 MB / 1.674 GB, free: 59.76 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.07132/1.747, allocations: 74.31 MB / 1.747 GB, free: 14.99 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02064/1.768, allocations: 20.04 MB / 1.766 GB, free: 11.55 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03203/1.8, allocations: 17.08 MB / 1.783 GB, free: 11.42 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02736/1.827, allocations: 16.44 MB / 1.799 GB, free: 12.15 MB / 1.326 GB Notification: Performance of NFPackage.collectConstants: time 0.006595/1.834, allocations: 1.969 MB / 1.801 GB, free: 10.18 MB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01829/1.852, allocations: 6.063 MB / 1.807 GB, free: 4.391 MB / 1.326 GB Notification: Performance of NFScalarize.scalarize: time 0.008867/1.861, allocations: 6.519 MB / 1.813 GB, free: 14.1 MB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.01953/1.88, allocations: 11.28 MB / 1.824 GB, free: 3.012 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.0426/1.923, allocations: 31.51 MB / 1.855 GB, free: 4.59 MB / 1.373 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/1.923, allocations: 3.938 kB / 1.855 GB, free: 4.586 MB / 1.373 GB Notification: Performance of FrontEnd: time 1.293e-06/1.923, allocations: 0 / 1.855 GB, free: 4.586 MB / 1.373 GB Notification: Performance of Transformations before backend: time 0.00067/1.924, allocations: 4 kB / 1.855 GB, free: 4.582 MB / 1.373 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.05643/1.98, allocations: 24.73 MB / 1.879 GB, free: 11.98 MB / 1.404 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/1.98, allocations: 8.031 kB / 1.879 GB, free: 11.97 MB / 1.404 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002197/1.982, allocations: 1.047 MB / 1.88 GB, free: 10.92 MB / 1.404 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01402/1.996, allocations: 3.309 MB / 1.883 GB, free: 7.598 MB / 1.404 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04072/2.037, allocations: 23.17 MB / 1.906 GB, free: 0.7461 MB / 1.42 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006139/2.038, allocations: 0.6701 MB / 1.907 GB, free: 84 kB / 1.42 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002994/2.041, allocations: 0.9379 MB / 1.907 GB, free: 15.15 MB / 1.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02723/2.068, allocations: 17.11 MB / 1.924 GB, free: 13.85 MB / 1.451 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001397/2.068, allocations: 15.89 kB / 1.924 GB, free: 13.83 MB / 1.451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001173/2.069, allocations: 333.4 kB / 1.925 GB, free: 13.51 MB / 1.451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003216/2.07, allocations: 371.3 kB / 1.925 GB, free: 13.15 MB / 1.451 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03361/2.103, allocations: 21.54 MB / 1.946 GB, free: 7.594 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.127/2.23, allocations: 83.7 MB / 2.028 GB, free: 1.301 MB / 1.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02152/2.252, allocations: 13.31 MB / 2.041 GB, free: 4.238 MB / 1.561 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01415/2.266, allocations: 9.8 MB / 2.05 GB, free: 10.43 MB / 1.576 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.06196/2.328, allocations: 35.79 MB / 2.085 GB, free: 6.293 MB / 1.607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01543/2.343, allocations: 10.26 MB / 2.095 GB, free: 11.96 MB / 1.623 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01805/2.362, allocations: 5.84 MB / 2.101 GB, free: 6.281 MB / 1.623 GB Notification: Performance of pre-optimization done (n=588): time 2.32e-05/2.362, allocations: 0 / 2.101 GB, free: 6.281 MB / 1.623 GB Notification: Performance of matching and sorting (n=880): time 1.418/3.78, allocations: 240.3 MB / 2.336 GB, free: 0.6216 GB / 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.09781/3.878, allocations: 55.32 MB / 2.39 GB, free: 0.5662 GB / 1.717 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02043/3.898, allocations: 20.49 MB / 2.41 GB, free: 0.5463 GB / 1.717 GB Notification: Performance of collectPreVariables (initialization): time 0.003157/3.901, allocations: 233.7 kB / 2.41 GB, free: 0.5461 GB / 1.717 GB Notification: Performance of collectInitialEqns (initialization): time 0.004377/3.906, allocations: 7.845 MB / 2.417 GB, free: 0.5388 GB / 1.717 GB Notification: Performance of collectInitialBindings (initialization): time 0.00895/3.915, allocations: 3.338 MB / 2.421 GB, free: 0.5356 GB / 1.717 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007441/3.922, allocations: 4.555 MB / 2.425 GB, free: 0.5311 GB / 1.717 GB Notification: Performance of setup shared object (initialization): time 2.898e-05/3.922, allocations: 309.1 kB / 2.425 GB, free: 0.5308 GB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02639/3.948, allocations: 25.63 MB / 2.451 GB, free: 0.5058 GB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02857/3.977, allocations: 28.49 MB / 2.478 GB, free: 488.4 MB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05269/4.03, allocations: 46.83 MB / 2.524 GB, free: 440.8 MB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.762e-05/4.03, allocations: 16 kB / 2.524 GB, free: 440.8 MB / 1.717 GB Notification: Performance of matching and sorting (n=1652) (initialization): time 0.5399/4.57, allocations: 146.1 MB / 2.667 GB, free: 294.5 MB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 5.976e-05/4.57, allocations: 61.62 kB / 2.667 GB, free: 294.5 MB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.666e-05/4.57, allocations: 52 kB / 2.667 GB, free: 294.4 MB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5384/5.108, allocations: 119.8 MB / 2.784 GB, free: 174.7 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01777/5.126, allocations: 3.794 MB / 2.788 GB, free: 170.9 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.121/5.247, allocations: 84.3 MB / 2.87 GB, free: 86.13 MB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.19/5.437, allocations: 10.62 MB / 2.88 GB, free: 75.5 MB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005547/5.443, allocations: 1.664 MB / 2.882 GB, free: 73.83 MB / 1.717 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03582/5.479, allocations: 29.03 MB / 2.91 GB, free: 44.77 MB / 1.717 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02986/5.508, allocations: 27.96 MB / 2.938 GB, free: 15.77 MB / 1.717 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5522/6.061, allocations: 45.78 MB / 2.982 GB, free: 0.6575 GB / 1.717 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.291e-05/6.061, allocations: 18.22 kB / 2.982 GB, free: 0.6575 GB / 1.717 GB Notification: Performance of matching and sorting (n=1652) (initialization_lambda0): time 0.541/6.602, allocations: 144.4 MB / 3.123 GB, free: 0.5593 GB / 1.717 GB Notification: Performance of prepare postOptimizeDAE: time 5.416e-05/6.602, allocations: 61.69 kB / 3.123 GB, free: 0.5592 GB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-05/6.602, allocations: 49 kB / 3.123 GB, free: 0.5592 GB / 1.717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5326/7.135, allocations: 118.8 MB / 3.239 GB, free: 454.2 MB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01638/7.151, allocations: 3.759 MB / 3.243 GB, free: 450.4 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.125/7.276, allocations: 88.2 MB / 3.329 GB, free: 362.2 MB / 1.717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1888/7.465, allocations: 10.67 MB / 3.34 GB, free: 351.5 MB / 1.717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003605/7.468, allocations: 1.629 MB / 3.341 GB, free: 349.9 MB / 1.717 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.004238/7.473, allocations: 0.7672 MB / 3.342 GB, free: 349.2 MB / 1.717 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00495/7.478, allocations: 1.718 MB / 3.344 GB, free: 347.6 MB / 1.717 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1818/7.659, allocations: 68.7 MB / 3.411 GB, free: 279 MB / 1.717 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2033/7.863, allocations: 83.19 MB / 3.492 GB, free: 195.8 MB / 1.717 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.961e-05/7.863, allocations: 28 kB / 3.492 GB, free: 195.7 MB / 1.717 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1937/8.057, allocations: 82.07 MB / 3.572 GB, free: 113.6 MB / 1.717 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8312/8.888, allocations: 216.3 MB / 3.783 GB, free: 0.6144 GB / 1.717 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.619e-05/8.888, allocations: 3.969 kB / 3.783 GB, free: 0.6144 GB / 1.717 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01202/8.9, allocations: 2.24 MB / 3.786 GB, free: 0.6122 GB / 1.717 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5137/9.414, allocations: 144.7 MB / 3.927 GB, free: 483.5 MB / 1.717 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003182/9.417, allocations: 0.8123 MB / 3.928 GB, free: 482.7 MB / 1.717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1083/9.525, allocations: 72.13 MB / 3.998 GB, free: 410.5 MB / 1.717 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]