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: "" <> buildModelFMU(KeyWordIO.Examples.ReadRealCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealCSV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadRealCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealCSV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00503/0.00503, allocations: 170.9 kB / 15.11 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.0048/0.0048, allocations: 0.9867 MB / 16.84 MB, free: 5.09 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.236/1.236, 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.0008182/0.0008182, allocations: 98.27 kB / 292.4 MB, free: 9.605 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002939/0.000294, allocations: 8 kB / 353.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2026, allocations: 50.62 MB / 404.2 MB, free: 31.09 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08815/0.2908, allocations: 77.1 MB / 481.3 MB, free: 1.883 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001869/0.291, allocations: 67.97 kB / 481.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0107/0.3017, allocations: 4.063 MB / 485.5 MB, free: 13.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3018, allocations: 4 kB / 485.5 MB, free: 13.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.3018, allocations: 0 / 485.5 MB, free: 13.76 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.0004046/0.3022, allocations: 436.5 kB / 485.9 MB, free: 13.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3022, allocations: 12.03 kB / 485.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.517e-05/0.3023, allocations: 115.2 kB / 486 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.527e-05/0.3023, allocations: 79.19 kB / 486.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.3026, allocations: 270.3 kB / 486.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.262e-05/0.3026, allocations: 154.6 kB / 486.5 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.053e-05/0.3026, allocations: 158.5 kB / 486.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.068e-05/0.3027, allocations: 101 kB / 486.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.3027, allocations: 75.28 kB / 486.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.5e-05/0.3028, allocations: 154.5 kB / 487 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.875e-05/0.3028, allocations: 162.5 kB / 487.1 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.198e-05/0.3029, allocations: 154.5 kB / 487.3 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002506/0.3031, allocations: 461.9 kB / 487.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.003e-05/0.3032, allocations: 174 kB / 487.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.3032, allocations: 79.28 kB / 488 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.3033, allocations: 109.8 kB / 488.1 MB, free: 10.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.903e-06/0.3033, allocations: 0 / 488.1 MB, free: 10.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.836e-05/0.3034, allocations: 37.55 kB / 488.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.3034, allocations: 126.7 kB / 488.3 MB, free: 10.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.3036, allocations: 155.9 kB / 488.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.3036, allocations: 25.7 kB / 488.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/0.3037, allocations: 100.1 kB / 488.5 MB, free: 10.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.804e-06/0.3037, allocations: 3.938 kB / 488.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/0.3037, allocations: 0 / 488.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.407e-05/0.3038, allocations: 318.8 kB / 488.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.396e-06/0.3038, allocations: 0 / 488.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.885e-06/0.3038, allocations: 3.141 kB / 488.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.496e-05/0.3038, allocations: 75.28 kB / 488.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.657e-05/0.3039, allocations: 75.28 kB / 489 MB, free: 9.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.932e-05/0.3039, allocations: 49.53 kB / 489 MB, free: 9.941 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/0.304, allocations: 87.27 kB / 489.1 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-05/0.304, allocations: 75.28 kB / 489.2 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.923e-05/0.304, allocations: 158.5 kB / 489.4 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.444e-05/0.3041, allocations: 79.28 kB / 489.4 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-05/0.3041, allocations: 154.6 kB / 489.6 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.071e-05/0.3042, allocations: 83.22 kB / 489.7 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.3042, allocations: 79.28 kB / 489.7 MB, free: 9.234 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.0001036/0.3043, allocations: 268.4 kB / 490 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/0.3044, allocations: 116.8 kB / 490.1 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.498e-05/0.3045, allocations: 116.8 kB / 490.2 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.811e-05/0.3045, allocations: 176.3 kB / 490.4 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.726e-05/0.3046, allocations: 184.2 kB / 490.6 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.67e-05/0.3046, allocations: 176.3 kB / 490.8 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.3048, allocations: 425.1 kB / 491.2 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.353e-05/0.3049, allocations: 101 kB / 491.3 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.779e-05/0.3049, allocations: 104.9 kB / 491.4 MB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.132e-05/0.305, allocations: 184.2 kB / 491.6 MB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.442e-05/0.305, allocations: 196.2 kB / 491.7 MB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.692e-05/0.3051, allocations: 180.2 kB / 491.9 MB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.394e-05/0.3051, allocations: 180.3 kB / 492.1 MB, free: 6.734 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.3053, allocations: 311.7 kB / 492.4 MB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.106e-05/0.3053, allocations: 194.1 kB / 492.6 MB, free: 6.191 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.234e-05/0.3054, allocations: 184.2 kB / 492.8 MB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.3055, allocations: 104.9 kB / 492.9 MB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.3056, allocations: 184.7 kB / 493.1 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.67e-05/0.3056, allocations: 101 kB / 493.2 MB, free: 5.602 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.729e-05/0.3057, allocations: 133.3 kB / 493.3 MB, free: 5.473 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3057, allocations: 4 kB / 493.3 MB, free: 5.469 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003938/0.3061, allocations: 95.91 kB / 493.4 MB, free: 5.375 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.0007992/0.3069, allocations: 1.056 MB / 494.4 MB, free: 4.348 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 3.124e-05/0.307, allocations: 3.938 kB / 494.4 MB, free: 4.344 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.307, allocations: 0 / 494.4 MB, free: 4.344 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.307, allocations: 0 / 494.4 MB, free: 4.344 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.3073, allocations: 0.5302 MB / 495 MB, free: 3.809 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009124/0.3082, allocations: 0.8393 MB / 495.8 MB, free: 2.914 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.3084, allocations: 0.6926 MB / 496.5 MB, free: 2.195 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.839e-05/0.3084, allocations: 16.17 kB / 496.5 MB, free: 2.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.241e-05/0.3085, allocations: 31.42 kB / 496.5 MB, free: 2.148 MB / 362.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3085, allocations: 0 / 496.5 MB, free: 2.148 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01769/0.3262, allocations: 3.172 MB / 499.7 MB, free: 15.08 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/0.3264, allocations: 189.2 kB / 499.9 MB, free: 14.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.489/1.815, allocations: 0 / 499.9 MB, free: 14.84 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadRealCSV_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadRealCSV.fmu > KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe 2>&1)