Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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: translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.FlowSystem.Simplified1") translateModel(IDEAS.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.005632/0.005632, allocations: 100.6 kB / 15.73 MB, free: 6.051 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.001327/0.001327, allocations: 185.2 kB / 16.67 MB, free: 5.98 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.026/1.026, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001345, allocations: 59.91 kB / 0.5857 GB, free: 3.332 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4138/0.4152, allocations: 80.91 MB / 0.6647 GB, free: 7.586 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.7233/1.139, allocations: 355.5 MB / 1.012 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.104/1.243, allocations: 72.83 MB / 1.083 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01538/1.258, allocations: 429.5 kB / 1.083 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.02141/1.279, allocations: 5.307 MB / 1.089 GB, free: 7.758 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.06788/1.347, allocations: 13.51 MB / 1.102 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.04368/1.391, allocations: 9.734 MB / 1.111 GB, free: 0.5391 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.05108/1.442, allocations: 37.63 MB / 1.148 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02979/1.472, allocations: 19.84 MB / 1.167 GB, free: 6.801 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03301/1.505, allocations: 17.14 MB / 1.184 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02777/1.533, allocations: 15.89 MB / 1.2 GB, free: 5.699 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.007369/1.54, allocations: 1.879 MB / 1.201 GB, free: 3.82 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.8905/2.431, allocations: 5.703 MB / 1.207 GB, free: 53.78 MB / 0.8732 GB Notification: Performance of NFScalarize.scalarize: time 0.01179/2.443, allocations: 5.801 MB / 1.213 GB, free: 53.78 MB / 0.8732 GB Notification: Performance of NFVerifyModel.verify: time 0.03698/2.48, allocations: 10.34 MB / 1.223 GB, free: 53 MB / 0.8732 GB Notification: Performance of NFConvertDAE.convert: time 0.05387/2.534, allocations: 28.87 MB / 1.251 GB, free: 50.23 MB / 0.8732 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/2.534, allocations: 0 / 1.251 GB, free: 50.23 MB / 0.8732 GB Notification: Performance of FrontEnd: time 2.996e-06/2.534, allocations: 0 / 1.251 GB, free: 50.23 MB / 0.8732 GB Notification: Performance of Transformations before backend: time 0.00137/2.535, allocations: 3.969 kB / 1.251 GB, free: 50.23 MB / 0.8732 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.07515/2.61, allocations: 22.12 MB / 1.273 GB, free: 42.5 MB / 0.8732 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/2.61, allocations: 10.91 kB / 1.273 GB, free: 42.5 MB / 0.8732 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01392/2.624, allocations: 2.229 MB / 1.275 GB, free: 41.52 MB / 0.8732 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04003/2.664, allocations: 15.86 MB / 1.29 GB, free: 38.72 MB / 0.8732 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00081/2.665, allocations: 0.6628 MB / 1.291 GB, free: 38.71 MB / 0.8732 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006334/2.671, allocations: 0.9288 MB / 1.292 GB, free: 38.69 MB / 0.8732 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04584/2.717, allocations: 16.45 MB / 1.308 GB, free: 37.88 MB / 0.8732 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004945/2.718, allocations: 20.83 kB / 1.308 GB, free: 37.88 MB / 0.8732 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006085/2.724, allocations: 322.9 kB / 1.308 GB, free: 37.88 MB / 0.8732 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004098/2.724, allocations: 367.8 kB / 1.309 GB, free: 37.86 MB / 0.8732 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03941/2.764, allocations: 20.89 MB / 1.329 GB, free: 35.99 MB / 0.8732 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.1406/2.904, allocations: 80.8 MB / 1.408 GB, free: 3.969 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02315/2.928, allocations: 12.64 MB / 1.42 GB, free: 7.574 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01523/2.943, allocations: 9.499 MB / 1.43 GB, free: 14.06 MB / 0.9357 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.08432/3.027, allocations: 34.39 MB / 1.463 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01892/3.046, allocations: 9.699 MB / 1.473 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02136/3.068, allocations: 5.751 MB / 1.478 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=572): time 3.361e-05/3.068, allocations: 0 / 1.478 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of matching and sorting (n=864): time 1.338/4.406, allocations: 238.7 MB / 1.711 GB, free: 449.1 MB / 1.076 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.1254/4.531, allocations: 55.24 MB / 1.765 GB, free: 392.4 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03453/4.566, allocations: 14.91 MB / 1.78 GB, free: 377.6 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.005326/4.571, allocations: 229.7 kB / 1.78 GB, free: 377.4 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.009498/4.581, allocations: 7.114 MB / 1.787 GB, free: 370.6 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.01223/4.593, allocations: 3.117 MB / 1.79 GB, free: 367.5 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01887/4.612, allocations: 4.093 MB / 1.794 GB, free: 363.4 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.764e-05/4.612, allocations: 301.1 kB / 1.794 GB, free: 363.1 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03371/4.645, allocations: 24.24 MB / 1.818 GB, free: 338.8 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03449/4.68, allocations: 26.85 MB / 1.844 GB, free: 310.9 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07017/4.75, allocations: 44.27 MB / 1.887 GB, free: 265.9 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.297e-05/4.75, allocations: 12 kB / 1.887 GB, free: 265.9 MB / 1.076 GB Notification: Performance of matching and sorting (n=1380) (initialization): time 0.5674/5.318, allocations: 142.8 MB / 2.027 GB, free: 122.9 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.000108/5.318, allocations: 53.7 kB / 2.027 GB, free: 122.9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000109/5.318, allocations: 52.16 kB / 2.027 GB, free: 122.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042/6.36, allocations: 119.8 MB / 2.144 GB, free: 470.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02038/6.38, allocations: 3.518 MB / 2.147 GB, free: 470.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1676/6.548, allocations: 84.02 MB / 2.229 GB, free: 449.1 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1654/6.714, allocations: 10.48 MB / 2.24 GB, free: 446.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007397/6.721, allocations: 1.632 MB / 2.241 GB, free: 445.1 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04501/6.766, allocations: 27.26 MB / 2.268 GB, free: 426.8 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03495/6.801, allocations: 26.38 MB / 2.294 GB, free: 399.4 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06431/6.865, allocations: 43.35 MB / 2.336 GB, free: 355.2 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.42e-05/6.866, allocations: 16 kB / 2.336 GB, free: 355.2 MB / 1.076 GB Notification: Performance of matching and sorting (n=1380) (initialization_lambda0): time 0.5589/7.424, allocations: 141.2 MB / 2.474 GB, free: 214.8 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.647e-05/7.425, allocations: 53.7 kB / 2.474 GB, free: 214.7 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.21e-05/7.425, allocations: 48 kB / 2.474 GB, free: 214.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5288/7.953, allocations: 118.8 MB / 2.59 GB, free: 96.22 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01682/7.97, allocations: 3.468 MB / 2.593 GB, free: 92.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5758/8.546, allocations: 88.25 MB / 2.68 GB, free: 453.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1674/8.714, allocations: 10.51 MB / 2.69 GB, free: 453.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00723/8.721, allocations: 1.6 MB / 2.691 GB, free: 453.7 MB / 1.076 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.008314/8.729, allocations: 0.7341 MB / 2.692 GB, free: 453.5 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008493/8.738, allocations: 1.475 MB / 2.694 GB, free: 453.5 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2033/8.941, allocations: 67.95 MB / 2.76 GB, free: 444.1 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2191/9.16, allocations: 82.62 MB / 2.841 GB, free: 382.8 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001823/9.16, allocations: 28 kB / 2.841 GB, free: 382.8 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2108/9.371, allocations: 81.5 MB / 2.92 GB, free: 301.3 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3488/9.72, allocations: 206.1 MB / 3.121 GB, free: 95.27 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001111/9.72, allocations: 3.938 kB / 3.121 GB, free: 95.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01218/9.732, allocations: 2.135 MB / 3.124 GB, free: 93.13 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.9537/10.69, allocations: 144.7 MB / 3.265 GB, free: 451.2 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004415/10.69, allocations: 0.8058 MB / 3.266 GB, free: 451.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1232/10.81, allocations: 71.8 MB / 3.336 GB, free: 411 MB / 1.076 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]