Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Examples.SimpleEngine.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.Examples.SimpleEngine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PI1.I.y|Time|boiler.M|boiler.U_med|conductionElement.h|crankDrive.omega|crankDrive.phi|firstOrder.y|flowResistance3.m_flow|flowResistance4.m_flow|flowResistance5.m_flow|flowResistance6.m_flow|piston.M_left|piston.M_right|piston.medium_left.u|piston.medium_right.u|steamSink.x|terminalSource.p",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.SimpleEngine") translateModel(ThermofluidStream.Examples.SimpleEngine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PI1.I.y|Time|boiler.M|boiler.U_med|conductionElement.h|crankDrive.omega|crankDrive.phi|firstOrder.y|flowResistance3.m_flow|flowResistance4.m_flow|flowResistance5.m_flow|flowResistance6.m_flow|piston.M_left|piston.M_right|piston.medium_left.u|piston.medium_right.u|steamSink.x|terminalSource.p",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.SimpleEngine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 111.8 kB / 16.42 MB, free: 6.52 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.001048/0.001048, allocations: 183.1 kB / 17.35 MB, free: 5.723 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.116/1.116, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5667/0.5667, allocations: 91.2 MB / 382.4 MB, free: 7.527 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.49e-05/1.491e-05, allocations: 4.953 kB / 0.5174 GB, free: 4.203 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleEngine): time 0.5408/0.5408, allocations: 245.1 MB / 0.7568 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.04188/0.5827, allocations: 55.17 MB / 0.8107 GB, free: 188 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002959/0.5857, allocations: 84.84 kB / 0.8107 GB, free: 188 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005217/0.591, allocations: 3.135 MB / 0.8138 GB, free: 104 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01542/0.6064, allocations: 7.36 MB / 0.821 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01357/0.62, allocations: 6.507 MB / 0.8273 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006375/0.6264, allocations: 7.328 MB / 0.8345 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001948/0.6283, allocations: 2.127 MB / 0.8366 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01071/0.639, allocations: 7.77 MB / 0.8442 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002232/0.6413, allocations: 2.679 MB / 0.8468 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005032/0.6418, allocations: 0.4909 MB / 0.8473 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01906/0.6609, allocations: 10.71 MB / 0.8577 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.005125/0.666, allocations: 7.662 MB / 0.8652 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.003225/0.6692, allocations: 4.856 MB / 0.8699 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001176/0.6704, allocations: 0.7377 MB / 0.8707 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of FrontEnd: time 0.0006069/0.671, allocations: 192.6 kB / 0.8708 GB, free: 3.641 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1038 (851) * Number of variables: 1038 (966) Notification: Performance of Bindings: time 0.02041/0.6914, allocations: 27.68 MB / 0.8979 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of FunctionAlias: time 0.002481/0.6939, allocations: 3.297 MB / 0.9011 GB, free: 7.449 MB / 0.6387 GB Notification: Performance of Early Inline: time 0.01301/0.707, allocations: 15.63 MB / 0.9164 GB, free: 7.949 MB / 0.6544 GB Notification: Performance of simplify1: time 0.0007493/0.7077, allocations: 0.9005 MB / 0.9172 GB, free: 7.066 MB / 0.6544 GB Notification: Performance of Alias: time 0.0148/0.7225, allocations: 16.09 MB / 0.9329 GB, free: 6.039 MB / 0.67 GB Notification: Performance of simplify2: time 0.0006762/0.7232, allocations: 0.7783 MB / 0.9337 GB, free: 5.277 MB / 0.67 GB Error: Internal error NBVariable.getDerCref failed for boiler.U_med because of wrong variable kind.