Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.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/ThermofluidStream 1.1.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/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(ThermofluidStream.Undirected.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_fore.rear.m_flow|pulse.T_start|pulse.count|tanValve.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|boundary_fore.rear.m_flow|pulse.T_start|pulse.count|tanValve.rear.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.TanValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.00143, allocations: 110.9 kB / 16.42 MB, free: 6.422 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.001606/0.001606, allocations: 187.2 kB / 17.36 MB, free: 5.684 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.483/1.483, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.8574/0.8574, allocations: 91.19 MB / 382.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.166e-05/3.167e-05, allocations: 2.281 kB / 0.5174 GB, free: 4.172 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.TanValve): time 0.6644/0.6644, allocations: 173.1 MB / 0.6865 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01687/0.6814, allocations: 10.99 MB / 0.6973 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002544/0.684, allocations: 51.69 kB / 0.6973 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002719/0.6867, allocations: 0.7998 MB / 0.6981 GB, free: 9.992 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007155/0.6939, allocations: 1.67 MB / 0.6997 GB, free: 8.312 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004412/0.6984, allocations: 1.11 MB / 0.7008 GB, free: 7.199 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005492/0.7039, allocations: 2.738 MB / 0.7035 GB, free: 4.461 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00105/0.705, allocations: 486 kB / 0.7039 GB, free: 4.031 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002801/0.7078, allocations: 1.113 MB / 0.705 GB, free: 2.914 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002138/0.7099, allocations: 1.261 MB / 0.7063 GB, free: 1.648 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001981/0.7101, allocations: 136 kB / 0.7064 GB, free: 1.516 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005923/0.7161, allocations: 2.16 MB / 0.7085 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.002421/0.7185, allocations: 2.635 MB / 0.7111 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.001359/0.7199, allocations: 1.729 MB / 0.7128 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005661/0.7205, allocations: 263.1 kB / 0.713 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0005535/0.721, allocations: 107.7 kB / 0.7131 GB, free: 10.58 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 (268) * Number of variables: 305 (285) Notification: Performance of Bindings: time 0.01049/0.7315, allocations: 8.151 MB / 0.7211 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 0.001057/0.7326, allocations: 0.816 MB / 0.7219 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.007021/0.7396, allocations: 5.638 MB / 0.7274 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of simplify1: time 0.0006141/0.7403, allocations: 403.5 kB / 0.7278 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of Alias: time 0.00814/0.7484, allocations: 5.343 MB / 0.733 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of simplify2: time 0.0006006/0.749, allocations: 359.6 kB / 0.7333 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of Events: time 0.001173/0.7502, allocations: 0.8746 MB / 0.7342 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of Detect States: time 0.001728/0.752, allocations: 1.27 MB / 0.7354 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of Partitioning: time 0.00235/0.7543, allocations: 1.585 MB / 0.737 GB, free: 1.422 MB / 0.5762 GB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(4) {junctionRFF2_1.junctionMN.fores[1].state_rearwards.T, junctionRFF2_1.junctionMN.fores[2].state_rearwards.T}, does not fit the equation size 2. Error: Internal error NBSlice.resolveDependency failed for: junctionRFF2_1.junctionMN.fores.state_rearwards.T. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [FOR-] (2) ($RES_SIM_81) [----] for $i1 in 1:2 loop [----] [SCAL] (1) junctionRFF2_1.junctionMN.hs[1 + $i1] = 1005.45 * ((-298.15) + junctionRFF2_1.junctionMN.fores.state_rearwards.T) ($RES_SIM_82) [----] end for;