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.001429/0.001429, allocations: 113.4 kB / 17.75 MB, free: 5.324 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.001119/0.001119, allocations: 188.3 kB / 18.68 MB, free: 4.402 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.316/1.316, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.659e-05/3.66e-05, allocations: 5.938 kB / 351.9 MB, free: 3.285 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.003812/0.003859, allocations: 2.203 MB / 354.1 MB, free: 1.059 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.005284, allocations: 0.6004 MB / 354.7 MB, free: 468 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002874/0.005584, allocations: 0 / 354.7 MB, free: 468 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.005767, allocations: 31.61 kB / 354.8 MB, free: 436 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003869/0.006189, allocations: 75.41 kB / 354.8 MB, free: 360 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.006542, allocations: 69.47 kB / 354.9 MB, free: 292 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005014/0.007051, allocations: 299.1 kB / 355.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.007246, allocations: 72.84 kB / 355.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.007429, allocations: 119.4 kB / 355.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.007615, allocations: 143.2 kB / 355.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.37e-05/0.007666, allocations: 20 kB / 355.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.642e-05/0.007711, allocations: 28 kB / 355.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003112/0.008027, allocations: 0.4903 MB / 356.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001517/0.008186, allocations: 323.2 kB / 356.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.104e-05/0.008244, allocations: 39.81 kB / 356.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.055e-05/0.00831, allocations: 11.88 kB / 356.4 MB, free: 14.74 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.001102/0.009418, allocations: 1.299 MB / 357.7 MB, free: 13.33 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001032/0.009528, allocations: 59.2 kB / 357.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0003604/0.009896, allocations: 415.5 kB / 358.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simplify1: time 4.364e-05/0.009947, allocations: 39.94 kB / 358.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of Alias: time 0.0009069/0.01086, allocations: 0.766 MB / 359 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simplify2: time 2.624e-05/0.0109, allocations: 23.97 kB / 359 MB, free: 11.88 MB / 302.1 MB Notification: Performance of Events: time 9.984e-05/0.011, allocations: 59.88 kB / 359.1 MB, free: 11.82 MB / 302.1 MB Error: Internal error NBVariable.getDerCref failed for invMixingUnit.T because of wrong variable kind.