Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 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.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_4.0.0_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_4.0.0_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.0009488/0.0009491, allocations: 106.2 kB / 17.7 MB, free: 5.398 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.0008968/0.0008968, allocations: 192 kB / 18.63 MB, free: 4.473 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.191/1.191, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/1.934e-05, allocations: 2.281 kB / 302 MB, free: 5.207 MB / 238.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.00464/0.004673, allocations: 4.294 MB / 306.3 MB, free: 0.8945 MB / 238.1 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.006898, allocations: 1.379 MB / 307.7 MB, free: 15.51 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002395/0.007152, allocations: 15.94 kB / 307.7 MB, free: 15.5 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.007426, allocations: 114.9 kB / 307.8 MB, free: 15.38 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003277/0.007786, allocations: 222 kB / 308 MB, free: 15.16 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008186/0.008612, allocations: 430 kB / 308.5 MB, free: 14.75 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009845/0.009606, allocations: 1.237 MB / 309.7 MB, free: 13.51 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003304/0.009947, allocations: 270 kB / 310 MB, free: 13.22 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000448/0.0104, allocations: 482.6 kB / 310.4 MB, free: 12.75 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004211/0.01083, allocations: 0.5059 MB / 310.9 MB, free: 12.24 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.01096, allocations: 92 kB / 311 MB, free: 12.15 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002159/0.01118, allocations: 147.9 kB / 311.2 MB, free: 12.01 MB / 254.1 MB Notification: Performance of combineBinaries: time 0.0008483/0.01204, allocations: 1.365 MB / 312.5 MB, free: 10.63 MB / 254.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003653/0.01241, allocations: 0.7543 MB / 313.3 MB, free: 9.863 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.01254, allocations: 135.6 kB / 313.4 MB, free: 9.73 MB / 254.1 MB Notification: Performance of FrontEnd: time 7.053e-05/0.01262, allocations: 35.94 kB / 313.5 MB, free: 9.695 MB / 254.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)