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+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.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.007831/0.007831, allocations: 102.9 kB / 15.73 MB, free: 6.488 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.00171/0.00171, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.00646/0.006461, allocations: 0.9925 MB / 291.5 MB, free: 1.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 71.89 kB / 403 MB, free: 3.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2727, allocations: 49.63 MB / 452.6 MB, free: 22.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.001738/0.2745, allocations: 0.4969 MB / 453.1 MB, free: 22.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.2762, allocations: 1.341 MB / 454.4 MB, free: 21.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.744e-05/0.2763, allocations: 7.188 kB / 454.4 MB, free: 21.13 MB / 350.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 'KeyWordIO.readLineWithoutCache'. [/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.001215/0.2775, allocations: 319.3 kB / 454.7 MB, free: 20.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.236e-05/0.2776, allocations: 23.55 kB / 454.8 MB, free: 20.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.765e-05/0.2776, allocations: 14.73 kB / 454.8 MB, free: 20.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.718e-05/0.2777, allocations: 30.83 kB / 454.8 MB, free: 20.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.024e-05/0.2777, allocations: 2.719 kB / 454.8 MB, free: 20.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.461e-05/0.2778, allocations: 14.83 kB / 454.8 MB, free: 20.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.792e-05/0.2778, allocations: 21.45 kB / 454.9 MB, free: 20.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.2778, allocations: 7.062 kB / 454.9 MB, free: 20.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003951/0.2782, allocations: 337.6 kB / 455.2 MB, free: 20.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.228e-05/0.2783, allocations: 15.14 kB / 455.2 MB, free: 20.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.2784, allocations: 10.88 kB / 455.2 MB, free: 20.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003215/0.2787, allocations: 272.6 kB / 455.5 MB, free: 20.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2787, allocations: 7 kB / 455.5 MB, free: 20.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2787, allocations: 7.875 kB / 455.5 MB, free: 20.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.862e-06/0.2787, allocations: 0 / 455.5 MB, free: 20.72 MB / 350.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.0004002/0.2791, allocations: 405.2 kB / 455.9 MB, free: 20.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.2792, allocations: 9.125 kB / 455.9 MB, free: 20.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.016e-05/0.2792, allocations: 87.16 kB / 456 MB, free: 20.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.2794, allocations: 248.6 kB / 456.2 MB, free: 19.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.2794, allocations: 150.9 kB / 456.4 MB, free: 19.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.2794, allocations: 154.9 kB / 456.5 MB, free: 19.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.546e-05/0.2795, allocations: 105.1 kB / 456.6 MB, free: 19.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.2795, allocations: 79.28 kB / 456.7 MB, free: 19.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.086e-05/0.2796, allocations: 153.6 kB / 456.9 MB, free: 19.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-05/0.2796, allocations: 153.8 kB / 457 MB, free: 19.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.303e-05/0.2796, allocations: 158.5 kB / 457.2 MB, free: 19.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002053/0.2798, allocations: 452.3 kB / 457.6 MB, free: 18.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.388e-05/0.2799, allocations: 168.3 kB / 457.8 MB, free: 18.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.003e-05/0.2799, allocations: 80.14 kB / 457.8 MB, free: 18.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.28, allocations: 79.28 kB / 457.9 MB, free: 18.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/0.2801, allocations: 73.08 kB / 458 MB, free: 18.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.954e-06/0.2801, allocations: 0 / 458 MB, free: 18.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001223/0.2802, allocations: 39.02 kB / 458 MB, free: 18.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.2802, allocations: 62.97 kB / 458.1 MB, free: 18.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.118e-05/0.2803, allocations: 115.8 kB / 458.2 MB, free: 17.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.672e-06/0.2803, allocations: 25.7 kB / 458.2 MB, free: 17.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.96e-05/0.2804, allocations: 88.14 kB / 458.3 MB, free: 17.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.341e-05/0.2804, allocations: 3.906 kB / 458.3 MB, free: 17.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.188e-05/0.2804, allocations: 12.81 kB / 458.3 MB, free: 17.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.214e-05/0.2805, allocations: 310.8 kB / 458.6 MB, free: 17.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.267e-06/0.2805, allocations: 7.062 kB / 458.6 MB, free: 17.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-06/0.2805, allocations: 3.188 kB / 458.6 MB, free: 17.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.005e-05/0.2805, allocations: 11.98 kB / 458.7 MB, free: 17.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2805, allocations: 0 / 458.7 MB, free: 17.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.318e-05/0.2806, allocations: 39.55 kB / 458.7 MB, free: 17.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.2806, allocations: 5.781 kB / 458.7 MB, free: 17.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.696e-06/0.2806, allocations: 0 / 458.7 MB, free: 17.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2806, allocations: 0 / 458.7 MB, free: 17.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.062e-05/0.2806, allocations: 0 / 458.7 MB, free: 17.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2806, allocations: 4.094 kB / 458.7 MB, free: 17.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.657e-05/0.2807, allocations: 2.766 kB / 458.7 MB, free: 17.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.2807, allocations: 3.156 kB / 458.7 MB, free: 17.43 MB / 350.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 5.638e-05/0.2807, allocations: 113.8 kB / 458.8 MB, free: 17.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.622e-05/0.2807, allocations: 7.922 kB / 458.8 MB, free: 17.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.2808, allocations: 8.891 kB / 458.8 MB, free: 17.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2808, allocations: 3.938 kB / 458.8 MB, free: 17.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.2808, allocations: 4.016 kB / 458.8 MB, free: 17.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2808, allocations: 0 / 458.8 MB, free: 17.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.124e-05/0.2809, allocations: 155.2 kB / 459 MB, free: 17.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2809, allocations: 3.938 kB / 459 MB, free: 17.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.908e-06/0.2809, allocations: 0.7031 kB / 459 MB, free: 17.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2809, allocations: 0 / 459 MB, free: 17.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.2809, allocations: 7.938 kB / 459 MB, free: 17.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2809, allocations: 3.125 kB / 459 MB, free: 17.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.2809, allocations: 4.594 kB / 459 MB, free: 17.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.474e-05/0.281, allocations: 57.58 kB / 459.1 MB, free: 17.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.492e-05/0.2811, allocations: 89.17 kB / 459.2 MB, free: 16.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.2811, allocations: 5.828 kB / 459.2 MB, free: 16.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.927e-05/0.2811, allocations: 7.828 kB / 459.2 MB, free: 16.92 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.999e-06/0.2811, allocations: 0.6562 kB / 459.2 MB, free: 16.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.2811, allocations: 0 / 459.2 MB, free: 16.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.207e-05/0.2812, allocations: 96.03 kB / 459.3 MB, free: 16.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2812, allocations: 0 / 459.3 MB, free: 16.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003339/0.2815, allocations: 106.8 kB / 459.4 MB, free: 16.8 MB / 350.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.0006643/0.2822, allocations: 388.5 kB / 459.8 MB, free: 16.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.066e-05/0.2823, allocations: 7.156 kB / 459.8 MB, free: 16.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2823, allocations: 0 / 459.8 MB, free: 16.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.971e-06/0.2823, allocations: 3.062 kB / 459.8 MB, free: 16.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.2824, allocations: 27.66 kB / 459.8 MB, free: 16.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002297/0.2827, allocations: 122.8 kB / 459.9 MB, free: 16.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/0.2829, allocations: 0.682 MB / 460.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.685e-05/0.2829, allocations: 13.25 kB / 460.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.849e-05/0.2829, allocations: 13.84 kB / 460.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2829, allocations: 0 / 460.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of Templates: time 0.005346/0.2883, allocations: 2.429 MB / 463 MB, free: 15.52 MB / 350.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 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe 2>&1)