Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified1") translateModel(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0008209/0.0008209, allocations: 102.1 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008692/0.0008694, allocations: 176.4 kB / 16.58 MB, free: 6.402 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.464/1.464, allocations: 223.2 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002289/0.002289, allocations: 274.2 kB / 292 MB, free: 1.898 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9262/0.9262, allocations: 144.7 MB / 487.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004266/0.0004269, allocations: 19.58 kB / 0.5691 GB, free: 38.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1718, allocations: 83.09 MB / 0.6502 GB, free: 3.566 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1): time 0.741/0.9128, allocations: 328.5 MB / 0.971 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1099/1.023, allocations: 68.6 MB / 1.038 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01957/1.042, allocations: 365.6 kB / 1.038 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.01689/1.059, allocations: 3.614 MB / 1.042 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.04092/1.1, allocations: 10.76 MB / 1.052 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.02562/1.126, allocations: 7.296 MB / 1.06 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.6137/1.74, allocations: 41.44 MB / 1.1 GB, free: 32.8 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03414/1.774, allocations: 16.07 MB / 1.116 GB, free: 31.27 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04114/1.815, allocations: 13.8 MB / 1.129 GB, free: 31.23 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03583/1.851, allocations: 14.66 MB / 1.144 GB, free: 29.54 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.009529/1.861, allocations: 1.068 MB / 1.145 GB, free: 29.54 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02299/1.884, allocations: 3.62 MB / 1.148 GB, free: 29.22 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.01354/1.897, allocations: 4.773 MB / 1.153 GB, free: 28.1 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.01549/1.913, allocations: 3.22 MB / 1.156 GB, free: 27.5 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.03505/1.948, allocations: 21.67 MB / 1.177 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.948, allocations: 0 / 1.177 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.405e-06/1.948, allocations: 0 / 1.177 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.001147/1.949, allocations: 4 kB / 1.177 GB, free: 12.16 MB / 0.7325 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.05922/2.008, allocations: 20.25 MB / 1.197 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/2.008, allocations: 12.02 kB / 1.197 GB, free: 9.184 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01561/2.024, allocations: 2.627 MB / 1.199 GB, free: 6.543 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04444/2.068, allocations: 15.1 MB / 1.214 GB, free: 11.66 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009506/2.069, allocations: 0.6921 MB / 1.215 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005978/2.075, allocations: 0.9324 MB / 1.216 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0451/2.12, allocations: 16.52 MB / 1.232 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005198/2.121, allocations: 15.78 kB / 1.232 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004795/2.126, allocations: 329.4 kB / 1.232 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005008/2.126, allocations: 369.2 kB / 1.233 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04512/2.172, allocations: 21.11 MB / 1.253 GB, free: 116 kB / 0.7794 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.1675/2.339, allocations: 82.39 MB / 1.334 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02142/2.361, allocations: 12.93 MB / 1.346 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0164/2.377, allocations: 9.574 MB / 1.356 GB, free: 10.53 MB / 0.8731 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.8118/3.189, allocations: 35.85 MB / 1.391 GB, free: 396.7 MB / 0.8888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02807/3.217, allocations: 9.81 MB / 1.4 GB, free: 396.5 MB / 0.8888 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03815/3.255, allocations: 9.932 MB / 1.41 GB, free: 396.5 MB / 0.8888 GB Notification: Performance of pre-optimization done (n=576): time 8.87e-05/3.255, allocations: 1.641 kB / 1.41 GB, free: 396.5 MB / 0.8888 GB Notification: Performance of matching and sorting (n=868): time 0.9844/4.24, allocations: 301.8 MB / 1.705 GB, free: 117.7 MB / 0.8888 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.113/4.353, allocations: 55.17 MB / 1.758 GB, free: 60.98 MB / 0.8888 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02657/4.379, allocations: 14.72 MB / 1.773 GB, free: 46.4 MB / 0.8888 GB Notification: Performance of collectPreVariables (initialization): time 0.004894/4.384, allocations: 231.2 kB / 1.773 GB, free: 46.17 MB / 0.8888 GB Notification: Performance of collectInitialEqns (initialization): time 0.008014/4.392, allocations: 7.215 MB / 1.78 GB, free: 39.27 MB / 0.8888 GB Notification: Performance of collectInitialBindings (initialization): time 0.01487/4.407, allocations: 3.132 MB / 1.783 GB, free: 36.16 MB / 0.8888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006058/4.413, allocations: 204 kB / 1.783 GB, free: 35.96 MB / 0.8888 GB Notification: Performance of setup shared object (initialization): time 0.0008987/4.414, allocations: 0.7329 MB / 1.784 GB, free: 35.23 MB / 0.8888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03503/4.449, allocations: 23.57 MB / 1.807 GB, free: 11.63 MB / 0.8888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.8539/5.303, allocations: 26.31 MB / 1.833 GB, free: 361.1 MB / 0.8889 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03855/5.342, allocations: 24.83 MB / 1.857 GB, free: 357.9 MB / 0.8889 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001188/5.342, allocations: 15.34 kB / 1.857 GB, free: 357.9 MB / 0.8889 GB Notification: Performance of matching and sorting (n=1384) (initialization): time 0.5941/5.936, allocations: 154.3 MB / 2.008 GB, free: 233.7 MB / 0.8889 GB Notification: Performance of prepare postOptimizeDAE: time 0.001031/5.937, allocations: 1.724 MB / 2.009 GB, free: 231.2 MB / 0.8889 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.761e-05/5.937, allocations: 50.84 kB / 2.009 GB, free: 231.1 MB / 0.8889 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5511/6.488, allocations: 145.4 MB / 2.151 GB, free: 85.62 MB / 0.8889 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01868/6.507, allocations: 3.572 MB / 2.155 GB, free: 82.05 MB / 0.8889 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5362/7.043, allocations: 81.25 MB / 2.234 GB, free: 331.7 MB / 0.8889 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.167/7.21, allocations: 10.95 MB / 2.245 GB, free: 331.7 MB / 0.8889 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00849/7.219, allocations: 1.637 MB / 2.246 GB, free: 331.7 MB / 0.8889 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/7.219, allocations: 7.844 kB / 2.247 GB, free: 331.7 MB / 0.8889 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5685/7.788, allocations: 152.8 MB / 2.396 GB, free: 246.1 MB / 0.8889 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002119/7.788, allocations: 52 kB / 2.396 GB, free: 246.1 MB / 0.8889 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5531/8.341, allocations: 144.5 MB / 2.537 GB, free: 101.4 MB / 0.8889 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01811/8.359, allocations: 3.529 MB / 2.54 GB, free: 97.89 MB / 0.8889 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5643/8.923, allocations: 84.81 MB / 2.623 GB, free: 325.5 MB / 0.8889 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1729/9.096, allocations: 10.92 MB / 2.634 GB, free: 325.5 MB / 0.8889 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008875/9.105, allocations: 1.61 MB / 2.635 GB, free: 325.5 MB / 0.8889 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,$whenCondition2,stepPump.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,pumpHea.stage,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1024): * Single equations (assignments): 1006 * Array equations: 6 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 2 {39 65,39 65} Notification: Performance of prepare postOptimizeDAE: time 0.02162/9.127, allocations: 3.99 MB / 2.639 GB, free: 325.3 MB / 0.8889 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01023/9.137, allocations: 1.473 MB / 2.641 GB, free: 325.3 MB / 0.8889 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2232/9.36, allocations: 69.2 MB / 2.708 GB, free: 321.4 MB / 0.8889 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2332/9.594, allocations: 83.72 MB / 2.79 GB, free: 249.8 MB / 0.8889 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002582/9.594, allocations: 32 kB / 2.79 GB, free: 249.8 MB / 0.8889 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2209/9.815, allocations: 82.62 MB / 2.871 GB, free: 167 MB / 0.8889 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 postOpt removeSimpleEquations (simulation): time 0.813/10.63, allocations: 207.7 MB / 3.074 GB, free: 330.5 MB / 0.8889 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.785e-05/10.63, allocations: 0 / 3.074 GB, free: 330.5 MB / 0.8889 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01189/10.64, allocations: 2.191 MB / 3.076 GB, free: 330.4 MB / 0.8889 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5152/11.16, allocations: 146.3 MB / 3.219 GB, free: 214.5 MB / 0.8889 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005001/11.16, allocations: 0.8103 MB / 3.219 GB, free: 213.7 MB / 0.8889 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1931/11.35, allocations: 120 MB / 3.337 GB, free: 93.53 MB / 0.8889 GB Warning: The linear system: 1 : valNorth2[1].dp = valNorth2[2].port_a.p - valSouth1[1].port_b.p 2 : valNorth2[8].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[1].dp ; -valNorth2[8].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[8].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[8].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 : 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:2136:10-2136:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2053:9-2053: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 (619): * Single equations (assignments): 596 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 3 {36 81,1 1,61 193} [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4548:9-4548:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:754:5-754:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]