Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.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.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, 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.001485/0.001485, 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.299/1.299, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.231e-05, allocations: 2.281 kB / 351.9 MB, free: 3.27 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003564/0.003595, allocations: 2.202 MB / 354.1 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.004896, allocations: 0.5965 MB / 354.7 MB, free: 460 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002157/0.005125, allocations: 4 kB / 354.7 MB, free: 456 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.00529, allocations: 31.61 kB / 354.8 MB, free: 424 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003751/0.005673, allocations: 79.41 kB / 354.8 MB, free: 344 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.006012, allocations: 67.84 kB / 354.9 MB, free: 276 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003701/0.006389, allocations: 299 kB / 355.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.006558, allocations: 76.91 kB / 355.3 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.006723, allocations: 115.4 kB / 355.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.006904, allocations: 147.2 kB / 355.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.642e-05/0.006957, allocations: 20 kB / 355.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.708e-05/0.007001, allocations: 28 kB / 355.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000316/0.007322, allocations: 498.1 kB / 356.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001459/0.007475, allocations: 327.2 kB / 356.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.034e-05/0.007531, allocations: 35.81 kB / 356.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.855e-05/0.007594, allocations: 15.88 kB / 356.4 MB, free: 14.72 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: 34 (33) * Number of variables: 33 (31) Notification: Performance of Bindings: time 0.001045/0.008644, allocations: 1.287 MB / 357.7 MB, free: 13.32 MB / 302.1 MB Notification: Performance of FunctionAlias: time 9.933e-05/0.008752, allocations: 67.2 kB / 357.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0003379/0.009096, allocations: 415.5 kB / 358.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simplify1: time 4.103e-05/0.009144, allocations: 39.94 kB / 358.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of Alias: time 0.0008867/0.01004, allocations: 0.7659 MB / 359 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simplify2: time 2.496e-05/0.01007, allocations: 27.95 kB / 359 MB, free: 11.86 MB / 302.1 MB Error: Internal error NBVariable.getDerCref failed for invMixingUnit.T because of wrong variable kind.