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.001106/0.001106, allocations: 112.2 kB / 16.43 MB, free: 6.523 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.001069/0.001069, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.144/1.144, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.5814/0.5814, allocations: 91.19 MB / 382.4 MB, free: 7.527 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.619e-05/1.621e-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.3277/0.3277, allocations: 207.4 MB / 0.72 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.2503/0.578, allocations: 29.91 MB / 0.7492 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.5794, allocations: 72.56 kB / 0.7493 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001763/0.5812, allocations: 1.021 MB / 0.7502 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00284/0.5841, allocations: 1.659 MB / 0.7519 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003841/0.5879, allocations: 2.213 MB / 0.754 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002501/0.5904, allocations: 3.263 MB / 0.7572 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006639/0.5911, allocations: 0.5714 MB / 0.7578 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001632/0.5927, allocations: 1.285 MB / 0.759 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.5938, allocations: 1.085 MB / 0.7601 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000248/0.594, allocations: 171.2 kB / 0.7603 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003979/0.598, allocations: 2.022 MB / 0.7622 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of combineBinaries: time 0.002095/0.6001, allocations: 3.697 MB / 0.7658 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of replaceArrayConstructors: time 0.001278/0.6014, allocations: 2.425 MB / 0.7682 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004595/0.6019, allocations: 373.6 kB / 0.7686 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of FrontEnd: time 0.0004355/0.6023, allocations: 172.2 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 (385) * Number of variables: 405 (405) Notification: Performance of Bindings: time 0.008073/0.6104, allocations: 10.2 MB / 0.7787 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of FunctionAlias: time 0.0009759/0.6114, allocations: 1.203 MB / 0.7799 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of Early Inline: time 0.004654/0.6161, allocations: 5.412 MB / 0.7851 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of simplify1: time 0.000296/0.6164, allocations: 390.4 kB / 0.7855 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of Alias: time 0.007119/0.6235, allocations: 8.199 MB / 0.7935 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of simplify2: time 0.0002043/0.6237, allocations: 288.6 kB / 0.7938 GB, free: 6.559 MB / 0.5919 GB Error: Internal error NBVariable.getDerCref failed for flexVolume.U_med because of wrong variable kind.