Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.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.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008736/0.0008736, allocations: 105.3 kB / 16.42 MB, free: 6.492 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.0008499/0.00085, allocations: 187.2 kB / 17.35 MB, free: 5.742 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.135/1.135, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002052/0.002052, allocations: 280.6 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.8283/0.8283, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.727e-05, allocations: 4.812 kB / 0.682 GB, free: 7.098 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.001986/0.002011, allocations: 1.54 MB / 0.6835 GB, free: 5.543 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008042/0.002826, allocations: 0.5734 MB / 0.6841 GB, free: 4.965 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.713e-05/0.002885, allocations: 8 kB / 0.6841 GB, free: 4.957 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.367e-05/0.002974, allocations: 11.86 kB / 0.6841 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.614e-05/0.003026, allocations: 15.8 kB / 0.6841 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.003361, allocations: 91.75 kB / 0.6842 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.003509, allocations: 107.7 kB / 0.6843 GB, free: 4.734 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.00362, allocations: 24.22 kB / 0.6843 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.353e-05/0.00372, allocations: 39.84 kB / 0.6843 GB, free: 4.668 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.279e-05/0.0038, allocations: 51.77 kB / 0.6844 GB, free: 4.617 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.003825, allocations: 12 kB / 0.6844 GB, free: 4.605 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.003943, allocations: 91.83 kB / 0.6845 GB, free: 4.516 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0001083/0.004058, allocations: 130.5 kB / 0.6846 GB, free: 4.387 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 3.187e-05/0.004095, allocations: 78.81 kB / 0.6847 GB, free: 4.309 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.455e-05/0.004124, allocations: 8 kB / 0.6847 GB, free: 4.301 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.093e-05/0.004141, allocations: 4 kB / 0.6847 GB, free: 4.297 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: 12 (10) * Number of variables: 12 (8) Notification: Performance of Bindings: time 0.0004658/0.004611, allocations: 490.7 kB / 0.6852 GB, free: 3.715 MB / 494.1 MB Notification: Performance of FunctionAlias: time 8.615e-05/0.004704, allocations: 64.84 kB / 0.6852 GB, free: 3.652 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0002121/0.004924, allocations: 260.2 kB / 0.6855 GB, free: 3.371 MB / 494.1 MB Notification: Performance of simplify1: time 2.588e-05/0.004956, allocations: 15.98 kB / 0.6855 GB, free: 3.355 MB / 494.1 MB Notification: Performance of Alias: time 9.179e-05/0.005052, allocations: 97.66 kB / 0.6856 GB, free: 3.223 MB / 494.1 MB Notification: Performance of simplify2: time 2.114e-05/0.005078, allocations: 23.97 kB / 0.6856 GB, free: 3.199 MB / 494.1 MB Notification: Performance of Events: time 0.0001165/0.0052, allocations: 79.8 kB / 0.6857 GB, free: 3.121 MB / 494.1 MB Notification: Performance of Detect States: time 0.0002624/0.00547, allocations: 120.2 kB / 0.6858 GB, free: 2.988 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0001053/0.005583, allocations: 96.03 kB / 0.6859 GB, free: 2.887 MB / 494.1 MB Notification: Performance of Causalize: time 0.0005921/0.00618, allocations: 487.6 kB / 0.6864 GB, free: 2.406 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002382/0.006428, allocations: 308.1 kB / 0.6867 GB, free: 2.078 MB / 494.1 MB Notification: Performance of Inline: time 0.0003547/0.006788, allocations: 408.2 kB / 0.687 GB, free: 1.645 MB / 494.1 MB Notification: Performance of Partitioning: time 2.429e-05/0.00682, allocations: 28.09 kB / 0.6871 GB, free: 1.609 MB / 494.1 MB Notification: Performance of Cleanup: time 2.074e-05/0.006845, allocations: 15.98 kB / 0.6871 GB, free: 1.594 MB / 494.1 MB Notification: Performance of Causalize: time 0.0005924/0.007442, allocations: 0.5366 MB / 0.6876 GB, free: 1.051 MB / 494.1 MB Notification: Performance of Tearing: time 4.478e-06/0.007457, allocations: 4 kB / 0.6876 GB, free: 1.047 MB / 494.1 MB Notification: Performance of Initialization: time 3.2e-07/0.007463, allocations: 3.938 kB / 0.6876 GB, free: 1.043 MB / 494.1 MB Notification: Performance of Tearing: time 8.52e-07/0.007468, allocations: 0 / 0.6876 GB, free: 1.043 MB / 494.1 MB Notification: Performance of Categorize: time 7.053e-06/0.007479, allocations: 3.984 kB / 0.6876 GB, free: 1.039 MB / 494.1 MB Notification: Performance of Solve: time 0.0001048/0.007587, allocations: 59.91 kB / 0.6877 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of Jacobian: time 5.25e-06/0.007599, allocations: 3.938 kB / 0.6877 GB, free: 0.9766 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: ............... 0 * Number of algebraic event partitions: ......... 1 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 2 (2) {pulse.T_start, pulse.count} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 8 (6) {$FUN_3, $SEV_2, $SEV_1, $SEV_0, $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:15, array:1, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:1) * 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: ........... 18 (scalar:17, array:1, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:1) * 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 3.837e-05/0.007642, allocations: 30.23 kB / 0.6877 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of SimCode: time 0.2321/0.2397, allocations: 1.053 MB / 0.6887 GB, free: 14.6 MB / 494.1 MB Notification: Performance of Templates: time 0.00353/0.2433, allocations: 1.376 MB / 0.6901 GB, free: 14.57 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)