Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestRealtimeSynchronize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 104.3 kB / 20.56 MB, free: 1.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 219.5 kB / 23.86 MB, free: 4.414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.565/1.565, allocations: 230.7 MB / 257.7 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.06654/0.06654, allocations: 12.23 MB / 326.3 MB, free: 6.996 MB / 254.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestRealtimeSynchronize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestRealtimeSynchronize") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestRealtimeSynchronize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestRealtimeSynchronize") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.665e-05, allocations: 4.531 kB / 454.6 MB, free: 8.344 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestRealtimeSynchronize): time 0.005144/0.005171, allocations: 2.801 MB / 457.4 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.006519, allocations: 0.6622 MB / 458.1 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.006623, allocations: 7.875 kB / 458.1 MB, free: 4.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002758/0.006899, allocations: 55.62 kB / 458.1 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.007027, allocations: 27.73 kB / 458.2 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.007382, allocations: 123.7 kB / 458.3 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002982/0.00768, allocations: 211.9 kB / 458.5 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.007874, allocations: 61.7 kB / 458.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.641e-05/0.007971, allocations: 67.77 kB / 458.6 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.00809, allocations: 75.61 kB / 458.7 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.739e-05/0.008127, allocations: 16 kB / 458.7 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.233e-05/0.00822, allocations: 40 kB / 458.7 MB, free: 4.18 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0004326/0.008652, allocations: 336.4 kB / 459.1 MB, free: 3.848 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001661/0.008818, allocations: 221.1 kB / 459.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.953e-05/0.008858, allocations: 8 kB / 459.3 MB, free: 3.621 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.292e-05/0.008901, allocations: 11.88 kB / 459.3 MB, free: 3.609 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: 39 (27) * Number of variables: 39 (33) Notification: Performance of [SIM] Bindings: time 0.001206/0.01011, allocations: 0.7901 MB / 460.1 MB, free: 2.695 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001087/0.01022, allocations: 83.92 kB / 460.2 MB, free: 2.602 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.000414/0.01063, allocations: 369.3 kB / 460.5 MB, free: 2.215 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001694/0.0108, allocations: 105.9 kB / 460.6 MB, free: 2.066 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.0009854/0.01178, allocations: 0.542 MB / 461.2 MB, free: 1.422 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001332/0.01192, allocations: 94.72 kB / 461.3 MB, free: 1.285 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 7.575e-05/0.01199, allocations: 68.34 kB / 461.3 MB, free: 1.191 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0002832/0.01228, allocations: 171.1 kB / 461.5 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of [SIM] Events: time 7.376e-05/0.01235, allocations: 23.92 kB / 461.5 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002392/0.01259, allocations: 164.1 kB / 461.7 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.0006593/0.01325, allocations: 380 kB / 462.1 MB, free: 396 kB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002846/0.01353, allocations: 267.8 kB / 462.3 MB, free: 128 kB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.0009546/0.01449, allocations: 278.7 kB / 462.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.0003781/0.01487, allocations: 371.8 kB / 463 MB, free: 15.43 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 2.944e-05/0.0149, allocations: 17.44 kB / 463 MB, free: 15.41 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 7.436e-05/0.01497, allocations: 71.95 kB / 463.1 MB, free: 15.34 MB / 334.1 MB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [ALGB] (1) Real[1] realtimeSynchronize.mux_sampled.u3 [ALGB] (1) Real[1] realtimeSynchronize.mux_sampled.u1 [DISC] (1) Real realtimeSynchronize.rtSync_Sampled.lastSimTime [DISC] (1) Real realtimeSynchronize.rtSync_Sampled.computingTime Following equations were created by fixing variables: [SCAL] (1) $PRE.realtimeSynchronize.rtSync_Sampled.lastStepSize = $START.realtimeSynchronize.rtSync_Sampled.lastStepSize ($RES_SRT_57) [SCAL] (1) $PRE.realtimeSynchronize.rtSync_Sampled.simTime = $START.realtimeSynchronize.rtSync_Sampled.simTime ($RES_SRT_56) Use -d=bltdump for more verbose debug output. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.6758283260278404] Failed to read output from testmodel.py, exit status != 0: 0.02384840400191024 0.039189310000000005 0.027190529 Calling exit ...