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.001512/0.001512, allocations: 112.2 kB / 16.43 MB, free: 6.457 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.001651/0.001651, allocations: 189.9 kB / 17.36 MB, free: 5.73 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.539/1.539, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.9763/0.9763, allocations: 91.18 MB / 382.4 MB, free: 7.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.795e-05/3.795e-05, allocations: 2.281 kB / 0.5174 GB, free: 4.199 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleEngine): time 1.267/1.267, allocations: 245.1 MB / 0.7568 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.08221/1.349, allocations: 55.19 MB / 0.8107 GB, free: 208 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007241/1.356, allocations: 83.03 kB / 0.8107 GB, free: 208 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01177/1.368, allocations: 3.128 MB / 0.8138 GB, free: 128 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.03249/1.401, allocations: 7.356 MB / 0.821 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.02707/1.428, allocations: 6.506 MB / 0.8273 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0173/1.445, allocations: 7.325 MB / 0.8345 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003799/1.449, allocations: 2.127 MB / 0.8366 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01988/1.469, allocations: 7.774 MB / 0.8442 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007797/1.477, allocations: 2.687 MB / 0.8468 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.002189/1.479, allocations: 0.4929 MB / 0.8473 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0384/1.517, allocations: 10.7 MB / 0.8577 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of combineBinaries: time 0.01417/1.532, allocations: 7.657 MB / 0.8652 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of replaceArrayConstructors: time 0.008154/1.54, allocations: 4.861 MB / 0.8699 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003978/1.544, allocations: 0.7405 MB / 0.8707 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of FrontEnd: time 0.001893/1.546, allocations: 184.7 kB / 0.8708 GB, free: 3.648 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.0461/1.592, allocations: 27.68 MB / 0.8979 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of FunctionAlias: time 0.006208/1.598, allocations: 3.289 MB / 0.9011 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of Early Inline: time 0.03831/1.636, allocations: 15.62 MB / 0.9163 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of simplify1: time 0.003053/1.639, allocations: 0.9039 MB / 0.9172 GB, free: 7.105 MB / 0.6544 GB Notification: Performance of Alias: time 0.03409/1.674, allocations: 16.09 MB / 0.9329 GB, free: 6.074 MB / 0.67 GB Notification: Performance of simplify2: time 0.002033/1.676, allocations: 0.7812 MB / 0.9337 GB, free: 5.312 MB / 0.67 GB Notification: Performance of Events: time 0.005601/1.681, allocations: 2.945 MB / 0.9366 GB, free: 2.383 MB / 0.67 GB Error: Internal error NBVariable.getDerCref failed for boiler.U_med because of wrong variable kind.