Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001165/0.001165, allocations: 117.1 kB / 16.43 MB, free: 6.469 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.001064/0.001064, allocations: 185.9 kB / 17.36 MB, free: 5.723 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.382/1.382, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002112/0.002112, allocations: 297 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9642/0.9642, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.992e-05/3.994e-05, allocations: 4.953 kB / 0.682 GB, free: 7.078 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.003514/0.003563, allocations: 1.952 MB / 0.6839 GB, free: 5.109 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.004962, allocations: 0.6974 MB / 0.6846 GB, free: 4.406 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.005126, allocations: 11.94 kB / 0.6846 GB, free: 4.395 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.005427, allocations: 83.62 kB / 0.6847 GB, free: 4.312 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.005574, allocations: 91.62 kB / 0.6848 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006342/0.006232, allocations: 190.7 kB / 0.685 GB, free: 4.039 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000394/0.006635, allocations: 287.4 kB / 0.6852 GB, free: 3.758 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.006859, allocations: 73.88 kB / 0.6853 GB, free: 3.688 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.007047, allocations: 115.6 kB / 0.6854 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.007258, allocations: 127.6 kB / 0.6855 GB, free: 3.449 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.418e-05/0.007309, allocations: 20 kB / 0.6856 GB, free: 3.43 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.007467, allocations: 95.86 kB / 0.6857 GB, free: 3.336 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0002482/0.007725, allocations: 304.6 kB / 0.6859 GB, free: 3.035 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 9.614e-05/0.007828, allocations: 177.2 kB / 0.6861 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.427e-05/0.007888, allocations: 31.88 kB / 0.6861 GB, free: 2.828 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.612e-05/0.007949, allocations: 15.88 kB / 0.6862 GB, free: 2.812 MB / 494.1 MB 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.0009817/0.008937, allocations: 0.9288 MB / 0.6871 GB, free: 1.773 MB / 494.1 MB Notification: Performance of FunctionAlias: time 4.21e-05/0.008985, allocations: 31.95 kB / 0.6871 GB, free: 1.742 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0004675/0.00946, allocations: 469.2 kB / 0.6875 GB, free: 1.258 MB / 494.1 MB Notification: Performance of simplify1: time 3.948e-05/0.009508, allocations: 23.97 kB / 0.6876 GB, free: 1.234 MB / 494.1 MB Notification: Performance of Alias: time 0.001103/0.01062, allocations: 0.8951 MB / 0.6884 GB, free: 196 kB / 494.1 MB Notification: Performance of simplify2: time 2.155e-05/0.01065, allocations: 19.95 kB / 0.6885 GB, free: 176 kB / 494.1 MB Notification: Performance of Detect States: time 0.0002282/0.01089, allocations: 140.2 kB / 0.6886 GB, free: 20 kB / 494.1 MB Notification: Performance of Events: time 0.4397/0.4506, allocations: 115.9 kB / 0.6887 GB, free: 14.79 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0002424/0.4509, allocations: 140 kB / 0.6888 GB, free: 14.74 MB / 494.1 MB Notification: Performance of Causalize: time 0.0006433/0.4516, allocations: 404.8 kB / 0.6892 GB, free: 14.69 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004421/0.452, allocations: 409.4 kB / 0.6896 GB, free: 14.64 MB / 494.1 MB Notification: Performance of Inline: time 0.0009143/0.4529, allocations: 0.7171 MB / 0.6903 GB, free: 14.55 MB / 494.1 MB Notification: Performance of Partitioning: time 5.617e-05/0.453, allocations: 43.72 kB / 0.6904 GB, free: 14.53 MB / 494.1 MB Notification: Performance of Cleanup: time 5.563e-05/0.4531, allocations: 31.59 kB / 0.6904 GB, free: 14.53 MB / 494.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) ySet.nextEventScaled = $START.ySet.nextEventScaled ($RES_SRT_44) slice: {}; Notification: Performance of Causalize: time 0.002012/0.4551, allocations: 1.435 MB / 0.6918 GB, free: 14.22 MB / 494.1 MB Notification: Performance of Tearing: time 1.602e-05/0.4551, allocations: 1.125 kB / 0.6918 GB, free: 14.22 MB / 494.1 MB Notification: Performance of Initialization: time 6.91e-07/0.4551, allocations: 0 / 0.6918 GB, free: 14.22 MB / 494.1 MB Notification: Performance of Tearing: time 4.849e-06/0.4551, allocations: 3.688 kB / 0.6918 GB, free: 14.22 MB / 494.1 MB Notification: Performance of Categorize: time 1.592e-05/0.4551, allocations: 1.438 kB / 0.6918 GB, free: 14.22 MB / 494.1 MB Notification: Performance of Solve: time 0.0001935/0.4553, allocations: 94.78 kB / 0.6919 GB, free: 14.21 MB / 494.1 MB Notification: Performance of Jacobian: time 0.0002579/0.4556, allocations: 304.3 kB / 0.6922 GB, free: 14 MB / 494.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 2 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 1 (1) {mot.y} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 15 (15) {mot.uppHys.y, mot.lowHys.y, ySet.a, ySet.b, ySet.last, ySet.nextEvent, ySet.nextEventScaled, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 16 (scalar:16, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 34 (scalar:34, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001321/0.4557, allocations: 20.11 kB / 0.6922 GB, free: 14 MB / 494.1 MB Notification: Performance of SimCode: time 0.001728/0.4575, allocations: 1.526 MB / 0.6937 GB, free: 13.06 MB / 494.1 MB Notification: Performance of Templates: time 0.006589/0.4641, allocations: 2.077 MB / 0.6957 GB, free: 12.93 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1)