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: "" <> buildModelFMU(KeyWordIO.Examples.ReadStringCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadStringCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSV",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.005518/0.005518, allocations: 171 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.004893/0.004893, allocations: 0.9848 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.23/1.23, allocations: 223.2 MB / 241 MB, free: 10.66 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.0008204/0.0008203, allocations: 100.1 kB / 292.4 MB, free: 9.832 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000311/0.0003111, allocations: 8 kB / 353.6 MB, free: 12.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.209, allocations: 50.61 MB / 404.2 MB, free: 31.13 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08528/0.2943, allocations: 77.3 MB / 481.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001858/0.2945, allocations: 63.97 kB / 481.6 MB, free: 1.664 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01365/0.3082, allocations: 5.063 MB / 486.6 MB, free: 12.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3082, allocations: 0 / 486.6 MB, free: 12.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.3082, allocations: 4 kB / 486.6 MB, free: 12.6 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.0004675/0.3087, allocations: 439 kB / 487.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.3088, allocations: 12.03 kB / 487.1 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.23e-05/0.3088, allocations: 109.8 kB / 487.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.186e-05/0.3089, allocations: 83.28 kB / 487.3 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.3091, allocations: 270.2 kB / 487.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.335e-05/0.3092, allocations: 154.5 kB / 487.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.3092, allocations: 150.6 kB / 487.8 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.954e-05/0.3093, allocations: 116.9 kB / 488 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.3093, allocations: 75.28 kB / 488 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.575e-05/0.3093, allocations: 154.6 kB / 488.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-05/0.3094, allocations: 150.6 kB / 488.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.499e-05/0.3094, allocations: 154.6 kB / 488.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002426/0.3097, allocations: 461.9 kB / 488.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.08e-05/0.3098, allocations: 177.1 kB / 489.1 MB, free: 9.973 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.3098, allocations: 79.27 kB / 489.2 MB, free: 9.895 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.605e-05/0.3099, allocations: 59.39 kB / 489.2 MB, free: 9.824 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 3.066e-06/0.3099, allocations: 0 / 489.2 MB, free: 9.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001114/0.31, allocations: 49.58 kB / 489.3 MB, free: 9.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.3101, allocations: 51.41 kB / 489.3 MB, free: 9.707 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.3102, allocations: 129 kB / 489.5 MB, free: 9.574 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.3102, allocations: 25.7 kB / 489.5 MB, free: 9.543 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.304e-05/0.3102, allocations: 88.27 kB / 489.6 MB, free: 9.453 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.275e-05/0.3102, allocations: 7.906 kB / 489.6 MB, free: 9.445 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.3102, allocations: 7.938 kB / 489.6 MB, free: 9.438 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.948e-05/0.3103, allocations: 314.8 kB / 489.9 MB, free: 9.121 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.755e-06/0.3103, allocations: 4 kB / 489.9 MB, free: 9.117 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.627e-06/0.3104, allocations: 0 / 489.9 MB, free: 9.117 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.127e-05/0.3104, allocations: 0 / 489.9 MB, free: 9.117 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3104, allocations: 0 / 489.9 MB, free: 9.117 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.068e-05/0.3104, allocations: 41.64 kB / 489.9 MB, free: 9.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.3104, allocations: 9.5 kB / 489.9 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3105, allocations: 0 / 489.9 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3105, allocations: 3.953 kB / 490 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.407e-05/0.3105, allocations: 0 / 490 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.3105, allocations: 7.984 kB / 490 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.171e-05/0.3105, allocations: 0 / 490 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.3105, allocations: 0 / 490 MB, free: 9.051 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 6.905e-05/0.3106, allocations: 113.8 kB / 490.1 MB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.3106, allocations: 7.906 kB / 490.1 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.435e-05/0.3107, allocations: 15.52 kB / 490.1 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.3107, allocations: 0 / 490.1 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3107, allocations: 7.953 kB / 490.1 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3107, allocations: 3.984 kB / 490.1 MB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.3108, allocations: 165.7 kB / 490.3 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.3108, allocations: 0 / 490.3 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-06/0.3108, allocations: 0 / 490.3 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.3108, allocations: 0 / 490.3 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.94e-06/0.3108, allocations: 3.938 kB / 490.3 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.3108, allocations: 7.938 kB / 490.3 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.3108, allocations: 0 / 490.3 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.155e-05/0.3109, allocations: 65.08 kB / 490.3 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.311, allocations: 93 kB / 490.4 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.311, allocations: 0 / 490.4 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.627e-05/0.311, allocations: 4 kB / 490.4 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.898e-06/0.311, allocations: 0 / 490.4 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.3111, allocations: 3.984 kB / 490.4 MB, free: 8.473 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.812e-05/0.3111, allocations: 119.2 kB / 490.6 MB, free: 8.355 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3111, allocations: 4.031 kB / 490.6 MB, free: 8.352 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003717/0.3115, allocations: 127.9 kB / 490.7 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: 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.0008169/0.3123, allocations: 0.9011 MB / 491.6 MB, free: 7.375 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 5.141e-05/0.3124, allocations: 8 kB / 491.6 MB, free: 7.367 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3124, allocations: 0 / 491.6 MB, free: 7.367 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.015e-06/0.3124, allocations: 8 kB / 491.6 MB, free: 7.359 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.171e-05/0.3125, allocations: 7.922 kB / 491.6 MB, free: 7.352 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005937/0.3131, allocations: 0.5232 MB / 492.1 MB, free: 6.781 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.3133, allocations: 0.6809 MB / 492.8 MB, free: 6.074 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.64e-05/0.3134, allocations: 20.02 kB / 492.8 MB, free: 6.055 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/0.3134, allocations: 27.42 kB / 492.9 MB, free: 6.027 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3134, allocations: 7.875 kB / 492.9 MB, free: 6.02 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01462/0.328, allocations: 3.515 MB / 496.4 MB, free: 2.598 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.3282, allocations: 206.4 kB / 496.6 MB, free: 2.352 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.466/1.794, allocations: 0 / 496.6 MB, free: 2.352 MB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadStringCSV_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadStringCSV.fmu > KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe 2>&1)