Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Counter.Examples.countZeroCrossing.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.001341/0.001341, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.001516/0.001516, allocations: 216.6 kB / 23.07 MB, free: 4.844 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.435/1.435, allocations: 230.7 MB / 256.9 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.0632/0.0632, allocations: 11.34 MB / 324.6 MB, free: 8 MB / 254.1 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/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(IndustrialControlSystems.Logical.Counter.Examples.countZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Counter.Examples.countZeroCrossing") translateModel(IndustrialControlSystems.Logical.Counter.Examples.countZeroCrossing,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Counter.Examples.countZeroCrossing") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.121e-05/3.121e-05, allocations: 9.031 kB / 452.3 MB, free: 9.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Counter.Examples.countZeroCrossing): time 0.004037/0.004068, allocations: 2.111 MB / 454.4 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002936/0.007004, allocations: 1.43 MB / 455.8 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002722/0.007276, allocations: 7.938 kB / 455.8 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009726/0.008249, allocations: 275.2 kB / 456.1 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008474/0.009096, allocations: 254.9 kB / 456.4 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008766/0.009973, allocations: 310.6 kB / 456.7 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006867/0.01066, allocations: 0.491 MB / 457.2 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.01088, allocations: 41.33 kB / 457.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004656/0.01134, allocations: 235.3 kB / 457.4 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.01164, allocations: 163.2 kB / 457.6 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.156e-05/0.0117, allocations: 24 kB / 457.6 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002941/0.01199, allocations: 143.8 kB / 457.7 MB, free: 4.363 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0005426/0.01254, allocations: 0.607 MB / 458.4 MB, free: 3.75 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.000349/0.01288, allocations: 387 kB / 458.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.239e-05/0.01297, allocations: 12 kB / 458.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.349e-05/0.01303, allocations: 15.88 kB / 458.8 MB, free: 3.34 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: 32 (31) * Number of variables: 32 (32) Notification: Performance of [SIM] Bindings: time 0.001715/0.01475, allocations: 1.378 MB / 460.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0002387/0.01498, allocations: 126.1 kB / 460.3 MB, free: 1.699 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.0006366/0.01562, allocations: 0.5688 MB / 460.8 MB, free: 1.102 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000243/0.01586, allocations: 148.5 kB / 461 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.001254/0.01712, allocations: 0.73 MB / 461.7 MB, free: 52 kB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001992/0.01732, allocations: 128.6 kB / 461.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000107/0.01742, allocations: 88.25 kB / 461.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.0003643/0.01779, allocations: 230.7 kB / 462.1 MB, free: 15.49 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0002298/0.01802, allocations: 120.8 kB / 462.3 MB, free: 15.37 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003692/0.01839, allocations: 255.1 kB / 462.5 MB, free: 15.1 MB / 334.1 MB Notification: Performance of [SIM] Causalize: time 0.0007112/0.0191, allocations: 451.2 kB / 462.9 MB, free: 14.65 MB / 334.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004619/0.01956, allocations: 471.7 kB / 463.4 MB, free: 14.19 MB / 334.1 MB Notification: Performance of [INI] Simplify: time 0.003814/0.02337, allocations: 0.7737 MB / 464.2 MB, free: 13.41 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.0009431/0.02432, allocations: 0.8287 MB / 465 MB, free: 12.57 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 5.511e-05/0.02437, allocations: 29.36 kB / 465 MB, free: 12.54 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0002139/0.02459, allocations: 143.8 kB / 465.2 MB, free: 12.4 MB / 334.1 MB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (1) Integer counter.Value (start = 0) [DISC] (1) Boolean counter.Q Following equations were created by fixing variables: [SCAL] (1) $PRE.counter.CUd = $START.counter.CUd ($RES_SRT_88) [SCAL] (1) $PRE.set.combiTimeTable.nextTimeEventScaled = $START.set.combiTimeTable.nextTimeEventScaled ($RES_SRT_87) [SCAL] (1) $PRE.set.combiTimeTable.nextTimeEvent = $START.set.combiTimeTable.nextTimeEvent ($RES_SRT_86) [SCAL] (1) $PRE.reset.combiTimeTable.nextTimeEventScaled = $START.reset.combiTimeTable.nextTimeEventScaled ($RES_SRT_85) [SCAL] (1) $PRE.reset.combiTimeTable.nextTimeEvent = $START.reset.combiTimeTable.nextTimeEvent ($RES_SRT_84) [SCAL] (1) $PRE.counter.Value = $START.counter.Value ($RES_SRT_83) [SCAL] (1) $PRE.equal.y = $START.equal.y ($RES_SRT_82) [SCAL] (1) $PRE.counter.Sd = $START.counter.Sd ($RES_SRT_81) [SCAL] (1) $PRE.counter.CDd = $START.counter.CDd ($RES_SRT_80) 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.463340055954177] Failed to read output from testmodel.py, exit status != 0: 0.03407286503352225 0.048457610000000005 0.032586638 Calling exit ...