Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle.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.SimpleCoolingCycle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PI.x|PID.I.y|Time|combiTimeTable.nextTimeEvent|combiTimeTable.nextTimeEventScaled|fan.m_flow|flexVolume.M|flexVolume.U_med|heatCapacitor.T|heatExchange_CounterFlowNTU.h_out_A|heatExchange_CounterFlowNTU.h_out_B|pump.m_flow|pump.omega|speed.phi|speed1.phi|speed1.w",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle") translateModel(ThermofluidStream.Examples.SimpleCoolingCycle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="PI.x|PID.I.y|Time|combiTimeTable.nextTimeEvent|combiTimeTable.nextTimeEventScaled|fan.m_flow|flexVolume.M|flexVolume.U_med|heatCapacitor.T|heatExchange_CounterFlowNTU.h_out_A|heatExchange_CounterFlowNTU.h_out_B|pump.m_flow|pump.omega|speed.phi|speed1.phi|speed1.w",fileNamePrefix="ThermofluidStream_ThermofluidStream.Examples.SimpleCoolingCycle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 106.2 kB / 16.42 MB, free: 6.527 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.001657/0.001657, allocations: 189.9 kB / 17.35 MB, free: 5.75 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.488/1.488, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 1.015/1.015, allocations: 91.18 MB / 382.4 MB, free: 7.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.636e-05/3.637e-05, allocations: 5.094 kB / 0.5174 GB, free: 4.203 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Examples.SimpleCoolingCycle): time 0.723/0.7231, allocations: 207.4 MB / 0.72 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.6262/1.349, allocations: 29.91 MB / 0.7492 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00316/1.353, allocations: 74.16 kB / 0.7493 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003394/1.356, allocations: 1.016 MB / 0.7502 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007242/1.363, allocations: 1.618 MB / 0.7518 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007969/1.371, allocations: 2.21 MB / 0.754 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007003/1.378, allocations: 3.252 MB / 0.7572 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00173/1.38, allocations: 0.5739 MB / 0.7577 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004329/1.384, allocations: 1.283 MB / 0.759 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003189/1.388, allocations: 1.084 MB / 0.76 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006846/1.388, allocations: 173.2 kB / 0.7602 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00911/1.397, allocations: 2.023 MB / 0.7622 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.005229/1.403, allocations: 3.695 MB / 0.7658 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.00276/1.405, allocations: 2.426 MB / 0.7682 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001441/1.407, allocations: 373.5 kB / 0.7685 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.001063/1.408, allocations: 165.7 kB / 0.7687 GB, free: 13.8 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 405 (377) * Number of variables: 405 (405) Notification: Performance of Bindings: time 0.01447/1.422, allocations: 10.14 MB / 0.7786 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.002026/1.424, allocations: 1.211 MB / 0.7797 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.008432/1.433, allocations: 5.343 MB / 0.785 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of simplify1: time 0.0006517/1.434, allocations: 387.4 kB / 0.7853 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of Alias: time 0.0125/1.446, allocations: 8.172 MB / 0.7933 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0007602/1.447, allocations: 288.6 kB / 0.7936 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of Events: time 0.00125/1.448, allocations: 0.9277 MB / 0.7945 GB, free: 6.32 MB / 0.5919 GB Error: Internal error NBVariable.getDerCref failed for flexVolume.U_med because of wrong variable kind.