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.001222/0.001222, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00128/0.00128, allocations: 194.3 kB / 16.13 MB, free: 6.66 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.239/1.239, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.005619/0.005619, allocations: 0.9995 MB / 291 MB, free: 1.461 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 55.91 kB / 351.5 MB, free: 2.262 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06935/0.07046, allocations: 49.66 MB / 401.1 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001467/0.07195, allocations: 0.5482 MB / 401.7 MB, free: 16 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.1258/0.1977, allocations: 1.355 MB / 403 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.514e-05/0.1978, allocations: 0 / 403 MB, free: 9.785 MB / 286.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 ‘Modelica.Utilities.Streams.readLine‘. [/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.001087/0.1989, allocations: 252 kB / 403.3 MB, free: 9.668 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.446e-05/0.199, allocations: 22.83 kB / 403.3 MB, free: 9.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.116e-05/0.199, allocations: 9.516 kB / 403.3 MB, free: 9.656 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.307e-05/0.1991, allocations: 22.42 kB / 403.3 MB, free: 9.645 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.062e-05/0.1991, allocations: 2.703 kB / 403.3 MB, free: 9.645 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.228e-05/0.1991, allocations: 6.562 kB / 403.3 MB, free: 9.645 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.264e-05/0.1992, allocations: 17.95 kB / 403.4 MB, free: 9.641 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.1992, allocations: 0.9062 kB / 403.4 MB, free: 9.641 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003922/0.1996, allocations: 311.5 kB / 403.7 MB, free: 9.539 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.694e-05/0.1997, allocations: 16.38 kB / 403.7 MB, free: 9.535 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.847e-05/0.1997, allocations: 27.64 kB / 403.7 MB, free: 9.52 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003831/0.2001, allocations: 277 kB / 404 MB, free: 9.434 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.2001, allocations: 4.797 kB / 404 MB, free: 9.43 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.02e-07/0.2001, allocations: 0 / 404 MB, free: 9.43 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.2001, allocations: 1.156 kB / 404 MB, free: 9.43 MB / 286.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.0003795/0.2005, allocations: 449.7 kB / 404.4 MB, free: 8.992 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.2006, allocations: 10.69 kB / 404.4 MB, free: 8.992 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.238e-05/0.2006, allocations: 106.6 kB / 404.5 MB, free: 8.879 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.364e-05/0.2007, allocations: 86.47 kB / 404.6 MB, free: 8.801 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.2008, allocations: 275.5 kB / 404.9 MB, free: 8.512 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.2008, allocations: 152.4 kB / 405 MB, free: 8.363 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.2009, allocations: 150.9 kB / 405.2 MB, free: 8.215 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.546e-05/0.2009, allocations: 109.4 kB / 405.3 MB, free: 8.102 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.2009, allocations: 77.34 kB / 405.4 MB, free: 8.027 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.2009, allocations: 153.2 kB / 405.5 MB, free: 7.879 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.201, allocations: 151.4 kB / 405.7 MB, free: 7.73 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.979e-05/0.201, allocations: 154.6 kB / 405.8 MB, free: 7.578 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001919/0.2012, allocations: 463 kB / 406.3 MB, free: 7.098 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.136e-05/0.2012, allocations: 173.1 kB / 406.4 MB, free: 6.918 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.698e-05/0.2013, allocations: 82.44 kB / 406.5 MB, free: 6.836 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.2013, allocations: 83.22 kB / 406.6 MB, free: 6.754 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.846e-05/0.2014, allocations: 67.84 kB / 406.7 MB, free: 6.676 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 2.354e-06/0.2014, allocations: 0 / 406.7 MB, free: 6.676 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001376/0.2015, allocations: 70.02 kB / 406.7 MB, free: 6.605 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.2016, allocations: 131.3 kB / 406.9 MB, free: 6.449 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.2017, allocations: 140.1 kB / 407 MB, free: 6.34 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.411e-06/0.2017, allocations: 30.92 kB / 407 MB, free: 6.305 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.592e-05/0.2017, allocations: 87.47 kB / 407.1 MB, free: 6.219 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.142e-05/0.2017, allocations: 3.906 kB / 407.1 MB, free: 6.215 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/0.2018, allocations: 12.78 kB / 407.1 MB, free: 6.199 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.222e-05/0.2018, allocations: 318.7 kB / 407.5 MB, free: 5.883 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.406e-06/0.2018, allocations: 1.094 kB / 407.5 MB, free: 5.883 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.181e-06/0.2018, allocations: 2.172 kB / 407.5 MB, free: 5.883 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.783e-05/0.2019, allocations: 64.33 kB / 407.5 MB, free: 5.809 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2019, allocations: 0 / 407.5 MB, free: 5.809 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.934e-05/0.2019, allocations: 73.09 kB / 407.6 MB, free: 5.734 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.202, allocations: 31.28 kB / 407.6 MB, free: 5.703 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.202, allocations: 4.328 kB / 407.6 MB, free: 5.703 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.202, allocations: 0 / 407.6 MB, free: 5.703 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-07/0.202, allocations: 3.938 kB / 407.6 MB, free: 5.699 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.202, allocations: 2.344 kB / 407.6 MB, free: 5.699 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.591e-05/0.202, allocations: 1.188 kB / 407.6 MB, free: 5.699 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.202, allocations: 1.094 kB / 407.6 MB, free: 5.699 MB / 286.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 6.394e-05/0.2021, allocations: 145.2 kB / 407.8 MB, free: 5.551 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.2021, allocations: 7.219 kB / 407.8 MB, free: 5.547 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.516e-05/0.2022, allocations: 6.953 kB / 407.8 MB, free: 5.539 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2022, allocations: 0.8125 kB / 407.8 MB, free: 5.539 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2022, allocations: 3.938 kB / 407.8 MB, free: 5.535 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2022, allocations: 1.922 kB / 407.8 MB, free: 5.535 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.313e-05/0.2023, allocations: 162.4 kB / 408 MB, free: 5.34 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.2023, allocations: 1.25 kB / 408 MB, free: 5.34 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.032e-06/0.2023, allocations: 0.75 kB / 408 MB, free: 5.34 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2023, allocations: 5.281 kB / 408 MB, free: 5.336 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.2023, allocations: 0 / 408 MB, free: 5.336 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2023, allocations: 0.7969 kB / 408 MB, free: 5.336 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2023, allocations: 0.9688 kB / 408 MB, free: 5.336 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.166e-05/0.2024, allocations: 105.8 kB / 408.1 MB, free: 5.223 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.279e-05/0.2024, allocations: 83.12 kB / 408.1 MB, free: 5.129 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.2024, allocations: 6.094 kB / 408.2 MB, free: 5.129 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.536e-05/0.2025, allocations: 3.625 kB / 408.2 MB, free: 5.129 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.2025, allocations: 5.859 kB / 408.2 MB, free: 5.125 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.2025, allocations: 1.828 kB / 408.2 MB, free: 5.125 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.772e-05/0.2026, allocations: 116.9 kB / 408.3 MB, free: 5.043 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2026, allocations: 0 / 408.3 MB, free: 5.043 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003546/0.2029, allocations: 100.2 kB / 408.4 MB, free: 5.012 MB / 286.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.0007198/0.2037, allocations: 0.918 MB / 409.3 MB, free: 4.289 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 6.223e-05/0.2037, allocations: 64.69 kB / 409.4 MB, free: 4.223 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2037, allocations: 0 / 409.4 MB, free: 4.223 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.595e-05/0.2038, allocations: 54.72 kB / 409.4 MB, free: 4.16 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.2039, allocations: 11.62 kB / 409.4 MB, free: 4.156 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008086/0.2047, allocations: 1.285 MB / 410.7 MB, free: 2.965 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.804e-05/0.2048, allocations: 0.682 MB / 411.4 MB, free: 2.27 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.494e-05/0.2049, allocations: 7.5 kB / 411.4 MB, free: 2.27 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.915e-05/0.2049, allocations: 24 kB / 411.4 MB, free: 2.258 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2049, allocations: 0 / 411.4 MB, free: 2.258 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2333/0.4382, allocations: 3.49 MB / 414.9 MB, free: 1.758 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000169/0.4384, allocations: 226.6 kB / 415.1 MB, free: 1.504 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/2.222, allocations: 0 / 415.1 MB, free: 1.504 MB / 286.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)