Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.HeatLosses") translateModel(Modelica.Mechanics.Translational.Examples.HeatLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.001053/0.001053, allocations: 106.6 kB / 16.42 MB, free: 6.516 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.001074/0.001074, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.197/1.197, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.041e-05, allocations: 2.281 kB / 327.2 MB, free: 3.359 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.HeatLosses): time 0.004905/0.004935, allocations: 4.316 MB / 331.5 MB, free: 15.01 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.006969, allocations: 1.326 MB / 332.8 MB, free: 13.68 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.007189, allocations: 15.94 kB / 332.8 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.007466, allocations: 118.8 kB / 332.9 MB, free: 13.55 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003152/0.007789, allocations: 222 kB / 333.2 MB, free: 13.33 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000844/0.008648, allocations: 431.2 kB / 333.6 MB, free: 12.91 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009934/0.009651, allocations: 1.244 MB / 334.8 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003634/0.01002, allocations: 273.9 kB / 335.1 MB, free: 11.37 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005198/0.01055, allocations: 474.6 kB / 335.6 MB, free: 10.9 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004749/0.01103, allocations: 0.5059 MB / 336.1 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.01116, allocations: 95.94 kB / 336.2 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000232/0.01139, allocations: 148 kB / 336.3 MB, free: 10.16 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.001059/0.01246, allocations: 1.365 MB / 337.7 MB, free: 8.777 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004198/0.01289, allocations: 0.7543 MB / 338.4 MB, free: 8.012 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.01303, allocations: 139.6 kB / 338.6 MB, free: 7.875 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.806e-05/0.0131, allocations: 27.94 kB / 338.6 MB, free: 7.848 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)