Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses.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) 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.Mechanics.Translational.Examples.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|damper.s_rel|damper.v_rel|massWithStopAndFriction.s|massWithStopAndFriction.v|springDamper.s_rel|springDamper.v_rel|springDamper1.s_rel|springDamper1.v_rel|brake.mode|brake.startBackward|brake.startForward|massWithStopAndFriction.mode|massWithStopAndFriction.startBackward|massWithStopAndFriction.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses") translateModel(Modelica.Mechanics.Translational.Examples.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|damper.s_rel|damper.v_rel|massWithStopAndFriction.s|massWithStopAndFriction.v|springDamper.s_rel|springDamper.v_rel|springDamper1.s_rel|springDamper1.v_rel|brake.mode|brake.startBackward|brake.startForward|massWithStopAndFriction.mode|massWithStopAndFriction.startBackward|massWithStopAndFriction.startForward|supportFriction.mode|supportFriction.startBackward|supportFriction.startForward",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.HeatLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 108 kB / 18.41 MB, free: 4.664 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.001239/0.001239, allocations: 194.6 kB / 19.35 MB, free: 3.742 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.568/1.568, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.724e-05, allocations: 3.125 kB / 329.2 MB, free: 3.359 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.005798/0.005833, allocations: 4.312 MB / 333.5 MB, free: 15.01 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002778/0.008629, allocations: 1.334 MB / 334.8 MB, free: 13.68 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003476/0.00899, allocations: 15.94 kB / 334.8 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003501/0.009347, allocations: 114.8 kB / 334.9 MB, free: 13.55 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004054/0.009806, allocations: 222 kB / 335.1 MB, free: 13.33 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.01088, allocations: 439.1 kB / 335.6 MB, free: 12.9 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001192/0.01208, allocations: 1.24 MB / 336.8 MB, free: 11.65 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004385/0.01253, allocations: 269.9 kB / 337.1 MB, free: 11.37 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005859/0.01312, allocations: 482.6 kB / 337.5 MB, free: 10.9 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005894/0.01372, allocations: 0.4982 MB / 338 MB, free: 10.4 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.01386, allocations: 99.88 kB / 338.1 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002874/0.01416, allocations: 151.9 kB / 338.3 MB, free: 10.15 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.00107/0.01523, allocations: 1.365 MB / 339.7 MB, free: 8.773 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004801/0.01572, allocations: 0.7465 MB / 340.4 MB, free: 8.016 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.01588, allocations: 143.6 kB / 340.5 MB, free: 7.875 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.0001464/0.01603, allocations: 35.92 kB / 340.6 MB, free: 7.84 MB / 286.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for assert(massWithStopAndFriction.s > (massWithStopAndFriction.smin + massWithStopAndFriction.L / 2.0) or massWithStopAndFriction.s >= (massWithStopAndFriction.smin + massWithStopAndFriction.L / 2.0) and massWithStopAndFriction.v >= 0.0, "Error in initialization of hard stop. (s - L/2) must be >= smin " + "(s=" + String(massWithStopAndFriction.s, 6, 0, true) + ", L=" + String(massWithStopAndFriction.L, 6, 0, true) + ", smin=" + String(massWithStopAndFriction.smin, 6, 0, true) + ")", AssertionLevel.error)