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.001043/0.001043, allocations: 174 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.005185/0.005185, allocations: 0.9705 MB / 14.23 MB, free: 1.059 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.498/1.498, allocations: 221.3 MB / 236.3 MB, free: 1.977 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008287/0.0008288, allocations: 90.67 kB / 287.5 MB, free: 5.695 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.202e-05/3.206e-05, allocations: 0 / 346.1 MB, free: 6.043 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1235, allocations: 50.62 MB / 396.8 MB, free: 3.371 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3524/0.4759, allocations: 77.22 MB / 474 MB, free: 15.26 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/0.4761, allocations: 65.33 kB / 474 MB, free: 15.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01261/0.4887, allocations: 4.53 MB / 478.6 MB, free: 12.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4888, allocations: 0 / 478.6 MB, free: 12.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.4888, allocations: 0 / 478.6 MB, free: 12.8 MB / 346.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.0003705/0.4892, allocations: 445.3 kB / 479 MB, free: 12.33 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.4892, allocations: 12.03 kB / 479 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.244e-05/0.4893, allocations: 107.6 kB / 479.1 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.615e-05/0.4893, allocations: 76.06 kB / 479.2 MB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.4895, allocations: 263.3 kB / 479.5 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.4895, allocations: 150.6 kB / 479.6 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.4896, allocations: 158.7 kB / 479.8 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.379e-05/0.4896, allocations: 105.4 kB / 479.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.4896, allocations: 78.89 kB / 479.9 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.09e-05/0.4897, allocations: 154.6 kB / 480.1 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.583e-05/0.4897, allocations: 152.1 kB / 480.2 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.327e-05/0.4897, allocations: 150.6 kB / 480.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002541/0.49, allocations: 466.1 kB / 480.8 MB, free: 10.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.44e-05/0.4901, allocations: 173.1 kB / 481 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.4901, allocations: 84.08 kB / 481.1 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.4901, allocations: 75.28 kB / 481.2 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.254e-05/0.4902, allocations: 86.38 kB / 481.2 MB, free: 9.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 2.275e-06/0.4902, allocations: 0 / 481.2 MB, free: 9.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001552/0.4904, allocations: 60.86 kB / 481.3 MB, free: 9.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.4904, allocations: 134.2 kB / 481.4 MB, free: 9.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.63e-05/0.4905, allocations: 122.1 kB / 481.6 MB, free: 9.637 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.276e-06/0.4906, allocations: 25.7 kB / 481.6 MB, free: 9.605 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.513e-05/0.4906, allocations: 87.64 kB / 481.7 MB, free: 9.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.4906, allocations: 7.938 kB / 481.7 MB, free: 9.512 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.873e-06/0.4906, allocations: 0 / 481.7 MB, free: 9.512 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.473e-05/0.4907, allocations: 317.2 kB / 482 MB, free: 9.199 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-06/0.4907, allocations: 6.719 kB / 482 MB, free: 9.195 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.35e-06/0.4907, allocations: 0 / 482 MB, free: 9.195 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.823e-05/0.4907, allocations: 25.7 kB / 482 MB, free: 9.164 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4907, allocations: 4 kB / 482 MB, free: 9.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.411e-05/0.4908, allocations: 64.95 kB / 482.1 MB, free: 9.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.4908, allocations: 35.16 kB / 482.1 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.4909, allocations: 0 / 482.1 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.4909, allocations: 3.953 kB / 482.1 MB, free: 9.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.472e-06/0.4909, allocations: 0 / 482.1 MB, free: 9.047 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.4909, allocations: 0 / 482.1 MB, free: 9.047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.755e-05/0.4909, allocations: 4 kB / 482.1 MB, free: 9.043 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.4909, allocations: 5.484 kB / 482.1 MB, free: 9.039 MB / 346.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): 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 5.017e-05/0.491, allocations: 130.7 kB / 482.3 MB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.491, allocations: 7.906 kB / 482.3 MB, free: 8.891 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.991e-05/0.491, allocations: 9.203 kB / 482.3 MB, free: 8.887 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.491, allocations: 3.953 kB / 482.3 MB, free: 8.883 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4911, allocations: 0 / 482.3 MB, free: 8.883 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.4911, allocations: 4 kB / 482.3 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.888e-05/0.4911, allocations: 156.5 kB / 482.4 MB, free: 8.688 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4912, allocations: 3.984 kB / 482.4 MB, free: 8.684 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-06/0.4912, allocations: 4 kB / 482.4 MB, free: 8.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4912, allocations: 3.938 kB / 482.4 MB, free: 8.676 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.4912, allocations: 0 / 482.4 MB, free: 8.676 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.4912, allocations: 0 / 482.4 MB, free: 8.676 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4912, allocations: 3.953 kB / 482.4 MB, free: 8.672 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.129e-05/0.4913, allocations: 94.58 kB / 482.5 MB, free: 8.562 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.4913, allocations: 90.02 kB / 482.6 MB, free: 8.461 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.4913, allocations: 7.062 kB / 482.6 MB, free: 8.457 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.329e-05/0.4914, allocations: 0 / 482.6 MB, free: 8.457 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-05/0.4914, allocations: 11.27 kB / 482.6 MB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.4914, allocations: 3.953 kB / 482.7 MB, free: 8.445 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.503e-05/0.4915, allocations: 103.3 kB / 482.8 MB, free: 8.352 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4915, allocations: 4.031 kB / 482.8 MB, free: 8.348 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004158/0.4919, allocations: 121.5 kB / 482.9 MB, free: 8.246 MB / 346.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) * 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.000979/0.4929, allocations: 0.9285 MB / 483.8 MB, free: 7.414 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.43e-05/0.493, allocations: 56.81 kB / 483.9 MB, free: 7.348 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.493, allocations: 4.062 kB / 483.9 MB, free: 7.344 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.145e-05/0.493, allocations: 55.41 kB / 483.9 MB, free: 7.277 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001131/0.4931, allocations: 11.3 kB / 483.9 MB, free: 7.273 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000422/0.4936, allocations: 181.5 kB / 484.1 MB, free: 7.078 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.4937, allocations: 0.6859 MB / 484.8 MB, free: 6.371 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.49e-05/0.4937, allocations: 8 kB / 484.8 MB, free: 6.363 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.887e-05/0.4938, allocations: 26.3 kB / 484.8 MB, free: 6.348 MB / 346.7 MB Notification: Performance of SimCode: time 3.4e-07/0.4938, allocations: 0 / 484.8 MB, free: 6.348 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01676/0.5106, allocations: 3.355 MB / 488.2 MB, free: 3.148 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001458/0.5108, allocations: 178.7 kB / 488.4 MB, free: 2.922 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/2.25, allocations: 0 / 488.4 MB, free: 2.922 MB / 346.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)