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.001371/0.001372, allocations: 116.5 kB / 16.37 MB, free: 6.016 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.001151/0.001152, allocations: 192.6 kB / 17.3 MB, free: 5.613 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.547/1.547, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006259/0.006259, allocations: 1.001 MB / 292.2 MB, free: 13.82 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 59.91 kB / 353.5 MB, free: 444 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.354, allocations: 49.63 MB / 403.1 MB, free: 35.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.002124/0.3562, allocations: 0.5023 MB / 403.6 MB, free: 35.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.3582, allocations: 1.345 MB / 405 MB, free: 33.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.734e-05/0.3582, allocations: 0 / 405 MB, free: 33.77 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.001471/0.3597, allocations: 307 kB / 405.3 MB, free: 33.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.403e-05/0.3598, allocations: 27.91 kB / 405.3 MB, free: 33.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.045e-05/0.3598, allocations: 8 kB / 405.3 MB, free: 33.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.888e-05/0.3599, allocations: 39.48 kB / 405.4 MB, free: 33.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.152e-05/0.36, allocations: 0 / 405.4 MB, free: 33.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.924e-05/0.36, allocations: 15.94 kB / 405.4 MB, free: 33.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.423e-05/0.3601, allocations: 19.97 kB / 405.4 MB, free: 33.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.3601, allocations: 0 / 405.4 MB, free: 33.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000397/0.3605, allocations: 339.5 kB / 405.7 MB, free: 33.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.714e-05/0.3606, allocations: 19.98 kB / 405.7 MB, free: 33.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.81e-05/0.3606, allocations: 11.92 kB / 405.8 MB, free: 33.01 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003664/0.361, allocations: 279.5 kB / 406 MB, free: 32.74 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.361, allocations: 0 / 406 MB, free: 32.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.361, allocations: 2.375 kB / 406 MB, free: 32.74 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.3611, allocations: 0 / 406 MB, free: 32.74 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.0004414/0.3615, allocations: 403.4 kB / 406.4 MB, free: 32.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.3616, allocations: 11.97 kB / 406.4 MB, free: 32.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.253e-05/0.3616, allocations: 88.12 kB / 406.5 MB, free: 32.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.3618, allocations: 249.5 kB / 406.8 MB, free: 31.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.437e-05/0.3619, allocations: 150.9 kB / 406.9 MB, free: 31.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.3619, allocations: 154.9 kB / 407.1 MB, free: 31.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.194e-05/0.362, allocations: 109.1 kB / 407.2 MB, free: 31.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.362, allocations: 79.28 kB / 407.3 MB, free: 31.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.362, allocations: 158.5 kB / 407.4 MB, free: 31.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/0.3621, allocations: 150.6 kB / 407.6 MB, free: 31.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.877e-05/0.3621, allocations: 150.6 kB / 407.7 MB, free: 30.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002482/0.3624, allocations: 453.9 kB / 408.1 MB, free: 30.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.771e-05/0.3625, allocations: 177.1 kB / 408.3 MB, free: 30.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.397e-05/0.3625, allocations: 80.14 kB / 408.4 MB, free: 30.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.3625, allocations: 79.27 kB / 408.5 MB, free: 30.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.3627, allocations: 79.23 kB / 408.6 MB, free: 30.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=1): time 2.515e-06/0.3627, allocations: 0 / 408.6 MB, free: 30.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001647/0.3628, allocations: 37.69 kB / 408.6 MB, free: 30 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.3629, allocations: 55.41 kB / 408.6 MB, free: 29.94 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.363, allocations: 109.8 kB / 408.8 MB, free: 29.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.363, allocations: 29.7 kB / 408.8 MB, free: 29.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.554e-05/0.363, allocations: 84.14 kB / 408.9 MB, free: 29.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.851e-05/0.3631, allocations: 3.906 kB / 408.9 MB, free: 29.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/0.3631, allocations: 13.84 kB / 408.9 MB, free: 29.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.881e-05/0.3632, allocations: 318.8 kB / 409.2 MB, free: 29.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.013e-05/0.3632, allocations: 0 / 409.2 MB, free: 29.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.719e-06/0.3632, allocations: 0 / 409.2 MB, free: 29.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.385e-05/0.3632, allocations: 16.84 kB / 409.2 MB, free: 29.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3632, allocations: 0 / 409.2 MB, free: 29.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.721e-05/0.3633, allocations: 33.64 kB / 409.2 MB, free: 29.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.3633, allocations: 8 kB / 409.2 MB, free: 29.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3633, allocations: 4.094 kB / 409.3 MB, free: 29.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.3633, allocations: 0 / 409.3 MB, free: 29.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.516e-05/0.3634, allocations: 3.938 kB / 409.3 MB, free: 29.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.3634, allocations: 0 / 409.3 MB, free: 29.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.624e-05/0.3634, allocations: 3.938 kB / 409.3 MB, free: 29.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.3634, allocations: 0 / 409.3 MB, free: 29.28 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 7.317e-05/0.3635, allocations: 117.8 kB / 409.4 MB, free: 29.15 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.3635, allocations: 7.938 kB / 409.4 MB, free: 29.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/0.3635, allocations: 7.531 kB / 409.4 MB, free: 29.13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.3635, allocations: 4 kB / 409.4 MB, free: 29.13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3636, allocations: 4 kB / 409.4 MB, free: 29.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.3636, allocations: 3.984 kB / 409.4 MB, free: 29.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.654e-05/0.3637, allocations: 153.6 kB / 409.6 MB, free: 28.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3637, allocations: 3.938 kB / 409.6 MB, free: 28.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.745e-06/0.3637, allocations: 0 / 409.6 MB, free: 28.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.3637, allocations: 0 / 409.6 MB, free: 28.92 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.443e-06/0.3637, allocations: 4 kB / 409.6 MB, free: 28.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.3637, allocations: 0 / 409.6 MB, free: 28.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3637, allocations: 0 / 409.6 MB, free: 28.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.479e-05/0.3638, allocations: 68.97 kB / 409.6 MB, free: 28.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.295e-05/0.3638, allocations: 85.3 kB / 409.7 MB, free: 28.73 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/0.3638, allocations: 7.984 kB / 409.7 MB, free: 28.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.84e-05/0.3639, allocations: 4 kB / 409.7 MB, free: 28.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.849e-05/0.3639, allocations: 4 kB / 409.7 MB, free: 28.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.3639, allocations: 0 / 409.7 MB, free: 28.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.676e-05/0.364, allocations: 91.31 kB / 409.8 MB, free: 28.62 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.364, allocations: 4.031 kB / 409.8 MB, free: 28.62 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003516/0.3643, allocations: 107.9 kB / 409.9 MB, free: 28.51 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.0007082/0.365, allocations: 393.3 kB / 410.3 MB, free: 28.19 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.883e-05/0.3651, allocations: 8 kB / 410.3 MB, free: 28.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3651, allocations: 3.938 kB / 410.3 MB, free: 28.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.392e-06/0.3651, allocations: 4 kB / 410.3 MB, free: 28.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.3653, allocations: 11.94 kB / 410.3 MB, free: 28.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002476/0.3656, allocations: 132.9 kB / 410.5 MB, free: 28.01 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.3657, allocations: 0.6807 MB / 411.1 MB, free: 27.3 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.923e-05/0.3658, allocations: 15.92 kB / 411.2 MB, free: 27.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.881e-05/0.3658, allocations: 11.44 kB / 411.2 MB, free: 27.27 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3658, allocations: 0 / 411.2 MB, free: 27.27 MB / 302.1 MB Notification: Performance of Templates: time 0.005112/0.3709, allocations: 2.428 MB / 413.6 MB, free: 24.84 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 cvode -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe 2>&1)