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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.005736/0.005736, allocations: 172.5 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.004757/0.004757, allocations: 0.993 MB / 16.84 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.225/1.225, allocations: 223.2 MB / 241 MB, free: 8.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00081/0.0008099, allocations: 102.6 kB / 292.4 MB, free: 9.605 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002849/0.0002849, allocations: 8 kB / 353.5 MB, free: 12.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1978, allocations: 50.61 MB / 404.1 MB, free: 31.11 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08618/0.284, allocations: 77.1 MB / 481.2 MB, free: 1.902 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001915/0.2843, allocations: 67.97 kB / 481.3 MB, free: 1.836 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01166/0.296, allocations: 4.372 MB / 485.7 MB, free: 13.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.296, allocations: 0 / 485.7 MB, free: 13.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.296, allocations: 4.219 kB / 485.7 MB, free: 13.47 MB / 362.7 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.0003975/0.2964, allocations: 426.9 kB / 486.1 MB, free: 13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.2964, allocations: 8.031 kB / 486.1 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.2965, allocations: 87.17 kB / 486.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.2967, allocations: 270.2 kB / 486.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.986e-05/0.2968, allocations: 158.5 kB / 486.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.2968, allocations: 154.5 kB / 486.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.423e-05/0.2969, allocations: 104.9 kB / 486.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/0.2969, allocations: 79.28 kB / 486.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.394e-05/0.297, allocations: 154.5 kB / 487.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.834e-05/0.2971, allocations: 154.6 kB / 487.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.792e-05/0.2971, allocations: 154.6 kB / 487.4 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002957/0.2974, allocations: 469.9 kB / 487.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.127e-05/0.2975, allocations: 169.9 kB / 488 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.2975, allocations: 75.28 kB / 488.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.2976, allocations: 109.8 kB / 488.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/0.2976, allocations: 0 / 488.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.32e-05/0.2976, allocations: 29.7 kB / 488.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.2977, allocations: 126.7 kB / 488.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.2979, allocations: 159.7 kB / 488.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.2979, allocations: 25.7 kB / 488.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.288e-05/0.2979, allocations: 104 kB / 488.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.413e-06/0.298, allocations: 4 kB / 488.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1e-07/0.298, allocations: 0 / 488.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.2981, allocations: 318.8 kB / 488.9 MB, free: 9.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.216e-06/0.2981, allocations: 0 / 488.9 MB, free: 9.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.938e-06/0.2981, allocations: 7.125 kB / 489 MB, free: 9.977 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.128e-05/0.2981, allocations: 75.28 kB / 489 MB, free: 9.902 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.03e-05/0.2981, allocations: 75.28 kB / 489.1 MB, free: 9.828 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.046e-05/0.2982, allocations: 41.62 kB / 489.1 MB, free: 9.781 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/0.2982, allocations: 83.28 kB / 489.2 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.521e-05/0.2983, allocations: 79.22 kB / 489.3 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.813e-05/0.2983, allocations: 158.6 kB / 489.5 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.272e-05/0.2984, allocations: 75.28 kB / 489.5 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-05/0.2984, allocations: 154.5 kB / 489.7 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.793e-05/0.2985, allocations: 79.28 kB / 489.8 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.2985, allocations: 83.22 kB / 489.8 MB, free: 9.078 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.2987, allocations: 272.3 kB / 490.1 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.378e-05/0.2987, allocations: 108.9 kB / 490.2 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.222e-05/0.2988, allocations: 116.8 kB / 490.3 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.137e-05/0.2989, allocations: 184.1 kB / 490.5 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-05/0.2989, allocations: 180.3 kB / 490.7 MB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.334e-05/0.299, allocations: 188.1 kB / 490.9 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.2992, allocations: 421.2 kB / 491.3 MB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.982e-05/0.2993, allocations: 108.9 kB / 491.4 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.784e-05/0.2993, allocations: 109 kB / 491.5 MB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.798e-05/0.2993, allocations: 176.3 kB / 491.7 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.984e-05/0.2994, allocations: 188.2 kB / 491.8 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.033e-05/0.2995, allocations: 180.3 kB / 492 MB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.948e-05/0.2995, allocations: 184.2 kB / 492.2 MB, free: 6.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.2997, allocations: 303.7 kB / 492.5 MB, free: 6.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.791e-05/0.2998, allocations: 202 kB / 492.7 MB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.318e-05/0.2999, allocations: 180.3 kB / 492.9 MB, free: 5.844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.388e-05/0.3, allocations: 108.9 kB / 493 MB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.441e-05/0.3, allocations: 176.7 kB / 493.1 MB, free: 5.551 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.3001, allocations: 105 kB / 493.2 MB, free: 5.441 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001127/0.3002, allocations: 133.3 kB / 493.4 MB, free: 5.312 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3002, allocations: 0 / 493.4 MB, free: 5.312 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004031/0.3006, allocations: 99.86 kB / 493.5 MB, free: 5.215 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006736/0.3013, allocations: 433.8 kB / 493.9 MB, free: 4.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.945e-05/0.3013, allocations: 4 kB / 493.9 MB, free: 4.836 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3013, allocations: 0 / 493.9 MB, free: 4.836 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.804e-06/0.3014, allocations: 0 / 493.9 MB, free: 4.836 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.3017, allocations: 0.5263 MB / 494.4 MB, free: 4.305 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003306/0.302, allocations: 249.8 kB / 494.7 MB, free: 4.027 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.3022, allocations: 0.6926 MB / 495.4 MB, free: 3.309 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.433e-05/0.3023, allocations: 8 kB / 495.4 MB, free: 3.301 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.68e-05/0.3023, allocations: 23.42 kB / 495.4 MB, free: 3.277 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3023, allocations: 0 / 495.4 MB, free: 3.277 MB / 362.7 MB Notification: Performance of Templates: time 0.004316/0.3066, allocations: 2.04 MB / 497.4 MB, free: 1.238 MB / 362.7 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 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe 2>&1)