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.001296/0.001296, allocations: 106.5 kB / 16.41 MB, free: 6.473 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.001283/0.001283, allocations: 187 kB / 17.34 MB, free: 5.75 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.207/1.207, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7377/0.7377, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 71.25 kB / 0.5863 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1279, allocations: 80.92 MB / 0.6653 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.FlowSystem.Simplified1): time 0.599/0.7269, allocations: 355.5 MB / 1.013 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.4794/1.206, allocations: 72.81 MB / 1.084 GB, free: 37.22 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01555/1.222, allocations: 427.2 kB / 1.084 GB, free: 37.22 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01561/1.238, allocations: 5.316 MB / 1.089 GB, free: 37.21 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.03442/1.272, allocations: 13.5 MB / 1.102 GB, free: 36.71 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.02111/1.293, allocations: 9.741 MB / 1.112 GB, free: 36.42 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.04165/1.335, allocations: 37.63 MB / 1.149 GB, free: 35.18 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02472/1.36, allocations: 19.84 MB / 1.168 GB, free: 28.43 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03159/1.391, allocations: 17.14 MB / 1.185 GB, free: 16.16 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02501/1.416, allocations: 15.89 MB / 1.2 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.007682/1.424, allocations: 1.871 MB / 1.202 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0199/1.444, allocations: 5.713 MB / 1.208 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.009807/1.454, allocations: 5.805 MB / 1.213 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.02297/1.477, allocations: 10.34 MB / 1.223 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.04468/1.522, allocations: 28.86 MB / 1.252 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/1.522, allocations: 0 / 1.252 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.874e-06/1.522, allocations: 0 / 1.252 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0008864/1.523, allocations: 0 / 1.252 GB, free: 14.53 MB / 0.8731 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.05654/1.579, allocations: 22.13 MB / 1.273 GB, free: 8.477 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/1.579, allocations: 9.109 kB / 1.273 GB, free: 8.469 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01181/1.591, allocations: 2.239 MB / 1.275 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03495/1.626, allocations: 15.85 MB / 1.291 GB, free: 6.621 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006471/1.627, allocations: 0.6686 MB / 1.292 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004311/1.631, allocations: 0.9325 MB / 1.292 GB, free: 5.035 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.035/1.666, allocations: 16.45 MB / 1.309 GB, free: 4.387 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002413/1.666, allocations: 11.94 kB / 1.309 GB, free: 4.375 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002758/1.669, allocations: 326.3 kB / 1.309 GB, free: 4.062 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003409/1.669, allocations: 371.2 kB / 1.309 GB, free: 3.699 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03555/1.705, allocations: 20.89 MB / 1.33 GB, free: 14.79 MB / 0.9512 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.1313/1.836, allocations: 80.79 MB / 1.409 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6296/2.466, allocations: 12.64 MB / 1.421 GB, free: 484.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01618/2.482, allocations: 9.493 MB / 1.43 GB, free: 482.2 MB / 1.029 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.06836/2.551, allocations: 34.41 MB / 1.464 GB, free: 465.6 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01438/2.565, allocations: 9.691 MB / 1.473 GB, free: 460 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01822/2.583, allocations: 5.763 MB / 1.479 GB, free: 458.3 MB / 1.029 GB Notification: Performance of pre-optimization done (n=572): time 4.058e-05/2.583, allocations: 0 / 1.479 GB, free: 458.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=864): time 0.8418/3.425, allocations: 238.6 MB / 1.712 GB, free: 233.7 MB / 1.029 GB Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[2].m_flow ; tabsSouth1[1].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsSouth1[3].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + (-spl1.res1.m_flow) - valCoo.m_flow - valNorth.res3.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[1].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : valCoo.m_flow + spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsSouth1[2].m_flow) - tabsSouth1[1].m_flow - tabsSouth1[3].m_flow - tabsSouth1[4].m_flow - tabsSouth2[1].m_flow - tabsSouth2[2].m_flow - tabsSouth2[3].m_flow - tabsSouth2[4].m_flow - tabsSouth2[5].m_flow - tabsSouth2[6].m_flow - tabsSouth2[7].m_flow - tabsSouth2[8].m_flow - tabsNorth1[1].m_flow - tabsNorth1[2].m_flow - tabsNorth1[3].m_flow - tabsNorth1[4].m_flow - tabsNorth2[1].m_flow - tabsNorth2[2].m_flow - tabsNorth2[3].m_flow - tabsNorth2[4].m_flow - tabsNorth2[5].m_flow - tabsNorth2[6].m_flow - tabsNorth2[8].m_flow - tabsNorth2[7].m_flow = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[1].m_flow ; tabsSouth1[2].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsSouth1[3].m_flow + tabsNorth2[8].m_flow + tabsNorth2[7].m_flow + tabsNorth2[6].m_flow + tabsNorth2[5].m_flow + tabsNorth2[4].m_flow + tabsNorth2[3].m_flow + tabsNorth2[2].m_flow + tabsNorth2[1].m_flow + tabsNorth1[4].m_flow + tabsNorth1[3].m_flow + tabsNorth1[2].m_flow + tabsNorth1[1].m_flow + tabsSouth2[8].m_flow + tabsSouth2[7].m_flow + tabsSouth2[6].m_flow + tabsSouth2[5].m_flow + tabsSouth2[4].m_flow + tabsSouth2[3].m_flow + tabsSouth2[2].m_flow + tabsSouth2[1].m_flow + tabsSouth1[4].m_flow + (-spl1.res1.m_flow) - valCoo.m_flow - valNorth.res3.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow.SeedStateSetJac0 + tabsSouth1[3].m_flow.SeedStateSetJac0 + tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - pipSouth1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 = 0.0 2 : valCoo.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + spl1.res1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + valNorth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + valSouth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + (-tabsNorth2[8].m_flow.SeedStateSetJac0) - tabsNorth2[7].m_flow.SeedStateSetJac0 - tabsNorth2[6].m_flow.SeedStateSetJac0 - tabsNorth2[5].m_flow.SeedStateSetJac0 - tabsNorth2[4].m_flow.SeedStateSetJac0 - tabsNorth2[3].m_flow.SeedStateSetJac0 - tabsNorth2[2].m_flow.SeedStateSetJac0 - tabsNorth2[1].m_flow.SeedStateSetJac0 - tabsNorth1[4].m_flow.SeedStateSetJac0 - tabsNorth1[3].m_flow.SeedStateSetJac0 - tabsNorth1[2].m_flow.SeedStateSetJac0 - tabsNorth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - tabsSouth2[8].m_flow.SeedStateSetJac0 - tabsSouth2[7].m_flow.SeedStateSetJac0 - tabsSouth2[6].m_flow.SeedStateSetJac0 - tabsSouth2[5].m_flow.SeedStateSetJac0 - tabsSouth2[4].m_flow.SeedStateSetJac0 - tabsSouth2[3].m_flow.SeedStateSetJac0 - tabsSouth2[2].m_flow.SeedStateSetJac0 - tabsSouth2[1].m_flow.SeedStateSetJac0 - tabsSouth1[4].m_flow.SeedStateSetJac0 - tabsSouth1[3].m_flow.SeedStateSetJac0 - tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1.2.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ; tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ] = [ pipSouth1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + (-tabsSouth1[3].m_flow.SeedStateSetJac0) - tabsSouth1[4].m_flow.SeedStateSetJac0 ; tabsNorth2[8].m_flow.SeedStateSetJac0 + tabsSouth1[4].m_flow.SeedStateSetJac0 + tabsSouth1[3].m_flow.SeedStateSetJac0 + tabsSouth2[1].m_flow.SeedStateSetJac0 + tabsSouth2[2].m_flow.SeedStateSetJac0 + tabsSouth2[3].m_flow.SeedStateSetJac0 + tabsSouth2[4].m_flow.SeedStateSetJac0 + tabsSouth2[5].m_flow.SeedStateSetJac0 + tabsSouth2[6].m_flow.SeedStateSetJac0 + tabsSouth2[7].m_flow.SeedStateSetJac0 + tabsSouth2[8].m_flow.SeedStateSetJac0 + tabsNorth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 + tabsNorth1[2].m_flow.SeedStateSetJac0 + tabsNorth1[3].m_flow.SeedStateSetJac0 + tabsNorth1[4].m_flow.SeedStateSetJac0 + tabsNorth2[1].m_flow.SeedStateSetJac0 + tabsNorth2[2].m_flow.SeedStateSetJac0 + tabsNorth2[3].m_flow.SeedStateSetJac0 + tabsNorth2[4].m_flow.SeedStateSetJac0 + tabsNorth2[5].m_flow.SeedStateSetJac0 + tabsNorth2[6].m_flow.SeedStateSetJac0 + tabsNorth2[7].m_flow.SeedStateSetJac0 + (-spl1.res1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0) - valCoo.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - valNorth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 - valSouth.res3.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 ] might be structurally or numerically singular for variable tabsSouth1.1.m_flow.$pDERStateSetJac0.dummyVarStateSetJac0 since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of inlineWhenForInitialization (initialization): time 0.1103/3.535, allocations: 55.25 MB / 1.766 GB, free: 176.9 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0206/3.556, allocations: 14.91 MB / 1.78 GB, free: 162.1 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.003553/3.56, allocations: 225.7 kB / 1.781 GB, free: 161.8 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.005738/3.565, allocations: 7.111 MB / 1.788 GB, free: 154.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.01029/3.576, allocations: 3.111 MB / 1.791 GB, free: 151.6 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01282/3.588, allocations: 4.091 MB / 1.795 GB, free: 147.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 3.648e-05/3.589, allocations: 309.2 kB / 1.795 GB, free: 147.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02848/3.617, allocations: 24.25 MB / 1.819 GB, free: 122.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03046/3.648, allocations: 26.85 MB / 1.845 GB, free: 95.08 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05764/3.705, allocations: 44.26 MB / 1.888 GB, free: 50.01 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.991e-05/3.705, allocations: 23.88 kB / 1.888 GB, free: 49.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=1380) (initialization): time 1.202/4.907, allocations: 142.7 MB / 2.027 GB, free: 416.1 MB / 1.03 GB Notification: Performance of prepare postOptimizeDAE: time 6.6e-05/4.907, allocations: 53.92 kB / 2.027 GB, free: 416.1 MB / 1.03 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.043e-05/4.907, allocations: 52.92 kB / 2.028 GB, free: 416.1 MB / 1.03 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5234/5.431, allocations: 119.8 MB / 2.145 GB, free: 301.3 MB / 1.03 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01696/5.448, allocations: 3.509 MB / 2.148 GB, free: 297.8 MB / 1.03 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1231/5.571, allocations: 84.02 MB / 2.23 GB, free: 213.7 MB / 1.03 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1677/5.739, allocations: 10.48 MB / 2.24 GB, free: 203.2 MB / 1.03 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006353/5.745, allocations: 1.637 MB / 2.242 GB, free: 201.6 MB / 1.03 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03757/5.783, allocations: 27.26 MB / 2.269 GB, free: 174.3 MB / 1.03 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03047/5.813, allocations: 26.38 MB / 2.294 GB, free: 146.9 MB / 1.03 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05776/5.871, allocations: 43.35 MB / 2.337 GB, free: 102.7 MB / 1.03 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.479e-05/5.871, allocations: 12 kB / 2.337 GB, free: 102.7 MB / 1.03 GB Notification: Performance of matching and sorting (n=1380) (initialization_lambda0): time 0.9072/6.778, allocations: 141.2 MB / 2.474 GB, free: 423 MB / 1.03 GB Notification: Performance of prepare postOptimizeDAE: time 7.071e-05/6.778, allocations: 57.33 kB / 2.475 GB, free: 422.9 MB / 1.03 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-05/6.779, allocations: 51.25 kB / 2.475 GB, free: 422.9 MB / 1.03 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5196/7.298, allocations: 118.8 MB / 2.591 GB, free: 339.2 MB / 1.03 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01591/7.314, allocations: 3.462 MB / 2.594 GB, free: 335.9 MB / 1.03 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1354/7.449, allocations: 88.25 MB / 2.68 GB, free: 247.6 MB / 1.03 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1672/7.617, allocations: 10.51 MB / 2.69 GB, free: 237.1 MB / 1.03 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006872/7.624, allocations: 1.601 MB / 2.692 GB, free: 235.5 MB / 1.03 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,stepValve.count,$PRE.stepValve.count,stepValve.T_start,$PRE.stepValve.T_start,pumpHea.stage,stepPump.pulseStart,$PRE.stepPump.pulseStart,stepPump.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1020): * Single equations (assignments): 1002 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(28,28,89.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(39,65), (39,65)} Notification: Performance of prepare postOptimizeDAE: time 0.008503/7.632, allocations: 0.7294 MB / 2.693 GB, free: 234.8 MB / 1.03 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008326/7.64, allocations: 1.474 MB / 2.694 GB, free: 234.1 MB / 1.03 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1996/7.84, allocations: 67.95 MB / 2.761 GB, free: 166.2 MB / 1.03 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.213/8.053, allocations: 82.63 MB / 2.841 GB, free: 83.54 MB / 1.03 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001475/8.053, allocations: 32 kB / 2.841 GB, free: 83.51 MB / 1.03 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5958/8.649, allocations: 81.49 MB / 2.921 GB, free: 406.6 MB / 1.03 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3168/8.966, allocations: 206 MB / 3.122 GB, free: 286.6 MB / 1.03 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001031/8.966, allocations: 0 / 3.122 GB, free: 286.6 MB / 1.03 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01129/8.977, allocations: 2.139 MB / 3.124 GB, free: 284.5 MB / 1.03 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5041/9.481, allocations: 144.7 MB / 3.265 GB, free: 140.6 MB / 1.03 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003978/9.485, allocations: 0.8063 MB / 3.266 GB, free: 139.8 MB / 1.03 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1092/9.595, allocations: 71.8 MB / 3.336 GB, free: 67.87 MB / 1.03 GB Warning: The linear system: 1 : valNorth2[3].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth2[1].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p [ -1.0 , 1.0 ; -1.0 , 1.0 ] * [ valNorth2[2].port_a.p ; valSouth1[1].port_b.p ] = [ -valNorth2[3].dp ; -valNorth2[1].dp ] might be structurally or numerically singular for variable valSouth1[1].port_b.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 2 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse374 - tabsNorth2[8].m_flow - tabsNorth2[6].m_flow - tabsNorth2[5].m_flow - tabsNorth2[4].m_flow - tabsNorth2[3].m_flow - tabsNorth2[2].m_flow - tabsNorth2[1].m_flow - tabsNorth1[4].m_flow - tabsNorth1[3].m_flow - tabsNorth1[2].m_flow - tabsNorth1[1].m_flow - tabsSouth2[8].m_flow - tabsSouth2[7].m_flow - tabsSouth2[6].m_flow - tabsSouth2[5].m_flow - tabsSouth2[4].m_flow - tabsSouth2[3].m_flow - tabsSouth2[2].m_flow - tabsSouth2[1].m_flow - tabsSouth1[4].m_flow - tabsSouth1[3].m_flow - tabsSouth1[1].m_flow - tabsSouth1[2].m_flow = 0.0 [ 1.0 , 1.0 ; -1.0 , -1.0 ] * [ tabsSouth1[1].m_flow ; tabsSouth1[2].m_flow ] = [ pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ; tabsNorth2[7].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth2[1].m_flow + tabsSouth2[2].m_flow + tabsSouth2[3].m_flow + tabsSouth2[4].m_flow + tabsSouth2[5].m_flow + tabsSouth2[6].m_flow + tabsSouth2[7].m_flow + tabsSouth2[8].m_flow + tabsNorth1[1].m_flow + tabsNorth1[2].m_flow + tabsNorth1[3].m_flow + tabsNorth1[4].m_flow + tabsNorth2[1].m_flow + tabsNorth2[2].m_flow + tabsNorth2[3].m_flow + tabsNorth2[4].m_flow + tabsNorth2[5].m_flow + tabsNorth2[6].m_flow + tabsNorth2[8].m_flow + $cse374 + (-valNorth.res3.m_flow) - spl1.res1.m_flow - valSouth.res3.m_flow ] might be structurally or numerically singular for variable tabsSouth1[2].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : valNorth2[1].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth2[3].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p [ 1.0 , -1.0 ; 1.0 , -1.0 ] * [ valSouth1[1].port_b.p ; valNorth2[2].port_a.p ] = [ -valNorth2[1].dp ; -valNorth2[3].dp ] might be structurally or numerically singular for variable valNorth2[2].port_a.p since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Warning: The linear system: 1 : spl1.res1.m_flow + valNorth.res3.m_flow + valSouth.res3.m_flow + (-tabsNorth2[7].m_flow) - $cse374 - tabsNorth2[8].m_flow - tabsNorth2[6].m_flow - tabsNorth2[5].m_flow - tabsNorth2[4].m_flow - tabsNorth2[3].m_flow - tabsNorth2[2].m_flow - tabsNorth2[1].m_flow - tabsNorth1[4].m_flow - tabsNorth1[3].m_flow - tabsNorth1[2].m_flow - tabsNorth1[1].m_flow - tabsSouth2[8].m_flow - tabsSouth2[7].m_flow - tabsSouth2[6].m_flow - tabsSouth2[5].m_flow - tabsSouth2[4].m_flow - tabsSouth2[3].m_flow - tabsSouth2[2].m_flow - tabsSouth2[1].m_flow - tabsSouth1[4].m_flow - tabsSouth1[3].m_flow - tabsSouth1[1].m_flow - tabsSouth1[2].m_flow = 0.0 2 : tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth1[2].m_flow + tabsSouth1[1].m_flow - pipSouth1.m_flow = 0.0 [ -1.0 , -1.0 ; 1.0 , 1.0 ] * [ tabsSouth1[2].m_flow ; tabsSouth1[1].m_flow ] = [ tabsNorth2[7].m_flow + tabsSouth1[4].m_flow + tabsSouth1[3].m_flow + tabsSouth2[1].m_flow + tabsSouth2[2].m_flow + tabsSouth2[3].m_flow + tabsSouth2[4].m_flow + tabsSouth2[5].m_flow + tabsSouth2[6].m_flow + tabsSouth2[7].m_flow + tabsSouth2[8].m_flow + tabsNorth1[1].m_flow + tabsNorth1[2].m_flow + tabsNorth1[3].m_flow + tabsNorth1[4].m_flow + tabsNorth2[1].m_flow + tabsNorth2[2].m_flow + tabsNorth2[3].m_flow + tabsNorth2[4].m_flow + tabsNorth2[5].m_flow + tabsNorth2[6].m_flow + tabsNorth2[8].m_flow + $cse374 + (-valNorth.res3.m_flow) - spl1.res1.m_flow - valSouth.res3.m_flow ; pipSouth1.m_flow + (-tabsSouth1[3].m_flow) - tabsSouth1[4].m_flow ] might be structurally or numerically singular for variable tabsSouth1[1].m_flow since U(2,2) = 0.0. It might be hard to solve. Compilation continues anyway. Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! [/var/lib/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 (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/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]