Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified1") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008024/0.008024, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001582/0.001582, allocations: 196.1 kB / 16.68 MB, free: 5.93 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7902/0.7902, allocations: 132.2 MB / 422.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 67.55 kB / 0.5814 GB, free: 23.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1839, allocations: 80.21 MB / 0.6597 GB, free: 10.33 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pmpSouth.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pmpNorth.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpHea.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pumpCoo.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified1): time 0.8053/0.9892, allocations: 355.5 MB / 1.007 GB, free: 3.465 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.63/1.619, allocations: 72.82 MB / 1.078 GB, free: 36.39 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02081/1.64, allocations: 428.2 kB / 1.078 GB, free: 36.39 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0205/1.661, allocations: 5.31 MB / 1.084 GB, free: 36.38 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.04459/1.705, allocations: 13.51 MB / 1.097 GB, free: 35.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.02601/1.731, allocations: 9.743 MB / 1.106 GB, free: 35.67 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.05481/1.786, allocations: 37.63 MB / 1.143 GB, free: 34.93 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03032/1.817, allocations: 19.83 MB / 1.162 GB, free: 29.38 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03922/1.856, allocations: 17.15 MB / 1.179 GB, free: 21.7 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03253/1.888, allocations: 15.88 MB / 1.195 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.009318/1.898, allocations: 1.871 MB / 1.196 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02193/1.92, allocations: 5.718 MB / 1.202 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.01155/1.931, allocations: 5.796 MB / 1.208 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.02698/1.958, allocations: 10.34 MB / 1.218 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.04993/2.008, allocations: 28.87 MB / 1.246 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/2.008, allocations: 0 / 1.246 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.094e-06/2.008, allocations: 4 kB / 1.246 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0009185/2.009, allocations: 0 / 1.246 GB, free: 4.078 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 0.06195/2.071, allocations: 22.12 MB / 1.268 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/2.071, allocations: 12.03 kB / 1.268 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01265/2.084, allocations: 2.235 MB / 1.27 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0384/2.122, allocations: 15.86 MB / 1.285 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007075/2.123, allocations: 0.6686 MB / 1.286 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004417/2.128, allocations: 0.9275 MB / 1.287 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03806/2.166, allocations: 16.45 MB / 1.303 GB, free: 9.941 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003618/2.166, allocations: 11.94 kB / 1.303 GB, free: 9.93 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003914/2.17, allocations: 331.6 kB / 1.303 GB, free: 9.613 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004373/2.17, allocations: 367.2 kB / 1.304 GB, free: 9.254 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03899/2.209, allocations: 20.89 MB / 1.324 GB, free: 4.352 MB / 0.9356 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.138/2.347, allocations: 80.79 MB / 1.403 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02107/2.369, allocations: 12.65 MB / 1.415 GB, free: 4.547 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.7553/3.124, allocations: 9.489 MB / 1.425 GB, free: 490.2 MB / 1.029 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.07826/3.202, allocations: 34.4 MB / 1.458 GB, free: 473.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01564/3.218, allocations: 9.689 MB / 1.468 GB, free: 468.6 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02085/3.239, allocations: 5.76 MB / 1.473 GB, free: 466.9 MB / 1.029 GB Notification: Performance of pre-optimization done (n=572): time 3.872e-05/3.239, allocations: 0 / 1.473 GB, free: 466.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=864): time 0.8632/4.102, allocations: 238.7 MB / 1.706 GB, free: 243.2 MB / 1.029 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.1171/4.219, allocations: 55.23 MB / 1.76 GB, free: 186.5 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02261/4.242, allocations: 14.91 MB / 1.775 GB, free: 171.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.003903/4.246, allocations: 229.7 kB / 1.775 GB, free: 171.4 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.006537/4.252, allocations: 7.115 MB / 1.782 GB, free: 164.3 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.01099/4.263, allocations: 3.118 MB / 1.785 GB, free: 161.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01634/4.28, allocations: 4.086 MB / 1.789 GB, free: 157.1 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 5.329e-05/4.28, allocations: 301.1 kB / 1.789 GB, free: 156.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03204/4.312, allocations: 24.24 MB / 1.813 GB, free: 132.6 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03314/4.345, allocations: 26.85 MB / 1.839 GB, free: 104.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06541/4.41, allocations: 44.26 MB / 1.882 GB, free: 59.6 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.311e-05/4.411, allocations: 15.94 kB / 1.882 GB, free: 59.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=1380) (initialization): time 1.325/5.735, allocations: 142.8 MB / 2.022 GB, free: 422.6 MB / 1.03 GB Notification: Performance of prepare postOptimizeDAE: time 8.273e-05/5.735, allocations: 57.06 kB / 2.022 GB, free: 422.6 MB / 1.03 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.357e-05/5.735, allocations: 50.09 kB / 2.022 GB, free: 422.6 MB / 1.03 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5261/6.262, allocations: 119.8 MB / 2.139 GB, free: 313.9 MB / 1.03 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01777/6.279, allocations: 3.502 MB / 2.142 GB, free: 310.4 MB / 1.03 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1417/6.421, allocations: 84.02 MB / 2.224 GB, free: 226.3 MB / 1.03 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.166/6.587, allocations: 10.49 MB / 2.235 GB, free: 215.8 MB / 1.03 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007555/6.595, allocations: 1.629 MB / 2.236 GB, free: 214.2 MB / 1.03 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04218/6.637, allocations: 27.26 MB / 2.263 GB, free: 186.9 MB / 1.03 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03442/6.671, allocations: 26.38 MB / 2.289 GB, free: 159.5 MB / 1.03 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06306/6.735, allocations: 43.34 MB / 2.331 GB, free: 115.3 MB / 1.03 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.531e-05/6.735, allocations: 16 kB / 2.331 GB, free: 115.3 MB / 1.03 GB Notification: Performance of matching and sorting (n=1380) (initialization_lambda0): time 0.9644/7.699, allocations: 141.2 MB / 2.469 GB, free: 425.3 MB / 1.03 GB Notification: Performance of prepare postOptimizeDAE: time 6.102e-05/7.699, allocations: 55.67 kB / 2.469 GB, free: 425.3 MB / 1.03 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-05/7.699, allocations: 50.5 kB / 2.469 GB, free: 425.3 MB / 1.03 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5283/8.227, allocations: 118.8 MB / 2.585 GB, free: 355 MB / 1.03 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01642/8.244, allocations: 3.473 MB / 2.588 GB, free: 351.6 MB / 1.03 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1447/8.389, allocations: 88.23 MB / 2.675 GB, free: 263.4 MB / 1.03 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1678/8.556, allocations: 10.51 MB / 2.685 GB, free: 252.9 MB / 1.03 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007263/8.564, allocations: 1.601 MB / 2.686 GB, free: 251.3 MB / 1.03 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1020): * Single equations (assignments): 1002 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(39,65), (39,65)} Notification: Performance of prepare postOptimizeDAE: time 0.008172/8.572, allocations: 0.7429 MB / 2.687 GB, free: 250.6 MB / 1.03 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007374/8.579, allocations: 1.469 MB / 2.689 GB, free: 249.9 MB / 1.03 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2005/8.78, allocations: 67.94 MB / 2.755 GB, free: 182 MB / 1.03 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2113/8.991, allocations: 82.62 MB / 2.836 GB, free: 99.34 MB / 1.03 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001177/8.991, allocations: 31.98 kB / 2.836 GB, free: 99.31 MB / 1.03 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6519/9.643, allocations: 81.49 MB / 2.915 GB, free: 403.9 MB / 1.03 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.369/10.01, allocations: 206 MB / 3.116 GB, free: 304.2 MB / 1.03 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001203/10.01, allocations: 0 / 3.116 GB, free: 304.2 MB / 1.03 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01183/10.02, allocations: 2.144 MB / 3.119 GB, free: 302.1 MB / 1.03 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5379/10.56, allocations: 144.7 MB / 3.26 GB, free: 159 MB / 1.03 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003904/10.57, allocations: 0.8025 MB / 3.261 GB, free: 158.2 MB / 1.03 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1172/10.68, allocations: 71.81 MB / 3.331 GB, free: 86.3 MB / 1.03 GB Warning: The linear system: 1 : valNorth2[3].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth2[1].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ valNorth2[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valNorth2[3].dp ; -valNorth2[1].dp ] might be structurally or numerically singular for variable valSouth1[1].port_b.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse374 - tabsNorth2[8].m_flow - tabsNorth2[6].m_flow - tabsNorth2[5].m_flow - tabsNorth2[4].m_flow - tabsNorth2[3].m_flow - tabsNorth2[2].m_flow - tabsNorth2[1].m_flow - tabsNorth1[4].m_flow - tabsNorth1[3].m_flow - tabsNorth1[2].m_flow - tabsNorth1[1].m_flow - tabsSouth2[8].m_flow - tabsSouth2[7].m_flow - tabsSouth2[6].m_flow - tabsSouth2[5].m_flow - tabsSouth2[4].m_flow - tabsSouth2[3].m_flow - tabsSouth2[2].m_flow - tabsSouth2[1].m_flow - tabsSouth1[4].m_flow - tabsSouth1[3].m_flow - tabsSouth1[1].m_flow - tabsSouth1[2].m_flow = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[1].m_flow ; tabsSouth1[2].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsNorth2[7].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth2[1].m_flow + tabsSouth2[2].m_flow + tabsSouth2[3].m_flow + tabsSouth2[4].m_flow + tabsSouth2[5].m_flow + tabsSouth2[6].m_flow + tabsSouth2[7].m_flow + tabsSouth2[8].m_flow + tabsNorth1[1].m_flow + tabsNorth1[2].m_flow + tabsNorth1[3].m_flow + tabsNorth1[4].m_flow + tabsNorth2[1].m_flow + tabsNorth2[2].m_flow + tabsNorth2[3].m_flow + tabsNorth2[4].m_flow + tabsNorth2[5].m_flow + tabsNorth2[6].m_flow + tabsNorth2[8].m_flow + $cse374 + (-valNorth.res3.m_flow) - spl1.res1.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valNorth2[1].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth2[3].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p [ 1.0 , -1.0 ; 1.0 , -1.0 ] * [ valSouth1[1].port_b.p ; valNorth2[2].port_a.p ] = [ -valNorth2[1].dp ; -valNorth2[3].dp ] might be structurally or numerically singular for variable valNorth2[2].port_a.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse374 - tabsNorth2[8].m_flow - tabsNorth2[6].m_flow - tabsNorth2[5].m_flow - tabsNorth2[4].m_flow - tabsNorth2[3].m_flow - tabsNorth2[2].m_flow - tabsNorth2[1].m_flow - tabsNorth1[4].m_flow - tabsNorth1[3].m_flow - tabsNorth1[2].m_flow - tabsNorth1[1].m_flow - tabsSouth2[8].m_flow - tabsSouth2[7].m_flow - tabsSouth2[6].m_flow - tabsSouth2[5].m_flow - tabsSouth2[4].m_flow - tabsSouth2[3].m_flow - tabsSouth2[2].m_flow - tabsSouth2[1].m_flow - tabsSouth1[4].m_flow - tabsSouth1[3].m_flow - tabsSouth1[1].m_flow - tabsSouth1[2].m_flow = 0.0 2 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ tabsSouth1[2].m_flow ; tabsSouth1[1].m_flow ] = [ tabsNorth2[7].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth2[1].m_flow + tabsSouth2[2].m_flow + tabsSouth2[3].m_flow + tabsSouth2[4].m_flow + tabsSouth2[5].m_flow + tabsSouth2[6].m_flow + tabsSouth2[7].m_flow + tabsSouth2[8].m_flow + tabsNorth1[1].m_flow + tabsNorth1[2].m_flow + tabsNorth1[3].m_flow + tabsNorth1[4].m_flow + tabsNorth2[1].m_flow + tabsNorth2[2].m_flow + tabsNorth2[3].m_flow + tabsNorth2[4].m_flow + tabsNorth2[5].m_flow + tabsNorth2[6].m_flow + tabsNorth2[8].m_flow + $cse374 + (-valNorth.res3.m_flow) - spl1.res1.m_flow - valSouth.res3.m_flow ; pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ] might be structurally or numerically singular for variable tabsSouth1[1].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2348:10-2348:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2265:9-2265:79:writable] Error: Internal error function createJacobian failed Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($STATESET1.x[32],$STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],valSouth1[1].filter.s[1],valSouth1[2].filter.s[1],valSouth1[3].filter.s[1],valSouth1[4].filter.s[1],valSouth2[1].filter.s[1],valSouth2[2].filter.s[1],valSouth2[3].filter.s[1],valSouth2[4].filter.s[1],valSouth2[5].filter.s[1],valSouth2[6].filter.s[1],valSouth2[7].filter.s[1],valSouth2[8].filter.s[1],valNorth1[1].filter.s[1],valNorth1[2].filter.s[1],valNorth1[3].filter.s[1],valNorth1[4].filter.s[1],valNorth2[1].filter.s[1],valNorth2[2].filter.s[1],valNorth2[3].filter.s[1],valNorth2[4].filter.s[1],valNorth2[5].filter.s[1],valNorth2[6].filter.s[1],valNorth2[7].filter.s[1],valNorth2[8].filter.s[1],valSouth.vol.dynBal.U,valSouth.filter.s[1],valNorth.vol.dynBal.U,valNorth.filter.s[1],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],valHea.filter.s[1],valCoo.filter.s[1],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1]) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (615): * Single equations (assignments): 592 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(36,81), (1,1), (62,192)} [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4689:9-4689:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:803:5-803:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]