Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.NonCircularPipes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Fluid.Examples.NonCircularPipes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|annulus_pipe.mediums.1..h|annulus_pipe.mediums.2..h|annulus_pipe.mediums.2..p|circular_pipe.mediums.1..h|circular_pipe.mediums.2..h|circular_pipe.mediums.2..p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.NonCircularPipes") translateModel(Modelica.Fluid.Examples.NonCircularPipes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|annulus_pipe.mediums.1..h|annulus_pipe.mediums.2..h|annulus_pipe.mediums.2..p|circular_pipe.mediums.1..h|circular_pipe.mediums.2..h|circular_pipe.mediums.2..p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.NonCircularPipes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002107/0.002107, allocations: 108.5 kB / 19.05 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002266/0.002266, allocations: 210.5 kB / 20.03 MB, free: 2.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.21/1.21, allocations: 230.4 MB / 251.3 MB, free: 8.699 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.638e-06/9.638e-06, allocations: 2.281 kB / 368.8 MB, free: 6.598 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.NonCircularPipes): time 0.1693/0.1693, allocations: 63.48 MB / 432.3 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03036/0.1996, allocations: 26.12 MB / 458.4 MB, free: 7.285 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.2008, allocations: 55.69 kB / 458.5 MB, free: 7.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.2025, allocations: 0.7922 MB / 459.3 MB, free: 6.434 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009642/0.2122, allocations: 4.159 MB / 463.4 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01595/0.2281, allocations: 8.169 MB / 471.6 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009396/0.2375, allocations: 9.083 MB / 480.7 MB, free: 1.008 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002811/0.2403, allocations: 1.872 MB / 482.5 MB, free: 15.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01671/0.257, allocations: 10.05 MB / 492.6 MB, free: 4.957 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01315/0.2702, allocations: 8.21 MB / 0.4891 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002013/0.2704, allocations: 128 kB / 0.4892 GB, free: 12.51 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01235/0.2827, allocations: 8.502 MB / 0.4975 GB, free: 3.996 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.002517/0.2852, allocations: 3.168 MB / 0.5006 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.001508/0.2867, allocations: 2.122 MB / 0.5026 GB, free: 14.65 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000304/0.2871, allocations: 251.3 kB / 0.5029 GB, free: 14.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 0.0002195/0.2873, allocations: 47.8 kB / 0.5029 GB, free: 14.36 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 391 (231) * Number of variables: 377 (260) Notification: Performance of Bindings: time 0.007377/0.2946, allocations: 8.048 MB / 0.5108 GB, free: 6.074 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.0009402/0.2956, allocations: 0.9546 MB / 0.5117 GB, free: 5.105 MB / 430.1 MB Notification: Performance of Early Inline: time 0.003713/0.2993, allocations: 3.635 MB / 0.5153 GB, free: 1.379 MB / 430.1 MB Notification: Performance of Simplify 1: time 0.0009109/0.3002, allocations: 0.7416 MB / 0.516 GB, free: 0.582 MB / 430.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {circular_pipe.flowModel.states[1], circular_pipe.flowModel.states[2]}, does not fit the equation size 10. Error: Internal error NBSlice.resolveDependency failed for: circular_pipe.flowModel.states. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (10) circular_pipe.flowModel.states = circular_pipe.statesFM ($RES_BND_312)