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.009441/0.009441, allocations: 99.72 kB / 15.73 MB, free: 6.492 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.00219/0.00219, allocations: 204.1 kB / 16.68 MB, free: 6.375 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9094/0.9094, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 59.91 kB / 0.5856 GB, free: 3.266 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.4119, allocations: 80.91 MB / 0.6647 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified1): time 0.7433/1.155, allocations: 355.5 MB / 1.012 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.1172/1.273, allocations: 72.84 MB / 1.083 GB, free: 13.48 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01865/1.291, allocations: 433.5 kB / 1.083 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0189/1.31, allocations: 5.313 MB / 1.089 GB, free: 7.715 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.04269/1.353, allocations: 13.5 MB / 1.102 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.02506/1.378, allocations: 9.741 MB / 1.111 GB, free: 0.4961 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.05184/1.43, allocations: 37.63 MB / 1.148 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02867/1.459, allocations: 19.84 MB / 1.167 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03709/1.496, allocations: 16.76 MB / 1.184 GB, free: 5.973 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02956/1.525, allocations: 15.89 MB / 1.199 GB, free: 6.027 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.008958/1.534, allocations: 1.871 MB / 1.201 GB, free: 4.156 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.9875/2.522, allocations: 5.707 MB / 1.207 GB, free: 53.64 MB / 0.8732 GB Notification: Performance of NFScalarize.scalarize: time 0.01632/2.538, allocations: 5.803 MB / 1.212 GB, free: 53.64 MB / 0.8732 GB Notification: Performance of NFVerifyModel.verify: time 0.03453/2.573, allocations: 10.34 MB / 1.222 GB, free: 52.86 MB / 0.8732 GB Notification: Performance of NFConvertDAE.convert: time 0.05269/2.626, allocations: 28.97 MB / 1.251 GB, free: 49.17 MB / 0.8732 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/2.626, allocations: 2.594 kB / 1.251 GB, free: 49.17 MB / 0.8732 GB Notification: Performance of FrontEnd: time 2.344e-06/2.626, allocations: 0 / 1.251 GB, free: 49.17 MB / 0.8732 GB Notification: Performance of Transformations before backend: time 0.001012/2.627, allocations: 0 / 1.251 GB, free: 49.17 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.07919/2.706, allocations: 22.71 MB / 1.273 GB, free: 40.91 MB / 0.8732 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/2.706, allocations: 11.75 kB / 1.273 GB, free: 40.91 MB / 0.8732 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0157/2.722, allocations: 2.323 MB / 1.275 GB, free: 39.84 MB / 0.8732 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03954/2.761, allocations: 15.99 MB / 1.291 GB, free: 36.92 MB / 0.8732 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007796/2.762, allocations: 0.6667 MB / 1.291 GB, free: 36.91 MB / 0.8732 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006753/2.769, allocations: 0.9319 MB / 1.292 GB, free: 36.89 MB / 0.8732 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04603/2.815, allocations: 16.45 MB / 1.308 GB, free: 36.08 MB / 0.8732 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003329/2.815, allocations: 14.12 kB / 1.308 GB, free: 36.08 MB / 0.8732 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005034/2.82, allocations: 326.7 kB / 1.309 GB, free: 36.08 MB / 0.8732 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003437/2.821, allocations: 367.6 kB / 1.309 GB, free: 36.06 MB / 0.8732 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03906/2.86, allocations: 20.89 MB / 1.33 GB, free: 34.3 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.1513/3.011, allocations: 80.88 MB / 1.408 GB, free: 2.383 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02476/3.036, allocations: 12.66 MB / 1.421 GB, free: 5.988 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01787/3.054, allocations: 9.502 MB / 1.43 GB, free: 12.48 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.08849/3.142, allocations: 34.4 MB / 1.464 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02196/3.164, allocations: 9.689 MB / 1.473 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02349/3.188, allocations: 5.776 MB / 1.479 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=572): time 3.982e-05/3.188, allocations: 0 / 1.479 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=864): time 1.471/4.659, allocations: 239 MB / 1.712 GB, free: 447 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.1334/4.793, allocations: 55.3 MB / 1.766 GB, free: 390.2 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03437/4.827, allocations: 14.92 MB / 1.781 GB, free: 375.4 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.005216/4.832, allocations: 223.2 kB / 1.781 GB, free: 375.2 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.009657/4.842, allocations: 7.199 MB / 1.788 GB, free: 368.4 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.01247/4.854, allocations: 3.269 MB / 1.791 GB, free: 365.2 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01774/4.872, allocations: 4.1 MB / 1.795 GB, free: 361.1 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.546e-05/4.872, allocations: 301.1 kB / 1.796 GB, free: 360.8 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03687/4.909, allocations: 24.24 MB / 1.819 GB, free: 336.6 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0366/4.946, allocations: 26.84 MB / 1.845 GB, free: 308.7 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06866/5.014, allocations: 44.26 MB / 1.889 GB, free: 263.6 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-05/5.015, allocations: 16 kB / 1.889 GB, free: 263.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=1380) (initialization): time 0.6303/5.645, allocations: 142.9 MB / 2.028 GB, free: 120.6 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.612e-05/5.645, allocations: 55.45 kB / 2.028 GB, free: 120.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.746e-05/5.645, allocations: 56 kB / 2.028 GB, free: 120.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.9867/6.632, allocations: 119.8 MB / 2.145 GB, free: 471.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02021/6.652, allocations: 3.511 MB / 2.149 GB, free: 471.1 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1474/6.8, allocations: 84.05 MB / 2.231 GB, free: 449.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2152/7.015, allocations: 10.48 MB / 2.241 GB, free: 445.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006381/7.021, allocations: 1.634 MB / 2.243 GB, free: 444.1 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03996/7.061, allocations: 27.26 MB / 2.269 GB, free: 424.1 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03466/7.096, allocations: 26.38 MB / 2.295 GB, free: 396.7 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06069/7.157, allocations: 43.35 MB / 2.337 GB, free: 352.5 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.239e-05/7.157, allocations: 15.56 kB / 2.337 GB, free: 352.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=1380) (initialization_lambda0): time 0.6114/7.768, allocations: 141.3 MB / 2.475 GB, free: 212.1 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/7.768, allocations: 57.7 kB / 2.475 GB, free: 212 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-05/7.768, allocations: 56.12 kB / 2.475 GB, free: 212 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6396/8.408, allocations: 118.8 MB / 2.592 GB, free: 93.53 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02815/8.436, allocations: 3.466 MB / 2.595 GB, free: 90.05 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6361/9.072, allocations: 88.27 MB / 2.681 GB, free: 453.9 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2255/9.298, allocations: 10.51 MB / 2.691 GB, free: 453.9 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007778/9.306, allocations: 1.603 MB / 2.693 GB, free: 453.9 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.00884/9.314, allocations: 0.7325 MB / 2.694 GB, free: 453.7 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008763/9.323, allocations: 1.554 MB / 2.695 GB, free: 453.7 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2337/9.557, allocations: 67.96 MB / 2.762 GB, free: 443.2 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2626/9.82, allocations: 82.62 MB / 2.842 GB, free: 379.7 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002288/9.82, allocations: 28 kB / 2.842 GB, free: 379.7 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.232/10.05, allocations: 81.51 MB / 2.922 GB, free: 298.2 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3662/10.42, allocations: 206.1 MB / 3.123 GB, free: 92.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001039/10.42, allocations: 0 / 3.123 GB, free: 92.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0131/10.43, allocations: 2.14 MB / 3.125 GB, free: 90.16 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.071/11.5, allocations: 144.7 MB / 3.266 GB, free: 450.7 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005347/11.51, allocations: 0.8014 MB / 3.267 GB, free: 450.1 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1457/11.65, allocations: 71.83 MB / 3.337 GB, free: 407.6 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]