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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007846/0.007846, allocations: 97.45 kB / 15.73 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002031/0.002031, allocations: 188 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.007097/0.007097, allocations: 0.9982 MB / 291.5 MB, free: 1.176 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 63.11 kB / 402.5 MB, free: 9.156 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1039, allocations: 49.65 MB / 452.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001685/0.1056, allocations: 0.4962 MB / 452.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002206/0.1078, allocations: 1.346 MB / 454 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.392e-05/0.1078, allocations: 0 / 454 MB, free: 3.086 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readLine.mo:2:1-36:13:writable] Warning: Pure function 'KeyWordIO.readLine' contains a call to impure function 'KeyWordIO.readLineWithoutCache'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readSizeCSV.mo:2:1-41:16:writable] Warning: Pure function 'KeyWordIO.readSizeCSV' contains a call to impure function 'KeyWordIO.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readColsCSV.mo:2:1-18:16:writable] Warning: Pure function 'KeyWordIO.readColsCSV' contains a call to impure function 'KeyWordIO.readSizeCSV'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readStringCSV.mo:2:1-85:18:writable] Warning: Pure function 'KeyWordIO.readStringCSV' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeComponents: time 0.001444/0.1093, allocations: 309.6 kB / 454.3 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.482e-05/0.1093, allocations: 23.97 kB / 454.3 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.114e-05/0.1093, allocations: 11.98 kB / 454.3 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.529e-05/0.1094, allocations: 23.92 kB / 454.3 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.171e-05/0.1095, allocations: 4 kB / 454.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.071e-05/0.1095, allocations: 7.938 kB / 454.3 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.86e-05/0.1096, allocations: 19.22 kB / 454.4 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.1096, allocations: 0 / 454.4 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004698/0.1101, allocations: 331.6 kB / 454.7 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.614e-05/0.1101, allocations: 19.97 kB / 454.7 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.878e-05/0.1102, allocations: 15.88 kB / 454.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004285/0.1106, allocations: 295.1 kB / 455 MB, free: 2.051 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1106, allocations: 0 / 455 MB, free: 2.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1106, allocations: 0 / 455 MB, free: 2.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.1106, allocations: 4 kB / 455 MB, free: 2.047 MB / 318.1 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.0006036/0.1112, allocations: 452.3 kB / 455.4 MB, free: 1.551 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1113, allocations: 12.03 kB / 455.5 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.003e-05/0.1113, allocations: 106 kB / 455.6 MB, free: 1.426 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.123e-05/0.1114, allocations: 80.22 kB / 455.6 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.1117, allocations: 263.5 kB / 455.9 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.283e-05/0.1117, allocations: 150.9 kB / 456 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.563e-05/0.1118, allocations: 158.9 kB / 456.2 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.109e-05/0.1119, allocations: 108.9 kB / 456.3 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.781e-05/0.112, allocations: 79.27 kB / 456.4 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.931e-05/0.112, allocations: 154.6 kB / 456.5 MB, free: 412 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.403e-05/0.1121, allocations: 154.5 kB / 456.7 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.765e-05/0.1122, allocations: 158.5 kB / 456.8 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.1125, allocations: 453.9 kB / 457.3 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.1127, allocations: 169.1 kB / 457.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.687e-05/0.1127, allocations: 84.14 kB / 457.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.23e-05/0.1127, allocations: 83.27 kB / 457.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001334/0.1129, allocations: 77.11 kB / 457.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 2.104e-06/0.1129, allocations: 0 / 457.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001739/0.1131, allocations: 67.3 kB / 457.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.846e-05/0.1131, allocations: 136.5 kB / 457.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.1133, allocations: 133.8 kB / 458 MB, free: 14.78 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.1133, allocations: 25.7 kB / 458 MB, free: 14.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.595e-05/0.1134, allocations: 92.25 kB / 458.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.1134, allocations: 4 kB / 458.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.1134, allocations: 9.719 kB / 458.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1136, allocations: 314.8 kB / 458.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.907e-06/0.1136, allocations: 4 kB / 458.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.97e-06/0.1136, allocations: 0 / 458.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.291e-05/0.1137, allocations: 64.25 kB / 458.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1137, allocations: 0 / 458.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.294e-05/0.1137, allocations: 75.3 kB / 458.6 MB, free: 14.15 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/0.1138, allocations: 31.73 kB / 458.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.1138, allocations: 0 / 458.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1138, allocations: 4 kB / 458.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.789e-06/0.1138, allocations: 3.984 kB / 458.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.1138, allocations: 0 / 458.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.802e-05/0.1138, allocations: 4 kB / 458.6 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.1138, allocations: 0 / 458.6 MB, free: 14.11 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001424/0.114, allocations: 139.5 kB / 458.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.114, allocations: 11.97 kB / 458.8 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.828e-05/0.114, allocations: 11.52 kB / 458.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.114, allocations: 4 kB / 458.8 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.114, allocations: 0 / 458.8 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.114, allocations: 0 / 458.8 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.1142, allocations: 161.6 kB / 459 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1142, allocations: 0 / 459 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.1142, allocations: 0 / 459 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.1142, allocations: 0 / 459 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.371e-06/0.1142, allocations: 0 / 459 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.1142, allocations: 4 kB / 459 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1142, allocations: 4 kB / 459 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.1143, allocations: 102.7 kB / 459.1 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.547e-05/0.1144, allocations: 81.09 kB / 459.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.1144, allocations: 7.938 kB / 459.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.891e-05/0.1144, allocations: 11.94 kB / 459.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.433e-05/0.1144, allocations: 0 / 459.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.1144, allocations: 0 / 459.2 MB, free: 13.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.925e-05/0.1145, allocations: 111.7 kB / 459.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1145, allocations: 0 / 459.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003633/0.1149, allocations: 99.66 kB / 459.4 MB, free: 13.26 MB / 334.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001219/0.1161, allocations: 0.915 MB / 460.3 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.694e-05/0.1162, allocations: 63.41 kB / 460.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1162, allocations: 0 / 460.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.588e-05/0.1162, allocations: 55.41 kB / 460.4 MB, free: 12.24 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.1164, allocations: 10.03 kB / 460.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.1176, allocations: 1.259 MB / 461.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.118, allocations: 0.6921 MB / 462.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.627e-05/0.118, allocations: 11.98 kB / 462.4 MB, free: 10.15 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.886e-05/0.118, allocations: 23.42 kB / 462.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of SimCode: time 4.4e-07/0.118, allocations: 0 / 462.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.1452, allocations: 3.638 MB / 466 MB, free: 6.562 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.992/8.138, allocations: 8.047 kB / 466 MB, free: 6.555 MB / 334.1 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/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)