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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.005336/0.005336, allocations: 170.2 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.004771/0.004771, allocations: 0.9901 MB / 16.85 MB, free: 5.125 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.201/1.201, allocations: 223.2 MB / 241 MB, free: 10.63 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.0008968/0.0008968, allocations: 115.2 kB / 292.4 MB, free: 9.832 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003222/0.0003221, allocations: 8 kB / 353.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2028, allocations: 50.61 MB / 404.1 MB, free: 31.14 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08683/0.2897, allocations: 77.29 MB / 481.4 MB, free: 1.742 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000177/0.2899, allocations: 67.95 kB / 481.5 MB, free: 1.676 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01443/0.3043, allocations: 5.335 MB / 486.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3044, allocations: 3.938 kB / 486.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.128e-06/0.3044, allocations: 3.938 kB / 486.8 MB, free: 12.34 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.0004644/0.3049, allocations: 431.8 kB / 487.3 MB, free: 11.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.3049, allocations: 12.03 kB / 487.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.609e-05/0.305, allocations: 83.28 kB / 487.4 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.3052, allocations: 270.2 kB / 487.6 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.005e-05/0.3053, allocations: 154.5 kB / 487.8 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.434e-05/0.3053, allocations: 154.5 kB / 487.9 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.521e-05/0.3054, allocations: 108.9 kB / 488 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/0.3054, allocations: 75.28 kB / 488.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.773e-05/0.3055, allocations: 158.6 kB / 488.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.64e-05/0.3055, allocations: 150.6 kB / 488.4 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.771e-05/0.3056, allocations: 154.6 kB / 488.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002745/0.3059, allocations: 461.9 kB / 489 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.706e-05/0.3059, allocations: 177.1 kB / 489.2 MB, free: 9.836 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.306, allocations: 75.28 kB / 489.3 MB, free: 9.762 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001107/0.3061, allocations: 67.27 kB / 489.3 MB, free: 9.684 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 2.294e-06/0.3061, allocations: 4 kB / 489.3 MB, free: 9.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001239/0.3062, allocations: 41.69 kB / 489.4 MB, free: 9.633 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.3063, allocations: 51.41 kB / 489.4 MB, free: 9.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.3064, allocations: 132.9 kB / 489.5 MB, free: 9.434 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.3064, allocations: 25.7 kB / 489.6 MB, free: 9.402 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.3065, allocations: 96.08 kB / 489.7 MB, free: 9.305 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.326e-05/0.3065, allocations: 3.906 kB / 489.7 MB, free: 9.301 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-06/0.3065, allocations: 0 / 489.7 MB, free: 9.301 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.3066, allocations: 315 kB / 490 MB, free: 8.984 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.135e-06/0.3066, allocations: 4 kB / 490 MB, free: 8.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.109e-06/0.3066, allocations: 3.984 kB / 490 MB, free: 8.977 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.17e-05/0.3066, allocations: 0 / 490 MB, free: 8.977 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3066, allocations: 0 / 490 MB, free: 8.977 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.907e-05/0.3067, allocations: 37.7 kB / 490 MB, free: 8.934 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3067, allocations: 5.406 kB / 490 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3067, allocations: 0 / 490 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3067, allocations: 3.953 kB / 490 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.465e-05/0.3068, allocations: 4.094 kB / 490 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.3068, allocations: 4 kB / 490 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.131e-05/0.3068, allocations: 0 / 490 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.3068, allocations: 0 / 490 MB, free: 8.918 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.931e-05/0.3069, allocations: 121.8 kB / 490.2 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.517e-05/0.3069, allocations: 7.906 kB / 490.2 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.3069, allocations: 15.52 kB / 490.2 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.307, allocations: 3.953 kB / 490.2 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.307, allocations: 3.938 kB / 490.2 MB, free: 8.758 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.307, allocations: 4 kB / 490.2 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.3071, allocations: 161.7 kB / 490.3 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.3071, allocations: 0 / 490.3 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.096e-06/0.3071, allocations: 0 / 490.3 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.3071, allocations: 0 / 490.3 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-06/0.3071, allocations: 0 / 490.3 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3071, allocations: 8 kB / 490.4 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3071, allocations: 3.953 kB / 490.4 MB, free: 8.535 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.799e-05/0.3072, allocations: 65.12 kB / 490.4 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.984e-05/0.3073, allocations: 89 kB / 490.5 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.3073, allocations: 0 / 490.5 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.689e-05/0.3073, allocations: 7.938 kB / 490.5 MB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.113e-05/0.3073, allocations: 3.938 kB / 490.5 MB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.3073, allocations: 3.953 kB / 490.5 MB, free: 8.332 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.257e-05/0.3074, allocations: 115.2 kB / 490.6 MB, free: 8.219 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3074, allocations: 0 / 490.6 MB, free: 8.219 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003745/0.3078, allocations: 127.9 kB / 490.8 MB, free: 8.094 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: 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 (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.0007121/0.3085, allocations: 415.6 kB / 491.2 MB, free: 7.758 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.707e-05/0.3086, allocations: 4 kB / 491.2 MB, free: 7.754 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3086, allocations: 4 kB / 491.2 MB, free: 7.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-06/0.3086, allocations: 0 / 491.2 MB, free: 7.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.533e-05/0.3087, allocations: 10.09 kB / 491.2 MB, free: 7.742 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002054/0.3089, allocations: 134.7 kB / 491.3 MB, free: 7.582 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.3092, allocations: 0.6887 MB / 492 MB, free: 6.867 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.574e-05/0.3092, allocations: 15.98 kB / 492 MB, free: 6.852 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.3092, allocations: 19.42 kB / 492 MB, free: 6.832 MB / 362.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3092, allocations: 0 / 492 MB, free: 6.832 MB / 362.7 MB Notification: Performance of Templates: time 0.004767/0.314, allocations: 2.557 MB / 494.6 MB, free: 4.273 MB / 362.7 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)