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.000947/0.000947, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.004872/0.004872, allocations: 0.9744 MB / 14.23 MB, free: 1.062 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.216/1.216, allocations: 221.4 MB / 236.3 MB, free: 13.3 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.0008557/0.0008557, allocations: 110.9 kB / 287.5 MB, free: 11.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.889e-05/2.895e-05, allocations: 4 kB / 346 MB, free: 1.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2304, allocations: 50.62 MB / 396.6 MB, free: 33.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09046/0.321, allocations: 77.24 MB / 473.9 MB, free: 3.859 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000203/0.3212, allocations: 67.91 kB / 473.9 MB, free: 3.793 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01406/0.3353, allocations: 5.13 MB / 479.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3353, allocations: 0 / 479.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.3353, allocations: 3.938 kB / 479.1 MB, free: 14.66 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.00038/0.3357, allocations: 414.3 kB / 479.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.3358, allocations: 8.031 kB / 479.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.096e-05/0.3358, allocations: 79.28 kB / 479.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.3361, allocations: 274.2 kB / 479.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.458e-05/0.3361, allocations: 154.6 kB / 480 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.516e-05/0.3362, allocations: 154.5 kB / 480.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.989e-05/0.3363, allocations: 101 kB / 480.2 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.3363, allocations: 79.22 kB / 480.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.127e-05/0.3364, allocations: 154.5 kB / 480.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.208e-05/0.3365, allocations: 158.6 kB / 480.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.006e-05/0.3365, allocations: 158.6 kB / 480.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/0.3368, allocations: 461.9 kB / 481.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.233e-05/0.3369, allocations: 165.1 kB / 481.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.161e-05/0.337, allocations: 88.08 kB / 481.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.337, allocations: 79.28 kB / 481.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001061/0.3371, allocations: 67.33 kB / 481.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 3.086e-06/0.3371, allocations: 4 kB / 481.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001059/0.3373, allocations: 37.64 kB / 481.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.3373, allocations: 51.41 kB / 481.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.3374, allocations: 135.5 kB / 481.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.3375, allocations: 25.7 kB / 481.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/0.3375, allocations: 88.14 kB / 482 MB, free: 11.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.3375, allocations: 3.906 kB / 482 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.3375, allocations: 0 / 482 MB, free: 11.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.3377, allocations: 318.9 kB / 482.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-06/0.3377, allocations: 4 kB / 482.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.797e-06/0.3377, allocations: 0 / 482.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.089e-05/0.3377, allocations: 0 / 482.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3377, allocations: 3.984 kB / 482.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.918e-05/0.3378, allocations: 37.64 kB / 482.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.3378, allocations: 7.953 kB / 482.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3378, allocations: 0 / 482.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.3378, allocations: 3.938 kB / 482.3 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.479e-05/0.3378, allocations: 4.094 kB / 482.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3378, allocations: 4 kB / 482.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.294e-05/0.3379, allocations: 4 kB / 482.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.3379, allocations: 0 / 482.3 MB, free: 11.18 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 () * 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.435e-05/0.338, allocations: 113 kB / 482.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.338, allocations: 7.906 kB / 482.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.535e-05/0.338, allocations: 11.61 kB / 482.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.338, allocations: 0 / 482.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.338, allocations: 0 / 482.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.338, allocations: 4 kB / 482.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.3382, allocations: 161.7 kB / 482.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3382, allocations: 3.938 kB / 482.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.679e-06/0.3382, allocations: 3.984 kB / 482.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3382, allocations: 0 / 482.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-06/0.3382, allocations: 0 / 482.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.3382, allocations: 3.953 kB / 482.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3382, allocations: 4 kB / 482.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.227e-05/0.3383, allocations: 65.08 kB / 482.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/0.3384, allocations: 89 kB / 482.8 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.314e-05/0.3384, allocations: 0 / 482.8 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.225e-05/0.3384, allocations: 11.97 kB / 482.8 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.869e-06/0.3385, allocations: 3.953 kB / 482.8 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.3385, allocations: 0 / 482.8 MB, free: 10.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.574e-05/0.3385, allocations: 115.3 kB / 482.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3386, allocations: 0 / 482.9 MB, free: 10.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003836/0.3389, allocations: 127.9 kB / 483 MB, free: 10.38 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 () * 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.0006944/0.3396, allocations: 417.9 kB / 483.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.977e-05/0.3397, allocations: 4 kB / 483.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3397, allocations: 0 / 483.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.382e-06/0.3397, allocations: 4 kB / 483.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.743e-05/0.3398, allocations: 10.11 kB / 483.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001651/0.34, allocations: 70.7 kB / 483.5 MB, free: 9.934 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.3402, allocations: 0.685 MB / 484.2 MB, free: 9.223 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.704e-05/0.3403, allocations: 27.98 kB / 484.3 MB, free: 9.195 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.3403, allocations: 15.44 kB / 484.3 MB, free: 9.18 MB / 362.7 MB Notification: Performance of SimCode: time 2e-07/0.3403, allocations: 0 / 484.3 MB, free: 9.18 MB / 362.7 MB Notification: Performance of Templates: time 0.004968/0.3453, allocations: 2.586 MB / 486.9 MB, free: 6.605 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)