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.001114/0.001114, allocations: 112.2 kB / 16.43 MB, free: 6.5 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.001142/0.001142, allocations: 183.2 kB / 17.35 MB, free: 5.754 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.209/1.209, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001946/0.001946, allocations: 292.3 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8752/0.8752, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.225e-05, allocations: 4.953 kB / 0.682 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002831/0.002861, allocations: 1.96 MB / 0.6839 GB, free: 5.078 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.003972, allocations: 0.7013 MB / 0.6846 GB, free: 4.371 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.196e-05/0.004075, allocations: 0 / 0.6846 GB, free: 4.371 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.00432, allocations: 83.64 kB / 0.6847 GB, free: 4.289 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.004464, allocations: 95.56 kB / 0.6848 GB, free: 4.195 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000519/0.004995, allocations: 190.6 kB / 0.685 GB, free: 4.012 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003275/0.005333, allocations: 287.4 kB / 0.6852 GB, free: 3.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.005496, allocations: 73.89 kB / 0.6853 GB, free: 3.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.005644, allocations: 119.6 kB / 0.6854 GB, free: 3.543 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.005816, allocations: 123.6 kB / 0.6855 GB, free: 3.422 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.687e-05/0.00586, allocations: 20 kB / 0.6856 GB, free: 3.402 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.005991, allocations: 91.92 kB / 0.6856 GB, free: 3.312 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0002106/0.006208, allocations: 304.5 kB / 0.6859 GB, free: 3.012 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 9.245e-05/0.006306, allocations: 181.2 kB / 0.6861 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.414e-05/0.006357, allocations: 35.88 kB / 0.6861 GB, free: 2.797 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.231e-05/0.006394, allocations: 15.88 kB / 0.6862 GB, free: 2.781 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.0008977/0.007296, allocations: 0.9328 MB / 0.6871 GB, free: 1.738 MB / 494.1 MB Notification: Performance of FunctionAlias: time 3.308e-05/0.007335, allocations: 35.91 kB / 0.6871 GB, free: 1.703 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0004498/0.007789, allocations: 465.2 kB / 0.6875 GB, free: 1.223 MB / 494.1 MB Notification: Performance of simplify1: time 3.157e-05/0.007827, allocations: 23.97 kB / 0.6876 GB, free: 1.199 MB / 494.1 MB Notification: Performance of Alias: time 0.001059/0.008891, allocations: 0.8796 MB / 0.6884 GB, free: 176 kB / 494.1 MB Notification: Performance of simplify2: time 1.904e-05/0.008921, allocations: 19.97 kB / 0.6884 GB, free: 156 kB / 494.1 MB Notification: Performance of Events: time 0.0001772/0.009103, allocations: 123.7 kB / 0.6886 GB, free: 32 kB / 494.1 MB Notification: Performance of Detect States: time 0.2924/0.3015, allocations: 162.6 kB / 0.6887 GB, free: 14.66 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0002131/0.3018, allocations: 139 kB / 0.6889 GB, free: 14.61 MB / 494.1 MB Notification: Performance of Causalize: time 0.0005502/0.3023, allocations: 407 kB / 0.6892 GB, free: 14.57 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003698/0.3027, allocations: 411.4 kB / 0.6896 GB, free: 14.51 MB / 494.1 MB Notification: Performance of Inline: time 0.0007088/0.3034, allocations: 0.7215 MB / 0.6903 GB, free: 14.43 MB / 494.1 MB Notification: Performance of Partitioning: time 4.118e-05/0.3035, allocations: 49.5 kB / 0.6904 GB, free: 14.41 MB / 494.1 MB Notification: Performance of Cleanup: time 3.178e-05/0.3035, allocations: 26.88 kB / 0.6904 GB, free: 14.41 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.001697/0.3052, allocations: 1.439 MB / 0.6918 GB, free: 14.13 MB / 494.1 MB Notification: Performance of Tearing: time 9.398e-06/0.3053, allocations: 0 / 0.6918 GB, free: 14.13 MB / 494.1 MB Notification: Performance of Initialization: time 4.31e-07/0.3053, allocations: 1.312 kB / 0.6918 GB, free: 14.13 MB / 494.1 MB Notification: Performance of Tearing: time 2.324e-06/0.3053, allocations: 0 / 0.6918 GB, free: 14.13 MB / 494.1 MB Notification: Performance of Categorize: time 1.256e-05/0.3053, allocations: 5.297 kB / 0.6918 GB, free: 14.13 MB / 494.1 MB Notification: Performance of Solve: time 0.0001434/0.3054, allocations: 87.91 kB / 0.6919 GB, free: 14.12 MB / 494.1 MB Notification: Performance of Jacobian: time 0.0002211/0.3057, allocations: 300.9 kB / 0.6922 GB, free: 13.91 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.000114/0.3058, allocations: 29.53 kB / 0.6922 GB, free: 13.9 MB / 494.1 MB Notification: Performance of SimCode: time 0.001324/0.3071, allocations: 1.504 MB / 0.6937 GB, free: 13 MB / 494.1 MB Notification: Performance of Templates: time 0.005341/0.3125, allocations: 2.092 MB / 0.6957 GB, free: 12.86 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)