Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealCSV.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-master/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-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(KeyWordIO.Examples.ReadRealCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealCSV") translateModel(KeyWordIO.Examples.ReadRealCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealCSV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 103.3 kB / 16.35 MB, free: 5.875 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.0009769/0.000977, allocations: 191 kB / 17.29 MB, free: 5.516 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.213/1.213, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.005857/0.005857, allocations: 1.017 MB / 292.2 MB, free: 13.75 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 67.89 kB / 353.5 MB, free: 376 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1745, allocations: 49.64 MB / 403.1 MB, free: 35.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.001793/0.1763, allocations: 1.254 MB / 404.4 MB, free: 34.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.1775, allocations: 1.213 MB / 405.6 MB, free: 32.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.44e-05/0.1775, allocations: 0 / 405.6 MB, free: 32.94 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readLine.mo:2:1-36:13:writable] Warning: Pure function 'KeyWordIO.readLine' contains a call to impure function 'KeyWordIO.readLineWithoutCache'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readRealCSV.mo:2:1-72:16:writable] Warning: Pure function 'KeyWordIO.readRealCSV' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeComponents: time 0.0009842/0.1785, allocations: 273.3 kB / 405.9 MB, free: 32.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.431e-05/0.1786, allocations: 51.88 kB / 405.9 MB, free: 32.63 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.216e-06/0.1786, allocations: 4 kB / 405.9 MB, free: 32.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.367e-05/0.1787, allocations: 35.84 kB / 406 MB, free: 32.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.139e-05/0.1787, allocations: 0 / 406 MB, free: 32.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.942e-05/0.1787, allocations: 23.86 kB / 406 MB, free: 32.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.1789, allocations: 31.95 kB / 406 MB, free: 32.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.907e-06/0.1789, allocations: 7.938 kB / 406 MB, free: 32.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002555/0.1791, allocations: 267.6 kB / 406.3 MB, free: 32.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.313e-05/0.1792, allocations: 29.41 kB / 406.3 MB, free: 32.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.566e-05/0.1792, allocations: 11.92 kB / 406.3 MB, free: 32.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.1794, allocations: 231.5 kB / 406.5 MB, free: 32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1794, allocations: 0 / 406.5 MB, free: 32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1795, allocations: 3.906 kB / 406.6 MB, free: 32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.1795, allocations: 4 kB / 406.6 MB, free: 32 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002316/0.1797, allocations: 392.9 kB / 406.9 MB, free: 31.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.1797, allocations: 8.031 kB / 406.9 MB, free: 31.56 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.1798, allocations: 84.12 kB / 407 MB, free: 31.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.1799, allocations: 259.5 kB / 407.3 MB, free: 31.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.1799, allocations: 150.9 kB / 407.4 MB, free: 31.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.1799, allocations: 151.8 kB / 407.6 MB, free: 30.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.467e-05/0.18, allocations: 121 kB / 407.7 MB, free: 30.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.18, allocations: 83.28 kB / 407.8 MB, free: 30.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.18, allocations: 150.6 kB / 407.9 MB, free: 30.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/0.18, allocations: 154.5 kB / 408.1 MB, free: 30.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.629e-05/0.18, allocations: 150.6 kB / 408.2 MB, free: 30.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001515/0.1802, allocations: 453.9 kB / 408.7 MB, free: 29.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.461e-05/0.1802, allocations: 173.1 kB / 408.8 MB, free: 29.56 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.226e-05/0.1803, allocations: 80.14 kB / 408.9 MB, free: 29.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.1803, allocations: 79.28 kB / 409 MB, free: 29.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.1803, allocations: 113.8 kB / 409.1 MB, free: 29.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.1803, allocations: 0 / 409.1 MB, free: 29.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 5.505e-05/0.1804, allocations: 33.69 kB / 409.1 MB, free: 29.24 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.1804, allocations: 126.7 kB / 409.3 MB, free: 29.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.167e-05/0.1805, allocations: 129.8 kB / 409.4 MB, free: 28.97 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.438e-06/0.1805, allocations: 25.7 kB / 409.4 MB, free: 28.94 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.799e-05/0.1805, allocations: 96.06 kB / 409.5 MB, free: 28.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.062e-06/0.1805, allocations: 3.938 kB / 409.5 MB, free: 28.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.542e-05/0.1805, allocations: 13.72 kB / 409.5 MB, free: 28.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.147e-05/0.1806, allocations: 314.8 kB / 409.8 MB, free: 28.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.046e-06/0.1806, allocations: 0 / 409.8 MB, free: 28.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.974e-06/0.1806, allocations: 3.938 kB / 409.8 MB, free: 28.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.568e-06/0.1806, allocations: 75.28 kB / 409.9 MB, free: 28.42 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.1806, allocations: 79.28 kB / 410 MB, free: 28.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.432e-05/0.1807, allocations: 33.64 kB / 410 MB, free: 28.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1807, allocations: 83.27 kB / 410.1 MB, free: 28.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.1807, allocations: 83.22 kB / 410.2 MB, free: 28.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.1807, allocations: 154.6 kB / 410.3 MB, free: 27.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.935e-06/0.1807, allocations: 75.28 kB / 410.4 MB, free: 27.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.1808, allocations: 162.5 kB / 410.6 MB, free: 27.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.547e-05/0.1808, allocations: 75.28 kB / 410.6 MB, free: 27.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.1808, allocations: 83.39 kB / 410.7 MB, free: 27.6 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.683e-05/0.1809, allocations: 272.4 kB / 411 MB, free: 27.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.514e-05/0.1809, allocations: 116.8 kB / 411.1 MB, free: 27.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.937e-05/0.181, allocations: 104.5 kB / 411.2 MB, free: 27.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/0.181, allocations: 184.2 kB / 411.4 MB, free: 26.9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.852e-05/0.181, allocations: 184.2 kB / 411.6 MB, free: 26.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/0.181, allocations: 184.2 kB / 411.7 MB, free: 26.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.1811, allocations: 405.2 kB / 412.1 MB, free: 26.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/0.1812, allocations: 108.9 kB / 412.2 MB, free: 25.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.144e-05/0.1812, allocations: 108.9 kB / 412.3 MB, free: 25.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.63e-05/0.1812, allocations: 176.3 kB / 412.5 MB, free: 25.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.1812, allocations: 180.2 kB / 412.7 MB, free: 25.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.645e-05/0.1812, allocations: 184.3 kB / 412.9 MB, free: 25.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-05/0.1813, allocations: 184.2 kB / 413.1 MB, free: 25.11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.086e-05/0.1813, allocations: 303.8 kB / 413.4 MB, free: 24.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.1814, allocations: 189.9 kB / 413.5 MB, free: 24.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.1814, allocations: 188.3 kB / 413.7 MB, free: 24.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.774e-05/0.1815, allocations: 108.9 kB / 413.8 MB, free: 24.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.1815, allocations: 180.2 kB / 414 MB, free: 24.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.1815, allocations: 101 kB / 414.1 MB, free: 23.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.585e-05/0.1815, allocations: 115.2 kB / 414.2 MB, free: 23.87 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1816, allocations: 0 / 414.2 MB, free: 23.87 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000333/0.1819, allocations: 75.98 kB / 414.3 MB, free: 23.79 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004568/0.1824, allocations: 402.1 kB / 414.7 MB, free: 23.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.464e-05/0.1824, allocations: 0 / 414.7 MB, free: 23.45 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1824, allocations: 4 kB / 414.7 MB, free: 23.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.1824, allocations: 0 / 414.7 MB, free: 23.44 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.1827, allocations: 474.3 kB / 415.1 MB, free: 22.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002283/0.1829, allocations: 246.2 kB / 415.4 MB, free: 22.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.349e-05/0.183, allocations: 0.6924 MB / 416.1 MB, free: 21.99 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.768e-06/0.183, allocations: 4 kB / 416.1 MB, free: 21.99 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.625e-05/0.183, allocations: 11.44 kB / 416.1 MB, free: 21.98 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.183, allocations: 0 / 416.1 MB, free: 21.98 MB / 302.1 MB Notification: Performance of Templates: time 0.003354/0.1864, allocations: 1.827 MB / 417.9 MB, free: 20.15 MB / 302.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.makefile (rm -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealCSV.sim & ./KeyWordIO_KeyWordIO.Examples.ReadRealCSV -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe 2>&1)