Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.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.ReadStringCSVUnquoted,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted") translateModel(KeyWordIO.Examples.ReadStringCSVUnquoted,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008426/0.0008427, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004771/0.004772, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.319/1.319, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005478/0.005478, allocations: 0.9927 MB / 292.4 MB, free: 1.133 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002912/0.0002912, allocations: 12 kB / 353.8 MB, free: 2.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2809, allocations: 50.63 MB / 404.4 MB, free: 9.98 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.0005348/0.2814, allocations: 235 kB / 404.7 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002437/0.2839, allocations: 1.326 MB / 406 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.772e-05/0.2839, allocations: 0 / 406 MB, free: 9.84 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/readLine.mo:2:1-36:13:writable] Warning: Pure function ‘KeyWordIO.readLine‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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+X/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+X/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.001424/0.2854, allocations: 249.9 kB / 406.2 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.024e-05/0.2854, allocations: 21.53 kB / 406.3 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.021e-05/0.2855, allocations: 8.328 kB / 406.3 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.041e-05/0.2855, allocations: 20.39 kB / 406.3 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.391e-05/0.2856, allocations: 1.844 kB / 406.3 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.846e-05/0.2856, allocations: 7.969 kB / 406.3 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.164e-05/0.2857, allocations: 20.61 kB / 406.3 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.2857, allocations: 1.156 kB / 406.3 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005107/0.2862, allocations: 314 kB / 406.6 MB, free: 9.66 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.76e-05/0.2863, allocations: 16.02 kB / 406.6 MB, free: 9.66 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.582e-05/0.2864, allocations: 42.02 kB / 406.7 MB, free: 9.617 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000433/0.2868, allocations: 264 kB / 406.9 MB, free: 9.555 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.2868, allocations: 1.625 kB / 406.9 MB, free: 9.555 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2868, allocations: 0 / 406.9 MB, free: 9.555 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.2869, allocations: 0 / 406.9 MB, free: 9.555 MB / 286.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.0003175/0.2872, allocations: 414 kB / 407.3 MB, free: 9.125 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.2872, allocations: 9.438 kB / 407.3 MB, free: 9.125 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.035e-05/0.2873, allocations: 79.31 kB / 407.4 MB, free: 9.051 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.2874, allocations: 249.9 kB / 407.7 MB, free: 8.777 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.2874, allocations: 156 kB / 407.8 MB, free: 8.625 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.2874, allocations: 156 kB / 408 MB, free: 8.473 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.643e-05/0.2875, allocations: 109 kB / 408.1 MB, free: 8.359 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.2875, allocations: 80.28 kB / 408.2 MB, free: 8.281 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.598e-05/0.2875, allocations: 153.4 kB / 408.3 MB, free: 8.133 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.2876, allocations: 154.6 kB / 408.5 MB, free: 7.98 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.202e-05/0.2876, allocations: 151.8 kB / 408.6 MB, free: 7.832 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.2877, allocations: 448.1 kB / 409 MB, free: 7.352 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.752e-05/0.2878, allocations: 170.8 kB / 409.2 MB, free: 7.176 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.482e-05/0.2878, allocations: 85.83 kB / 409.3 MB, free: 7.09 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.2878, allocations: 75.28 kB / 409.4 MB, free: 7.016 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.27e-05/0.2879, allocations: 76.25 kB / 409.4 MB, free: 6.93 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 1.744e-06/0.2879, allocations: 0 / 409.4 MB, free: 6.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001211/0.288, allocations: 64.55 kB / 409.5 MB, free: 6.863 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.2881, allocations: 136.2 kB / 409.6 MB, free: 6.703 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.114e-05/0.2882, allocations: 113.7 kB / 409.8 MB, free: 6.598 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.37e-06/0.2882, allocations: 25.7 kB / 409.8 MB, free: 6.566 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.645e-05/0.2882, allocations: 85.92 kB / 409.9 MB, free: 6.48 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.027e-05/0.2882, allocations: 1.375 kB / 409.9 MB, free: 6.48 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.615e-05/0.2882, allocations: 9.719 kB / 409.9 MB, free: 6.465 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.624e-05/0.2883, allocations: 313 kB / 410.2 MB, free: 6.152 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.685e-06/0.2883, allocations: 2.094 kB / 410.2 MB, free: 6.152 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.097e-06/0.2883, allocations: 1.062 kB / 410.2 MB, free: 6.152 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.688e-05/0.2883, allocations: 69.05 kB / 410.2 MB, free: 6.074 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2883, allocations: 0 / 410.2 MB, free: 6.074 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.178e-05/0.2884, allocations: 73 kB / 410.3 MB, free: 6 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.2884, allocations: 31.11 kB / 410.4 MB, free: 5.969 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.2884, allocations: 0 / 410.4 MB, free: 5.969 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.2884, allocations: 1.312 kB / 410.4 MB, free: 5.969 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-06/0.2884, allocations: 5.109 kB / 410.4 MB, free: 5.965 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.2885, allocations: 0 / 410.4 MB, free: 5.965 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.66e-05/0.2885, allocations: 1.156 kB / 410.4 MB, free: 5.965 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.2885, allocations: 0 / 410.4 MB, free: 5.965 MB / 286.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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 5.095e-05/0.2885, allocations: 148.5 kB / 410.5 MB, free: 5.812 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/0.2886, allocations: 6.188 kB / 410.5 MB, free: 5.809 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.047e-05/0.2886, allocations: 7.375 kB / 410.5 MB, free: 5.801 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.2886, allocations: 0.9688 kB / 410.5 MB, free: 5.801 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2886, allocations: 0 / 410.5 MB, free: 5.801 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.2886, allocations: 0 / 410.5 MB, free: 5.801 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.304e-05/0.2887, allocations: 150.4 kB / 410.7 MB, free: 5.613 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2887, allocations: 3.938 kB / 410.7 MB, free: 5.609 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.643e-06/0.2887, allocations: 2.062 kB / 410.7 MB, free: 5.609 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.2887, allocations: 4 kB / 410.7 MB, free: 5.605 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.2887, allocations: 5 kB / 410.7 MB, free: 5.602 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.2887, allocations: 0 / 410.7 MB, free: 5.602 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2887, allocations: 1.078 kB / 410.7 MB, free: 5.602 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.06e-05/0.2888, allocations: 92.86 kB / 410.8 MB, free: 5.5 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.822e-05/0.2888, allocations: 88.05 kB / 410.9 MB, free: 5.398 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.2888, allocations: 2.156 kB / 410.9 MB, free: 5.398 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.578e-05/0.2888, allocations: 9.562 kB / 410.9 MB, free: 5.391 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.2888, allocations: 2.016 kB / 410.9 MB, free: 5.391 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.2888, allocations: 1.031 kB / 410.9 MB, free: 5.391 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.314e-05/0.2889, allocations: 92.22 kB / 411 MB, free: 5.312 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2889, allocations: 0 / 411 MB, free: 5.312 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003361/0.2892, allocations: 97.31 kB / 411.1 MB, free: 5.285 MB / 286.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: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0006462/0.2899, allocations: 390.7 kB / 411.4 MB, free: 5.109 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.192e-05/0.29, allocations: 62.3 kB / 411.5 MB, free: 5.043 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.29, allocations: 4.062 kB / 411.5 MB, free: 5.039 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.813e-05/0.29, allocations: 59.41 kB / 411.6 MB, free: 4.973 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.2901, allocations: 8.453 kB / 411.6 MB, free: 4.969 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002768/0.2904, allocations: 120.8 kB / 411.7 MB, free: 4.852 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.543e-05/0.2905, allocations: 0.681 MB / 412.4 MB, free: 4.156 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.081e-05/0.2906, allocations: 2.016 kB / 412.4 MB, free: 4.156 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.418e-05/0.2906, allocations: 13.62 kB / 412.4 MB, free: 4.145 MB / 286.1 MB Notification: Performance of SimCode: time 8.62e-07/0.2906, allocations: 4.875 kB / 412.4 MB, free: 4.141 MB / 286.1 MB Notification: Performance of Templates: time 0.004966/0.2956, allocations: 2.256 MB / 414.6 MB, free: 3.891 MB / 286.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.makefile Environment - environmentSimulation: (rm -f KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.sim & ./KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe 2>&1) Environment - environmentSimulation: