Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.WriteRealVariables.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/KeyWordIO 0.11.0+X/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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(KeyWordIO.Examples.WriteRealVariables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.WriteRealVariables") translateModel(KeyWordIO.Examples.WriteRealVariables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.WriteRealVariables") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 110.2 kB / 16.42 MB, free: 6.523 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.001096/0.001096, allocations: 188.2 kB / 17.36 MB, free: 5.746 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.287/1.287, 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/KeyWordIO 0.11.0+X/package.mo): time 0.006193/0.006193, allocations: 1.009 MB / 292.2 MB, free: 13.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.267e-05/1.267e-05, allocations: 2.281 kB / 403.6 MB, free: 31.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.WriteRealVariables): time 0.001531/0.001544, allocations: 1.368 MB / 404.9 MB, free: 30.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007525/0.002296, allocations: 0.813 MB / 405.8 MB, free: 29.69 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.454e-05/0.002321, allocations: 0 / 405.8 MB, free: 29.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.294e-05/0.002344, allocations: 3.938 kB / 405.8 MB, free: 29.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.002493, allocations: 19.91 kB / 405.8 MB, free: 29.67 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/writeRealVariables.mo:2:1-21:23:writable] Warning: Pure function 'KeyWordIO.writeRealVariables' contains a call to impure function 'Modelica.Utilities.Files.removeFile'. Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.002681, allocations: 43.89 kB / 405.8 MB, free: 29.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.954e-05/0.002751, allocations: 27.92 kB / 405.9 MB, free: 29.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.235e-05/0.002783, allocations: 0 / 405.9 MB, free: 29.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.603e-05/0.002809, allocations: 11.92 kB / 405.9 MB, free: 29.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.308e-05/0.002892, allocations: 19.92 kB / 405.9 MB, free: 29.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.317e-06/0.002901, allocations: 0 / 405.9 MB, free: 29.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.501e-05/0.002986, allocations: 47.91 kB / 405.9 MB, free: 29.52 MB / 302.1 MB Notification: Performance of combineBinaries: time 3.442e-05/0.003021, allocations: 47.47 kB / 406 MB, free: 29.47 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 8.045e-06/0.003029, allocations: 27.56 kB / 406 MB, free: 29.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.492e-05/0.003044, allocations: 3.938 kB / 406 MB, free: 29.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.398e-06/0.003053, allocations: 8 kB / 406 MB, free: 29.43 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 (2) * Number of variables: 3 (3) Notification: Performance of Bindings: time 0.0002074/0.003261, allocations: 257.2 kB / 406.3 MB, free: 29.06 MB / 302.1 MB Notification: Performance of FunctionAlias: time 1.919e-05/0.00328, allocations: 14.8 kB / 406.3 MB, free: 29.05 MB / 302.1 MB Notification: Performance of Early Inline: time 4.907e-05/0.003329, allocations: 72.72 kB / 406.4 MB, free: 28.95 MB / 302.1 MB Notification: Performance of simplify1: time 2.429e-05/0.003353, allocations: 36.42 kB / 406.4 MB, free: 28.89 MB / 302.1 MB Notification: Performance of Alias: time 3.608e-05/0.003389, allocations: 80.91 kB / 406.5 MB, free: 28.76 MB / 302.1 MB Notification: Performance of simplify2: time 1.506e-05/0.003404, allocations: 40.44 kB / 406.5 MB, free: 28.7 MB / 302.1 MB Notification: Performance of Detect States: time 5.965e-05/0.003464, allocations: 78.88 kB / 406.6 MB, free: 28.58 MB / 302.1 MB Notification: Performance of Events: time 6.054e-05/0.003524, allocations: 19.92 kB / 406.6 MB, free: 28.56 MB / 302.1 MB Notification: Performance of Partitioning: time 5.513e-05/0.00358, allocations: 40.09 kB / 406.6 MB, free: 28.51 MB / 302.1 MB Notification: Performance of Causalize: time 0.0001474/0.003727, allocations: 52.09 kB / 406.7 MB, free: 28.45 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 4.575e-05/0.003773, allocations: 80.33 kB / 406.8 MB, free: 28.35 MB / 302.1 MB Notification: Performance of Inline: time 0.0001186/0.003891, allocations: 161.3 kB / 406.9 MB, free: 28.14 MB / 302.1 MB Notification: Performance of Partitioning: time 7.204e-06/0.003899, allocations: 8.125 kB / 406.9 MB, free: 28.12 MB / 302.1 MB Notification: Performance of Cleanup: time 3.036e-05/0.003929, allocations: 31.95 kB / 407 MB, free: 28.09 MB / 302.1 MB Notification: Performance of Causalize: time 0.0002074/0.004136, allocations: 167.9 kB / 407.1 MB, free: 27.92 MB / 302.1 MB Notification: Performance of Tearing: time 7.143e-06/0.004143, allocations: 4 kB / 407.1 MB, free: 27.92 MB / 302.1 MB Notification: Performance of Initialization: time 8.31e-07/0.004144, allocations: 4 kB / 407.1 MB, free: 27.91 MB / 302.1 MB Notification: Performance of Tearing: time 1.011e-06/0.004145, allocations: 0 / 407.1 MB, free: 27.91 MB / 302.1 MB Notification: Performance of Categorize: time 4.758e-06/0.00415, allocations: 0 / 407.1 MB, free: 27.91 MB / 302.1 MB Notification: Performance of Solve: time 2.969e-05/0.00418, allocations: 8 kB / 407.1 MB, free: 27.91 MB / 302.1 MB Notification: Performance of Jacobian: time 2.304e-06/0.004182, allocations: 0 / 407.1 MB, free: 27.91 MB / 302.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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 3 (3) {y_start, y_end, $TEV_1} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 2 (scalar:2, 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: ........... 6 (scalar:6, 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 2.393e-05/0.004206, allocations: 28.38 kB / 407.2 MB, free: 27.88 MB / 302.1 MB Notification: Performance of SimCode: time 0.0005603/0.004766, allocations: 0.922 MB / 408.1 MB, free: 26.98 MB / 302.1 MB Notification: Performance of Templates: time 0.002284/0.00705, allocations: 0.6334 MB / 408.7 MB, free: 26.34 MB / 302.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.WriteRealVariables.makefile (rm -f KeyWordIO_KeyWordIO.Examples.WriteRealVariables.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.WriteRealVariables.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.WriteRealVariables.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.WriteRealVariables.sim & ./KeyWordIO_KeyWordIO.Examples.WriteRealVariables -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.WriteRealVariables.pipe 2>&1)