Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) 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(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 106.1 kB / 16.37 MB, free: 6.367 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.001203/0.001203, allocations: 188.7 kB / 17.3 MB, free: 5.914 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.456/1.456, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.703/1.703, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.486e-05, allocations: 2.281 kB / 0.6728 GB, free: 5.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003173/0.003213, allocations: 1.965 MB / 0.6748 GB, free: 3.949 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.004431, allocations: 0.7527 MB / 0.6755 GB, free: 3.188 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.004546, allocations: 4 kB / 0.6755 GB, free: 3.184 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002227/0.004775, allocations: 79.64 kB / 0.6756 GB, free: 3.105 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.004906, allocations: 95.56 kB / 0.6757 GB, free: 3.012 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005586/0.005471, allocations: 190.5 kB / 0.6758 GB, free: 2.828 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003098/0.00579, allocations: 287.4 kB / 0.6761 GB, free: 2.547 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.005967, allocations: 69.84 kB / 0.6762 GB, free: 2.477 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.006095, allocations: 115.6 kB / 0.6763 GB, free: 2.363 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001747/0.006276, allocations: 131.5 kB / 0.6764 GB, free: 2.234 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.006314, allocations: 20 kB / 0.6764 GB, free: 2.215 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.006448, allocations: 91.92 kB / 0.6765 GB, free: 2.125 MB / 0.545 GB Notification: Performance of combineBinaries: time 0.0002223/0.006678, allocations: 300.6 kB / 0.6768 GB, free: 1.828 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 8.617e-05/0.006772, allocations: 189.1 kB / 0.677 GB, free: 1.641 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.691e-05/0.006824, allocations: 27.94 kB / 0.677 GB, free: 1.613 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.341e-05/0.006862, allocations: 11.94 kB / 0.677 GB, free: 1.602 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 (30) * Number of variables: 33 (33) Notification: Performance of Bindings: time 0.0008493/0.007716, allocations: 0.9366 MB / 0.6779 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of FunctionAlias: time 9.881e-05/0.007823, allocations: 70.98 kB / 0.678 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of Early Inline: time 0.0004103/0.008241, allocations: 469.2 kB / 0.6785 GB, free: 12 kB / 0.545 GB Notification: Performance of simplify1: time 5.019e-05/0.008298, allocations: 23.97 kB / 0.6785 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of Alias: time 0.000921/0.009225, allocations: 0.8092 MB / 0.6793 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of simplify2: time 1.875e-05/0.009254, allocations: 15.97 kB / 0.6793 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of Events: time 0.0001894/0.009449, allocations: 123.7 kB / 0.6794 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of Detect States: time 0.0002191/0.009676, allocations: 172.1 kB / 0.6796 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of Partitioning: time 0.0001768/0.009861, allocations: 152.3 kB / 0.6797 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of Causalize: time 0.000724/0.01059, allocations: 0.7114 MB / 0.6804 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.0003618/0.01096, allocations: 420.4 kB / 0.6808 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of Inline: time 0.0006861/0.01166, allocations: 0.7112 MB / 0.6815 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of Partitioning: time 4.71e-05/0.01172, allocations: 42.38 kB / 0.6816 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of Cleanup: time 3.107e-05/0.01175, allocations: 35.97 kB / 0.6816 GB, free: 12.55 MB / 0.5606 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [TUPL] (4) ($FUN_1, $FUN_2, $FUN_3, $FUN_4) = Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.ySet.getInterpolationCoefficients(ySet.table, ySet.offset, ySet.startTime, time, ySet.last, 1e-13, ySet.shiftTime) ($RES_$AUX_35) slice: {3}; Notification: Performance of Causalize: time 0.002448/0.01421, allocations: 2.617 MB / 0.6841 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of Tearing: time 7.033e-06/0.01423, allocations: 0 / 0.6841 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of Initialization: time 6.11e-07/0.01423, allocations: 0 / 0.6841 GB, free: 9.918 MB / 0.5606 GB Error: Internal error NBEquation.Equation.getResidualExp failed for: [TUPL] (4) ($FUN_1, $FUN_2, $FUN_3, $FUN_4) = Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.ySet.getInterpolationCoefficients(ySet.table, ySet.offset, ySet.startTime, time, ySet.last, 1e-13, ySet.shiftTime) ($RES_$AUX_35)