Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.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.ReadStringCSVUnquoted,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadStringCSVUnquoted,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted",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.004765/0.004765, allocations: 171 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.004759/0.004759, allocations: 0.9917 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.236/1.236, allocations: 223.2 MB / 241 MB, free: 8.934 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.0008407/0.0008406, allocations: 106.3 kB / 292.4 MB, free: 9.602 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002831/0.0002831, allocations: 8 kB / 353.6 MB, free: 12.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2031, allocations: 50.62 MB / 404.2 MB, free: 31.08 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08071/0.2839, allocations: 77.29 MB / 481.5 MB, free: 1.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001757/0.2841, allocations: 67.97 kB / 481.6 MB, free: 1.613 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01241/0.2965, allocations: 4.731 MB / 486.3 MB, free: 12.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2966, allocations: 0 / 486.3 MB, free: 12.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.2966, allocations: 0 / 486.3 MB, free: 12.88 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.0003973/0.297, allocations: 464.8 kB / 486.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.297, allocations: 12.03 kB / 486.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.744e-05/0.2971, allocations: 105.8 kB / 486.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.285e-05/0.2971, allocations: 83.28 kB / 487 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.2973, allocations: 258.2 kB / 487.2 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.023e-05/0.2974, allocations: 154.6 kB / 487.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.2974, allocations: 150.6 kB / 487.5 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.14e-05/0.2975, allocations: 113.7 kB / 487.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.2975, allocations: 75.28 kB / 487.7 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.409e-05/0.2976, allocations: 154.6 kB / 487.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.929e-05/0.2976, allocations: 150.6 kB / 488 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.844e-05/0.2977, allocations: 154.5 kB / 488.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002354/0.2979, allocations: 457.9 kB / 488.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.187e-05/0.298, allocations: 181.1 kB / 488.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.298, allocations: 75.28 kB / 488.8 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.811e-05/0.2981, allocations: 77 kB / 488.9 MB, free: 10.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 2.024e-06/0.2981, allocations: 4 kB / 488.9 MB, free: 10.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001416/0.2983, allocations: 63.41 kB / 489 MB, free: 10 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.2983, allocations: 132.5 kB / 489.1 MB, free: 9.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.217e-05/0.2984, allocations: 120.9 kB / 489.2 MB, free: 9.715 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.2984, allocations: 25.7 kB / 489.3 MB, free: 9.684 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.385e-05/0.2985, allocations: 96.12 kB / 489.4 MB, free: 9.586 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.23e-05/0.2985, allocations: 3.906 kB / 489.4 MB, free: 9.582 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.723e-06/0.2985, allocations: 0 / 489.4 MB, free: 9.582 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.733e-05/0.2986, allocations: 315 kB / 489.7 MB, free: 9.266 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.207e-06/0.2986, allocations: 4 kB / 489.7 MB, free: 9.262 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.867e-06/0.2986, allocations: 3.938 kB / 489.7 MB, free: 9.258 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.098e-05/0.2986, allocations: 25.7 kB / 489.7 MB, free: 9.227 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2986, allocations: 0 / 489.7 MB, free: 9.227 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.459e-05/0.2987, allocations: 67.39 kB / 489.8 MB, free: 9.148 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.2987, allocations: 39.05 kB / 489.8 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.2988, allocations: 0 / 489.8 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.2988, allocations: 4.047 kB / 489.8 MB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.2988, allocations: 4 kB / 489.8 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.2988, allocations: 0 / 489.8 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.571e-05/0.2988, allocations: 4 kB / 489.8 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.2988, allocations: 0 / 489.8 MB, free: 9.094 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.389e-05/0.2989, allocations: 143.5 kB / 490 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.564e-05/0.2989, allocations: 7.906 kB / 490 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.409e-05/0.299, allocations: 3.531 kB / 490 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.299, allocations: 3.953 kB / 490 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.299, allocations: 0 / 490 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.299, allocations: 4 kB / 490 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.521e-05/0.2991, allocations: 161.7 kB / 490.1 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2991, allocations: 0 / 490.1 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-07/0.2991, allocations: 3.938 kB / 490.1 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2991, allocations: 4 kB / 490.1 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.2991, allocations: 4 kB / 490.1 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/0.2991, allocations: 4 kB / 490.1 MB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2991, allocations: 3.953 kB / 490.1 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.673e-05/0.2992, allocations: 94.83 kB / 490.2 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.2993, allocations: 85.02 kB / 490.3 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.2993, allocations: 0 / 490.3 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.471e-05/0.2993, allocations: 7.984 kB / 490.3 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.2994, allocations: 0 / 490.3 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.2994, allocations: 11.89 kB / 490.3 MB, free: 8.453 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.997e-05/0.2994, allocations: 99.27 kB / 490.4 MB, free: 8.355 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2994, allocations: 0 / 490.4 MB, free: 8.355 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003665/0.2998, allocations: 131.8 kB / 490.6 MB, free: 8.227 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: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0009133/0.3007, allocations: 0.9374 MB / 491.5 MB, free: 7.336 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.506e-05/0.3008, allocations: 63.39 kB / 491.6 MB, free: 7.262 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3008, allocations: 0 / 491.6 MB, free: 7.262 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.414e-05/0.3009, allocations: 55.41 kB / 491.6 MB, free: 7.195 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.535e-05/0.301, allocations: 8.125 kB / 491.6 MB, free: 7.188 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006293/0.3016, allocations: 0.4924 MB / 492.1 MB, free: 6.645 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.3018, allocations: 0.6809 MB / 492.8 MB, free: 5.938 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.211e-05/0.3018, allocations: 11.98 kB / 492.8 MB, free: 5.926 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.425e-05/0.3019, allocations: 27.48 kB / 492.8 MB, free: 5.898 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3019, allocations: 0 / 492.8 MB, free: 5.898 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01566/0.3176, allocations: 3.354 MB / 496.2 MB, free: 2.645 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/0.3178, allocations: 196.2 kB / 496.4 MB, free: 2.41 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.46/1.778, allocations: 0 / 496.4 MB, free: 2.41 MB / 362.7 MB (rm -f KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted.fmu > KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe 2>&1)