Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.FlowSystem.Simplified1") translateModel(IBPSA.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001271/0.001271, allocations: 108.5 kB / 17.04 MB, free: 6.082 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.001079/0.001079, allocations: 196 kB / 17.98 MB, free: 5.16 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.317/1.317, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7179/0.7179, allocations: 115.1 MB / 406.9 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.001319, allocations: 67.89 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3117, allocations: 76.14 MB / 0.5576 GB, free: 36.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.FlowSystem.Simplified1): time 0.5685/0.8803, allocations: 357.7 MB / 0.9068 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.1098/0.9901, allocations: 75.84 MB / 0.9809 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01412/1.004, allocations: 433.5 kB / 0.9813 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.04217/1.046, allocations: 23.48 MB / 1.004 GB, free: 5.227 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.04055/1.087, allocations: 14.04 MB / 1.018 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.3699/1.457, allocations: 10.15 MB / 1.028 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.09384/1.551, allocations: 74.15 MB / 1.1 GB, free: 33.8 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02797/1.579, allocations: 20 MB / 1.12 GB, free: 24.48 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03379/1.613, allocations: 17.03 MB / 1.136 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03115/1.644, allocations: 16.4 MB / 1.152 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.009556/1.653, allocations: 1.961 MB / 1.154 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02018/1.674, allocations: 6.054 MB / 1.16 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0105/1.684, allocations: 6.506 MB / 1.167 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.02386/1.708, allocations: 11.2 MB / 1.178 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0464/1.755, allocations: 31.08 MB / 1.208 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.755, allocations: 0 / 1.208 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.663e-06/1.755, allocations: 0 / 1.208 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0008967/1.755, allocations: 0 / 1.208 GB, free: 1.344 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2045 * Number of variables: 2045 Notification: Performance of Generate backend data structure: time 0.06288/1.818, allocations: 23.89 MB / 1.231 GB, free: 9.609 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/1.818, allocations: 12.02 kB / 1.231 GB, free: 9.598 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01717/1.836, allocations: 3.193 MB / 1.234 GB, free: 6.379 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04742/1.883, allocations: 20.37 MB / 1.254 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000709/1.884, allocations: 0.6711 MB / 1.255 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004374/1.888, allocations: 0.944 MB / 1.256 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03788/1.926, allocations: 17.11 MB / 1.273 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003122/1.926, allocations: 15.41 kB / 1.273 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00293/1.929, allocations: 330.2 kB / 1.273 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003713/1.93, allocations: 375 kB / 1.273 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04032/1.97, allocations: 21.53 MB / 1.294 GB, free: 9.461 MB / 0.8575 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.5349/2.505, allocations: 82.85 MB / 1.375 GB, free: 144 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02164/2.527, allocations: 13.31 MB / 1.388 GB, free: 143.7 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01473/2.541, allocations: 9.794 MB / 1.398 GB, free: 143.6 MB / 0.8887 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.06776/2.609, allocations: 35.51 MB / 1.432 GB, free: 135.5 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01904/2.628, allocations: 10.25 MB / 1.442 GB, free: 135.3 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02028/2.649, allocations: 5.819 MB / 1.448 GB, free: 135.2 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=588): time 4.325e-05/2.649, allocations: 1.75 kB / 1.448 GB, free: 135.2 MB / 0.8887 GB Notification: Performance of matching and sorting (n=880): time 1.201/3.85, allocations: 239.8 MB / 1.682 GB, free: 467.7 MB / 0.9512 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.1197/3.969, allocations: 55.22 MB / 1.736 GB, free: 440.2 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02565/3.995, allocations: 17.34 MB / 1.753 GB, free: 431.7 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.003762/3.999, allocations: 233.3 kB / 1.753 GB, free: 431.5 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.006923/4.006, allocations: 7.718 MB / 1.761 GB, free: 426.1 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.01044/4.016, allocations: 3.195 MB / 1.764 GB, free: 424.4 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01498/4.031, allocations: 4.548 MB / 1.768 GB, free: 422.1 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 3.486e-05/4.031, allocations: 301.1 kB / 1.769 GB, free: 421.8 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03248/4.064, allocations: 25.64 MB / 1.794 GB, free: 404 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03472/4.099, allocations: 28.49 MB / 1.822 GB, free: 374.6 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06479/4.163, allocations: 46.83 MB / 1.867 GB, free: 327.2 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.44e-05/4.164, allocations: 12 kB / 1.867 GB, free: 327.1 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1652) (initialization): time 0.5702/4.734, allocations: 146 MB / 2.01 GB, free: 181.3 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.37e-05/4.734, allocations: 57.69 kB / 2.01 GB, free: 181.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.69e-05/4.734, allocations: 51.5 kB / 2.01 GB, free: 181.2 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5436/5.278, allocations: 119.8 MB / 2.127 GB, free: 61.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01993/5.298, allocations: 3.798 MB / 2.131 GB, free: 57.61 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4532/5.751, allocations: 84.27 MB / 2.213 GB, free: 435.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1734/5.924, allocations: 10.61 MB / 2.223 GB, free: 435.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006777/5.931, allocations: 1.662 MB / 2.225 GB, free: 435.3 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04183/5.973, allocations: 29.02 MB / 2.253 GB, free: 426.8 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03619/6.009, allocations: 27.97 MB / 2.281 GB, free: 416.8 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.06374/6.073, allocations: 45.78 MB / 2.325 GB, free: 387.4 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.227e-05/6.073, allocations: 12 kB / 2.325 GB, free: 387.4 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1652) (initialization_lambda0): time 0.5656/6.639, allocations: 144.3 MB / 2.466 GB, free: 244 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.26e-05/6.639, allocations: 54.95 kB / 2.466 GB, free: 244 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.374e-05/6.639, allocations: 48 kB / 2.466 GB, free: 243.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5498/7.189, allocations: 118.8 MB / 2.582 GB, free: 125.4 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01779/7.206, allocations: 3.751 MB / 2.586 GB, free: 121.6 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.144/7.35, allocations: 88.17 MB / 2.672 GB, free: 33.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1708/7.521, allocations: 10.65 MB / 2.683 GB, free: 22.69 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006369/7.528, allocations: 1.64 MB / 2.684 GB, free: 21.05 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 227 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1164): * Single equations (assignments): 1142 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(39,65), (39,65)} Notification: Performance of prepare postOptimizeDAE: time 0.007572/7.535, allocations: 0.7653 MB / 2.685 GB, free: 20.27 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006895/7.542, allocations: 1.618 MB / 2.687 GB, free: 19.53 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4779/8.02, allocations: 68.68 MB / 2.754 GB, free: 442.9 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.216/8.236, allocations: 83.18 MB / 2.835 GB, free: 386 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001473/8.236, allocations: 28 kB / 2.835 GB, free: 386 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.206/8.442, allocations: 82.08 MB / 2.915 GB, free: 303.9 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3675/8.81, allocations: 216 MB / 3.126 GB, free: 87.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001156/8.81, allocations: 4 kB / 3.126 GB, free: 87.9 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01316/8.823, allocations: 2.234 MB / 3.128 GB, free: 85.66 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.8381/9.661, allocations: 144.7 MB / 3.269 GB, free: 418.9 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003977/9.665, allocations: 0.8125 MB / 3.27 GB, free: 418.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1172/9.783, allocations: 72.1 MB / 3.341 GB, free: 378 MB / 0.9512 GB Warning: The linear system: 1 : valNorth1[3].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth1[2].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p [ 1.0 , -1.0 ; 1.0 , -1.0 ] * [ valSouth1[1].port_b.p ; valNorth1[2].port_a.p ] = [ -valNorth1[3].dp ; -valNorth1[2].dp ] might be structurally or numerically singular for variable valNorth1[2].port_a.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse374 - tabsNorth2[8].m_flow - tabsNorth2[6].m_flow - tabsNorth2[5].m_flow - tabsNorth2[4].m_flow - tabsNorth2[3].m_flow - tabsNorth2[2].m_flow - tabsNorth2[1].m_flow - tabsNorth1[4].m_flow - tabsNorth1[3].m_flow - tabsNorth1[2].m_flow - tabsNorth1[1].m_flow - tabsSouth2[8].m_flow - tabsSouth2[7].m_flow - tabsSouth2[6].m_flow - tabsSouth2[5].m_flow - tabsSouth2[4].m_flow - tabsSouth2[3].m_flow - tabsSouth2[2].m_flow - tabsSouth2[1].m_flow - tabsSouth1[4].m_flow - tabsSouth1[3].m_flow - tabsSouth1[1].m_flow - tabsSouth1[2].m_flow = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[1].m_flow ; tabsSouth1[2].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsNorth2[7].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth2[1].m_flow + tabsSouth2[2].m_flow + tabsSouth2[3].m_flow + tabsSouth2[4].m_flow + tabsSouth2[5].m_flow + tabsSouth2[6].m_flow + tabsSouth2[7].m_flow + tabsSouth2[8].m_flow + tabsNorth1[1].m_flow + tabsNorth1[2].m_flow + tabsNorth1[3].m_flow + tabsNorth1[4].m_flow + tabsNorth2[1].m_flow + tabsNorth2[2].m_flow + tabsNorth2[3].m_flow + tabsNorth2[4].m_flow + tabsNorth2[5].m_flow + tabsNorth2[6].m_flow + tabsNorth2[8].m_flow + $cse374 + (-valNorth.res3.m_flow) - spl1.res1.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valNorth1[2].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth1[3].dp = valNorth1[2].port_a.p - valSouth1[1].port_b.p [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ valNorth1[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valNorth1[2].dp ; -valNorth1[3].dp ] might be structurally or numerically singular for variable valSouth1[1].port_b.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse374 - tabsNorth2[8].m_flow - tabsNorth2[6].m_flow - tabsNorth2[5].m_flow - tabsNorth2[4].m_flow - tabsNorth2[3].m_flow - tabsNorth2[2].m_flow - tabsNorth2[1].m_flow - tabsNorth1[4].m_flow - tabsNorth1[3].m_flow - tabsNorth1[2].m_flow - tabsNorth1[1].m_flow - tabsSouth2[8].m_flow - tabsSouth2[7].m_flow - tabsSouth2[6].m_flow - tabsSouth2[5].m_flow - tabsSouth2[4].m_flow - tabsSouth2[3].m_flow - tabsSouth2[2].m_flow - tabsSouth2[1].m_flow - tabsSouth1[4].m_flow - tabsSouth1[3].m_flow - tabsSouth1[1].m_flow - tabsSouth1[2].m_flow = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[1].m_flow ; tabsSouth1[2].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsNorth2[7].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth2[1].m_flow + tabsSouth2[2].m_flow + tabsSouth2[3].m_flow + tabsSouth2[4].m_flow + tabsSouth2[5].m_flow + tabsSouth2[6].m_flow + tabsSouth2[7].m_flow + tabsSouth2[8].m_flow + tabsNorth1[1].m_flow + tabsNorth1[2].m_flow + tabsNorth1[3].m_flow + tabsNorth1[4].m_flow + tabsNorth2[1].m_flow + tabsNorth2[2].m_flow + tabsNorth2[3].m_flow + tabsNorth2[4].m_flow + tabsNorth2[5].m_flow + tabsNorth2[6].m_flow + tabsNorth2[8].m_flow + $cse374 + (-valNorth.res3.m_flow) - spl1.res1.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2348:10-2348:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2265:9-2265:79:writable] Error: Internal error function createJacobian failed Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 ($STATESET1.x[32],$STATESET1.x[31],$STATESET1.x[30],$STATESET1.x[29],$STATESET1.x[28],$STATESET1.x[27],$STATESET1.x[26],$STATESET1.x[25],$STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],valSouth1[1].filter.s[1],valSouth1[2].filter.s[1],valSouth1[3].filter.s[1],valSouth1[4].filter.s[1],valSouth2[1].filter.s[1],valSouth2[2].filter.s[1],valSouth2[3].filter.s[1],valSouth2[4].filter.s[1],valSouth2[5].filter.s[1],valSouth2[6].filter.s[1],valSouth2[7].filter.s[1],valSouth2[8].filter.s[1],valNorth1[1].filter.s[1],valNorth1[2].filter.s[1],valNorth1[3].filter.s[1],valNorth1[4].filter.s[1],valNorth2[1].filter.s[1],valNorth2[2].filter.s[1],valNorth2[3].filter.s[1],valNorth2[4].filter.s[1],valNorth2[5].filter.s[1],valNorth2[6].filter.s[1],valNorth2[7].filter.s[1],valNorth2[8].filter.s[1],valSouth.vol.dynBal.U,valSouth.filter.s[1],valNorth.vol.dynBal.U,valNorth.filter.s[1],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],valHea.filter.s[1],valCoo.filter.s[1],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1]) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,stepPump.y,stepPump.pulseStart,pumpHea.stage,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (631): * Single equations (assignments): 608 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(36,81), (1,1), (63,191)} [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4690:9-4690:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:804:5-804:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]