Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermofluidStream.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream.FlowControl.Tests.TanValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008335/0.0008335, allocations: 165.4 kB / 16.11 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205 MB / 221.9 MB, free: 1.859 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007824/0.0007825, allocations: 94.25 kB / 269.9 MB, free: 1.801 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.5566/0.5566, allocations: 90.52 MB / 408.3 MB, free: 15.12 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - Absyn->SCode: time 1.78e-05/1.784e-05, allocations: 2.281 kB / 484.8 MB, free: 3.645 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.3793/0.3793, allocations: 160.4 MB / 0.6302 GB, free: 12.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01402/0.3934, allocations: 12.74 MB / 0.6426 GB, free: 1.453 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.3945, allocations: 23.88 kB / 0.6426 GB, free: 1.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001411/0.3959, allocations: 0.5015 MB / 0.6431 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001774/0.3977, allocations: 0.7264 MB / 0.6438 GB, free: 200 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001955/0.3996, allocations: 0.693 MB / 0.6445 GB, free: 15.5 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001184/0.4008, allocations: 1.318 MB / 0.6458 GB, free: 14.18 MB / 426.7 MB Notification: Performance of NFFlatten.resolveArrayConnections: time 1.15/1.551, allocations: 0.7123 GB / 1.358 GB, free: 30.68 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/1.553, allocations: 431 kB / 1.359 GB, free: 30.38 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000643/1.553, allocations: 0.5792 MB / 1.359 GB, free: 29.96 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 6.721e-05/1.553, allocations: 44 kB / 1.359 GB, free: 29.92 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002848/1.556, allocations: 1.44 MB / 1.361 GB, free: 28.73 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.000674/1.557, allocations: 0.6448 MB / 1.361 GB, free: 28.32 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.492e-06/1.557, allocations: 0 / 1.361 GB, free: 28.32 MB / 0.5886 GB Notification: Performance of Bindings: time 0.001634/1.559, allocations: 2.158 MB / 1.363 GB, free: 26.27 MB / 0.5886 GB Notification: Performance of simplify: time 9.774e-05/1.559, allocations: 125.2 kB / 1.363 GB, free: 26.15 MB / 0.5886 GB Notification: Performance of RemoveSimpleEquations: time 0.001828/1.56, allocations: 2.446 MB / 1.366 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of Events: time 9.973e-05/1.561, allocations: 91.33 kB / 1.366 GB, free: 23.52 MB / 0.5886 GB Notification: Performance of DetectStates: time 0.0002095/1.561, allocations: 193.1 kB / 1.366 GB, free: 23.34 MB / 0.5886 GB Notification: Performance of Partitioning: time 0.0006262/1.561, allocations: 0.6535 MB / 1.367 GB, free: 22.68 MB / 0.5886 GB Error: Internal error NBSlice.getDependentCrefIndicesPseudoArray failed because flattened indices 4 could not be repeated to fit equation size 2. lst: {86, 85, 84, 83}