Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadStringCSV.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.ReadStringCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSV") translateModel(KeyWordIO.Examples.ReadStringCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 104.3 kB / 16.36 MB, free: 6.289 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.001195/0.001195, allocations: 192 kB / 17.29 MB, free: 5.863 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 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.005797/0.005797, allocations: 1.013 MB / 292.2 MB, free: 13.8 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 63.89 kB / 353.5 MB, free: 436 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1699, allocations: 49.64 MB / 403.1 MB, free: 35.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.001416/0.1714, allocations: 0.4944 MB / 403.6 MB, free: 34.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1727, allocations: 1.345 MB / 405 MB, free: 33.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.204e-05/0.1728, allocations: 0 / 405 MB, free: 33.61 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/readSizeCSV.mo:2:1-41:16:writable] Warning: Pure function 'KeyWordIO.readSizeCSV' contains a call to impure function 'KeyWordIO.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readColsCSV.mo:2:1-18:16:writable] Warning: Pure function 'KeyWordIO.readColsCSV' contains a call to impure function 'KeyWordIO.readSizeCSV'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readStringCSV.mo:2:1-85:18:writable] Warning: Pure function 'KeyWordIO.readStringCSV' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeComponents: time 0.001031/0.1738, allocations: 307.3 kB / 405.3 MB, free: 33.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.902e-05/0.1738, allocations: 31.91 kB / 405.3 MB, free: 33.28 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.833e-05/0.1739, allocations: 8 kB / 405.3 MB, free: 33.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.986e-05/0.174, allocations: 27.97 kB / 405.3 MB, free: 33.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.979e-05/0.174, allocations: 7.984 kB / 405.4 MB, free: 33.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.71e-05/0.174, allocations: 19.53 kB / 405.4 MB, free: 33.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.232e-05/0.1741, allocations: 23.97 kB / 405.4 MB, free: 33.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.909e-06/0.1741, allocations: 0 / 405.4 MB, free: 33.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002998/0.1744, allocations: 331.5 kB / 405.7 MB, free: 32.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.386e-05/0.1744, allocations: 23.97 kB / 405.7 MB, free: 32.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.961e-05/0.1745, allocations: 7.938 kB / 405.8 MB, free: 32.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.1747, allocations: 271.5 kB / 406 MB, free: 32.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1747, allocations: 4 kB / 406 MB, free: 32.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1747, allocations: 0 / 406 MB, free: 32.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1747, allocations: 3.938 kB / 406 MB, free: 32.57 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.0002517/0.175, allocations: 407 kB / 406.4 MB, free: 32.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.495e-05/0.175, allocations: 12.03 kB / 406.4 MB, free: 32.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.1751, allocations: 84.06 kB / 406.5 MB, free: 32.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.896e-05/0.1752, allocations: 253.5 kB / 406.8 MB, free: 31.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.1752, allocations: 150.9 kB / 406.9 MB, free: 31.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.1752, allocations: 153.7 kB / 407.1 MB, free: 31.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.315e-05/0.1753, allocations: 105.1 kB / 407.2 MB, free: 31.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.1753, allocations: 75.28 kB / 407.2 MB, free: 31.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.1753, allocations: 154.5 kB / 407.4 MB, free: 31.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.1753, allocations: 158.6 kB / 407.5 MB, free: 30.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.734e-05/0.1754, allocations: 154.5 kB / 407.7 MB, free: 30.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.1755, allocations: 449.9 kB / 408.1 MB, free: 30.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.418e-05/0.1755, allocations: 169.1 kB / 408.3 MB, free: 30.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.308e-05/0.1756, allocations: 84.14 kB / 408.4 MB, free: 30.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.1756, allocations: 79.22 kB / 408.5 MB, free: 29.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.468e-05/0.1757, allocations: 71.31 kB / 408.5 MB, free: 29.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=1): time 1.913e-06/0.1757, allocations: 0 / 408.5 MB, free: 29.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=1): time 9.54e-05/0.1758, allocations: 37.64 kB / 408.6 MB, free: 29.85 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.1758, allocations: 51.41 kB / 408.6 MB, free: 29.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.756e-05/0.1759, allocations: 113.8 kB / 408.7 MB, free: 29.67 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.528e-06/0.1759, allocations: 25.7 kB / 408.7 MB, free: 29.64 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.519e-05/0.1759, allocations: 88.12 kB / 408.8 MB, free: 29.55 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.023e-05/0.1759, allocations: 11.84 kB / 408.8 MB, free: 29.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-05/0.1759, allocations: 9.719 kB / 408.9 MB, free: 29.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.206e-05/0.176, allocations: 319 kB / 409.2 MB, free: 29.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.422e-06/0.176, allocations: 0 / 409.2 MB, free: 29.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.238e-06/0.176, allocations: 4 kB / 409.2 MB, free: 29.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.526e-05/0.176, allocations: 8.797 kB / 409.2 MB, free: 29.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.176, allocations: 0 / 409.2 MB, free: 29.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.903e-05/0.1761, allocations: 41.88 kB / 409.2 MB, free: 29.14 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.796e-06/0.1761, allocations: 4 kB / 409.2 MB, free: 29.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.1761, allocations: 0 / 409.2 MB, free: 29.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.1761, allocations: 4.094 kB / 409.2 MB, free: 29.13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.645e-05/0.1761, allocations: 8 kB / 409.2 MB, free: 29.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.1761, allocations: 0 / 409.2 MB, free: 29.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.411e-05/0.1761, allocations: 0 / 409.2 MB, free: 29.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.1762, allocations: 0 / 409.2 MB, free: 29.12 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.267e-05/0.1762, allocations: 121.8 kB / 409.4 MB, free: 28.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.1762, allocations: 7.875 kB / 409.4 MB, free: 28.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.841e-05/0.1762, allocations: 7.531 kB / 409.4 MB, free: 28.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1763, allocations: 0 / 409.4 MB, free: 28.97 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.1763, allocations: 0 / 409.4 MB, free: 28.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-06/0.1763, allocations: 4 kB / 409.4 MB, free: 28.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.155e-05/0.1763, allocations: 161.6 kB / 409.5 MB, free: 28.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1763, allocations: 3.938 kB / 409.5 MB, free: 28.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.807e-06/0.1763, allocations: 3.938 kB / 409.5 MB, free: 28.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1764, allocations: 3.984 kB / 409.5 MB, free: 28.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.1764, allocations: 4 kB / 409.5 MB, free: 28.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1764, allocations: 0 / 409.5 MB, free: 28.75 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1764, allocations: 0 / 409.5 MB, free: 28.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.794e-05/0.1764, allocations: 69.03 kB / 409.6 MB, free: 28.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.233e-05/0.1764, allocations: 81.05 kB / 409.7 MB, free: 28.56 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.1765, allocations: 0 / 409.7 MB, free: 28.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.729e-05/0.1765, allocations: 7.984 kB / 409.7 MB, free: 28.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-06/0.1765, allocations: 0 / 409.7 MB, free: 28.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.1765, allocations: 0 / 409.7 MB, free: 28.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.858e-05/0.1765, allocations: 95.31 kB / 409.8 MB, free: 28.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1765, allocations: 0 / 409.8 MB, free: 28.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.1768, allocations: 99.98 kB / 409.9 MB, free: 28.36 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0005349/0.1774, allocations: 402.8 kB / 410.3 MB, free: 28.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 5.413e-05/0.1774, allocations: 11.98 kB / 410.3 MB, free: 28.03 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1774, allocations: 4 kB / 410.3 MB, free: 28.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.809e-06/0.1774, allocations: 0 / 410.3 MB, free: 28.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.1776, allocations: 11.92 kB / 410.3 MB, free: 28.01 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000151/0.1777, allocations: 128.8 kB / 410.4 MB, free: 27.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.742e-05/0.1778, allocations: 0.6886 MB / 411.1 MB, free: 27.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.329e-05/0.1779, allocations: 11.92 kB / 411.1 MB, free: 27.13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.412e-05/0.1779, allocations: 11.44 kB / 411.2 MB, free: 27.12 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1779, allocations: 0 / 411.2 MB, free: 27.12 MB / 302.1 MB Notification: Performance of Templates: time 0.003971/0.1819, allocations: 2.44 MB / 413.6 MB, free: 24.68 MB / 302.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadStringCSV.makefile (rm -f KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadStringCSV.sim & ./KeyWordIO_KeyWordIO.Examples.ReadStringCSV -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe 2>&1)