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.0008679/0.0008719, allocations: 172.3 kB / 16.11 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.004941/0.004941, allocations: 0.9991 MB / 17.87 MB, free: 3.969 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.303/1.303, allocations: 223.3 MB / 242.1 MB, free: 8.727 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.0009029/0.0009029, allocations: 101.5 kB / 293.5 MB, free: 9.512 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003381/0.0003383, allocations: 12 kB / 354.8 MB, free: 12.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2025, allocations: 50.62 MB / 405.4 MB, free: 31 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08757/0.2902, allocations: 77.32 MB / 482.7 MB, free: 1.574 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.2905, allocations: 67.97 kB / 482.8 MB, free: 1.508 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01497/0.3054, allocations: 5.286 MB / 488.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3055, allocations: 0 / 488.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.3055, allocations: 4 kB / 488.1 MB, free: 12.22 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.0004515/0.3059, allocations: 439.2 kB / 488.5 MB, free: 11.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.306, allocations: 8.031 kB / 488.5 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.121e-05/0.3061, allocations: 80.22 kB / 488.6 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.3063, allocations: 281 kB / 488.9 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.762e-05/0.3064, allocations: 154.9 kB / 489 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.363e-05/0.3064, allocations: 152.1 kB / 489.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.644e-05/0.3065, allocations: 105.5 kB / 489.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.3065, allocations: 75.47 kB / 489.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.339e-05/0.3066, allocations: 158.5 kB / 489.5 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.496e-05/0.3066, allocations: 154.6 kB / 489.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.323e-05/0.3067, allocations: 158.5 kB / 489.8 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.307, allocations: 465.9 kB / 490.3 MB, free: 9.891 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.912e-05/0.3071, allocations: 169.1 kB / 490.4 MB, free: 9.715 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.093e-05/0.3071, allocations: 80.14 kB / 490.5 MB, free: 9.633 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.3072, allocations: 75.28 kB / 490.6 MB, free: 9.559 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001078/0.3073, allocations: 79.22 kB / 490.7 MB, free: 9.469 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 2.264e-06/0.3073, allocations: 0 / 490.7 MB, free: 9.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.000127/0.3074, allocations: 37.64 kB / 490.7 MB, free: 9.426 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.3075, allocations: 51.41 kB / 490.7 MB, free: 9.363 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.3076, allocations: 137.8 kB / 490.9 MB, free: 9.219 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.3076, allocations: 37.75 kB / 490.9 MB, free: 9.176 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.313e-05/0.3077, allocations: 88.14 kB / 491 MB, free: 9.086 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.281e-05/0.3077, allocations: 4 kB / 491 MB, free: 9.082 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-06/0.3077, allocations: 0 / 491 MB, free: 9.082 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.3078, allocations: 314.8 kB / 491.3 MB, free: 8.766 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.803e-06/0.3078, allocations: 3.938 kB / 491.3 MB, free: 8.762 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.219e-06/0.3078, allocations: 0 / 491.3 MB, free: 8.762 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.581e-05/0.3079, allocations: 16.84 kB / 491.3 MB, free: 8.742 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3079, allocations: 4.062 kB / 491.3 MB, free: 8.738 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.606e-05/0.3079, allocations: 33.61 kB / 491.4 MB, free: 8.699 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3079, allocations: 11.94 kB / 491.4 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.308, allocations: 0 / 491.4 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.308, allocations: 0 / 491.4 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.731e-05/0.308, allocations: 3.938 kB / 491.4 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.308, allocations: 0 / 491.4 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.399e-05/0.308, allocations: 4 kB / 491.4 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.308, allocations: 0 / 491.4 MB, free: 8.68 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 8.807e-05/0.3081, allocations: 121.9 kB / 491.5 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.645e-05/0.3082, allocations: 7.938 kB / 491.5 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.038e-05/0.3082, allocations: 11.52 kB / 491.5 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3082, allocations: 4 kB / 491.5 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3082, allocations: 0 / 491.5 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3082, allocations: 3.984 kB / 491.5 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.3083, allocations: 157.7 kB / 491.7 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3084, allocations: 4 kB / 491.7 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-06/0.3084, allocations: 0 / 491.7 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3084, allocations: 3.938 kB / 491.7 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.3084, allocations: 4 kB / 491.7 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3084, allocations: 0 / 491.7 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3084, allocations: 0 / 491.7 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.146e-05/0.3085, allocations: 72.97 kB / 491.8 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.3085, allocations: 81.11 kB / 491.8 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.3086, allocations: 15.86 kB / 491.9 MB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.552e-05/0.3086, allocations: 4 kB / 491.9 MB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/0.3086, allocations: 4.031 kB / 491.9 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-06/0.3086, allocations: 0 / 491.9 MB, free: 8.094 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.816e-05/0.3087, allocations: 111.2 kB / 492 MB, free: 7.984 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.442e-06/0.3087, allocations: 0 / 492 MB, free: 7.984 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004136/0.3091, allocations: 139.8 kB / 492.1 MB, free: 7.848 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.0007407/0.3099, allocations: 414.3 kB / 492.5 MB, free: 7.512 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.171e-05/0.31, allocations: 4 kB / 492.5 MB, free: 7.508 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.31, allocations: 0 / 492.5 MB, free: 7.508 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.744e-06/0.31, allocations: 12 kB / 492.5 MB, free: 7.496 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001444/0.3101, allocations: 13.48 kB / 492.6 MB, free: 7.488 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002132/0.3103, allocations: 118.6 kB / 492.7 MB, free: 7.344 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.3106, allocations: 0.6809 MB / 493.3 MB, free: 6.637 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.14e-05/0.3106, allocations: 15.98 kB / 493.4 MB, free: 6.621 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.216e-05/0.3107, allocations: 23.5 kB / 493.4 MB, free: 6.598 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3107, allocations: 0 / 493.4 MB, free: 6.598 MB / 362.7 MB Notification: Performance of Templates: time 0.005441/0.3161, allocations: 2.582 MB / 496 MB, free: 4.016 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)