Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTwoPhase.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/ExternalMedia 4.0.0/package.mo", uses=false) Using package ExternalMedia with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/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(ExternalMedia.Test.GenericModels.TestRunnerTwoPhase,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTwoPhase") translateModel(ExternalMedia.Test.GenericModels.TestRunnerTwoPhase,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternalMedia_ExternalMedia.Test.GenericModels.TestRunnerTwoPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 113.7 kB / 16.43 MB, free: 6.473 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.001082/0.001082, allocations: 185.9 kB / 17.36 MB, free: 5.723 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.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternalMedia 4.0.0/package.mo): time 0.01223/0.01223, allocations: 2.771 MB / 294 MB, free: 11.96 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/1.975e-05, allocations: 2.281 kB / 406.6 MB, free: 29.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternalMedia.Test.GenericModels.TestRunnerTwoPhase): time 0.08028/0.08031, allocations: 106.3 MB / 0.5009 GB, free: 2.383 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3312/0.4116, allocations: 59.84 MB / 0.5593 GB, free: 2.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00251/0.4141, allocations: 13.81 kB / 0.5593 GB, free: 2.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003772/0.418, allocations: 1.182 MB / 0.5605 GB, free: 2.625 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04359/0.4616, allocations: 13.24 MB / 0.5734 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009532/0.4712, allocations: 3.187 MB / 0.5765 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005501/0.4767, allocations: 3.431 MB / 0.5799 GB, free: 8.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003837/0.4771, allocations: 132.2 kB / 0.58 GB, free: 8.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002653/0.4798, allocations: 1.14 MB / 0.5811 GB, free: 7.742 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002216/0.482, allocations: 0.9409 MB / 0.582 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005712/0.4826, allocations: 136 kB / 0.5822 GB, free: 6.891 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03811/0.5208, allocations: 10.66 MB / 0.5926 GB, free: 13.03 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.005642/0.5265, allocations: 3.088 MB / 0.5956 GB, free: 9.984 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.002935/0.5294, allocations: 1.987 MB / 0.5975 GB, free: 8.035 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00128/0.5307, allocations: 359.2 kB / 0.5979 GB, free: 7.684 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0005198/0.5313, allocations: 35.88 kB / 0.5979 GB, free: 7.648 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 (435) * Number of variables: 526 (526) Notification: Performance of Bindings: time 0.01583/0.5471, allocations: 11.08 MB / 0.6087 GB, free: 12.48 MB / 430.1 MB Notification: Performance of FunctionAlias: time 0.001703/0.5489, allocations: 0.8616 MB / 0.6096 GB, free: 11.64 MB / 430.1 MB Notification: Performance of Early Inline: time 0.01901/0.5679, allocations: 11.63 MB / 0.6209 GB, free: 348 kB / 430.1 MB Notification: Performance of simplify1: time 0.001824/0.5698, allocations: 0.9449 MB / 0.6219 GB, free: 15.39 MB / 446.1 MB Notification: Performance of Alias: time 0.01211/0.5819, allocations: 8.637 MB / 0.6303 GB, free: 6.383 MB / 446.1 MB Notification: Performance of simplify2: time 0.001502/0.5834, allocations: 0.9256 MB / 0.6312 GB, free: 5.438 MB / 446.1 MB Notification: Performance of Detect States: time 0.002581/0.586, allocations: 2.831 MB / 0.634 GB, free: 2.637 MB / 446.1 MB Notification: Performance of Events: time 0.001446/0.5875, allocations: 1.246 MB / 0.6352 GB, free: 1.434 MB / 446.1 MB Error: Internal error NBVariable.getVarPointer failed for $FUN_1.Tsat, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.