Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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) 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(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 115.8 kB / 17.76 MB, free: 5.336 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.001351/0.001351, allocations: 185.8 kB / 18.68 MB, free: 4.414 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.28/1.28, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.48e-05, allocations: 2.281 kB / 351.9 MB, free: 3.312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005415/0.005448, allocations: 4.362 MB / 356.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002507/0.007975, allocations: 1.219 MB / 357.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006223/0.008612, allocations: 11.94 kB / 357.5 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005554/0.009177, allocations: 130.9 kB / 357.6 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009521/0.01014, allocations: 269.8 kB / 357.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006456/0.01086, allocations: 195.7 kB / 358.1 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001584/0.01245, allocations: 1.068 MB / 359.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004005/0.01286, allocations: 245 kB / 359.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000591/0.01346, allocations: 386.5 kB / 359.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004514/0.01392, allocations: 418.2 kB / 360.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.01404, allocations: 64 kB / 360.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.01424, allocations: 88 kB / 360.3 MB, free: 10.85 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0009427/0.01519, allocations: 1.287 MB / 361.6 MB, free: 9.547 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004669/0.01567, allocations: 0.7893 MB / 362.4 MB, free: 8.746 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.01582, allocations: 123.7 kB / 362.5 MB, free: 8.625 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001187/0.01595, allocations: 23.88 kB / 362.6 MB, free: 8.602 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 (111) * Number of variables: 111 (111) Notification: Performance of Bindings: time 0.003601/0.01955, allocations: 4.244 MB / 366.8 MB, free: 4.195 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.000406/0.01997, allocations: 371.8 kB / 367.2 MB, free: 3.828 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001352/0.02133, allocations: 1.456 MB / 368.6 MB, free: 2.344 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001638/0.0215, allocations: 155.8 kB / 368.8 MB, free: 2.191 MB / 302.1 MB Notification: Performance of Alias: time 0.1887/0.2102, allocations: 2.507 MB / 371.3 MB, free: 17.54 MB / 302.1 MB Notification: Performance of simplify2: time 0.0002434/0.2105, allocations: 121.1 kB / 371.4 MB, free: 17.54 MB / 302.1 MB Notification: Performance of Detect States: time 0.000543/0.211, allocations: 430.4 kB / 371.8 MB, free: 17.5 MB / 302.1 MB Notification: Performance of Events: time 0.0005825/0.2116, allocations: 464.5 kB / 372.3 MB, free: 17.47 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0006318/0.2123, allocations: 0.7216 MB / 373 MB, free: 17.12 MB / 302.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (1|1) Unmatched Variables *************************** [ALGB] (1) output Real dTtoPipe = heatCapacitor.T - pipe.T_q slice: {} (1|1) Unmatched Equations *************************** [SCAL] (1) speed.phi = speed.flange.phi ($RES_SIM_8) slice: {}