Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_Synchronous.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|filter.y|inverseBlockConstraints.y1|mixingUnit.c|sample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit") translateModel(Modelica_Synchronous.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|filter.y|inverseBlockConstraints.y1|mixingUnit.c|sample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 112.2 kB / 17.14 MB, free: 5.938 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.001208/0.001208, allocations: 194.5 kB / 18.07 MB, free: 5.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07097/0.07097, allocations: 12.6 MB / 283.9 MB, free: 15.4 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.199e-05, allocations: 3.406 kB / 394.8 MB, free: 45.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Systems.ControlledMixingUnit): time 0.002819/0.002849, allocations: 2.227 MB / 397 MB, free: 43.87 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009909/0.003854, allocations: 0.6283 MB / 397.6 MB, free: 43.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.00398, allocations: 5.906 kB / 397.6 MB, free: 43.42 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.0041, allocations: 27.84 kB / 397.7 MB, free: 43.4 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002506/0.004358, allocations: 84.42 kB / 397.7 MB, free: 43.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.004603, allocations: 70.91 kB / 397.8 MB, free: 43.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000323/0.004933, allocations: 306.8 kB / 398.1 MB, free: 43.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.005116, allocations: 73.75 kB / 398.2 MB, free: 43.12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.005317, allocations: 118.5 kB / 398.3 MB, free: 43.06 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.005539, allocations: 143.8 kB / 398.4 MB, free: 42.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.036e-05/0.005596, allocations: 21.62 kB / 398.5 MB, free: 42.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.083e-05/0.005643, allocations: 22.84 kB / 398.5 MB, free: 42.98 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0003494/0.005997, allocations: 0.5024 MB / 399 MB, free: 42.64 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001401/0.006144, allocations: 333.1 kB / 399.3 MB, free: 42.4 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.858e-05/0.006209, allocations: 37.97 kB / 399.3 MB, free: 42.38 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.499e-05/0.006249, allocations: 15.31 kB / 399.4 MB, free: 42.37 MB / 318.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.001082/0.007336, allocations: 1.303 MB / 400.7 MB, free: 41.38 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001083/0.007451, allocations: 67.92 kB / 400.7 MB, free: 41.33 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0003858/0.007843, allocations: 418 kB / 401.1 MB, free: 41.06 MB / 318.1 MB Notification: Performance of simplify1: time 4.733e-05/0.007897, allocations: 33.56 kB / 401.2 MB, free: 41.05 MB / 318.1 MB Notification: Performance of Alias: time 0.0007943/0.008697, allocations: 0.71 MB / 401.9 MB, free: 40.5 MB / 318.1 MB Notification: Performance of simplify2: time 3.338e-05/0.008741, allocations: 30.06 kB / 401.9 MB, free: 40.48 MB / 318.1 MB Notification: Performance of Events: time 8.995e-05/0.008837, allocations: 58.45 kB / 402 MB, free: 40.45 MB / 318.1 MB Error: Internal error NBVariable.getDerCref failed for invMixingUnit.T because of wrong variable kind.