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: translateModel(KeyWordIO.Examples.ReadStringCSVUnquoted,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted") translateModel(KeyWordIO.Examples.ReadStringCSVUnquoted,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 183 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.00502/0.00502, allocations: 1.002 MB / 17.74 MB, free: 4 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: 222.9 MB / 241.6 MB, free: 9.84 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.0009646/0.0009644, allocations: 106.4 kB / 292 MB, free: 9.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000957/0.0009571, allocations: 55.91 kB / 352.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1937, allocations: 49.64 MB / 402.1 MB, free: 32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001619/0.1954, allocations: 0.5571 MB / 402.7 MB, free: 31.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.1969, allocations: 1.345 MB / 404 MB, free: 30.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.754e-05/0.1969, allocations: 0 / 404 MB, free: 30.11 MB / 298.7 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.001175/0.1981, allocations: 253.2 kB / 404.3 MB, free: 29.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.131e-05/0.1982, allocations: 27.97 kB / 404.3 MB, free: 29.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.251e-05/0.1982, allocations: 7.938 kB / 404.3 MB, free: 29.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.5e-05/0.1982, allocations: 19.97 kB / 404.3 MB, free: 29.81 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.158e-05/0.1983, allocations: 0 / 404.3 MB, free: 29.81 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.065e-05/0.1983, allocations: 8 kB / 404.3 MB, free: 29.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.026e-05/0.1984, allocations: 18.3 kB / 404.3 MB, free: 29.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.1984, allocations: 0 / 404.3 MB, free: 29.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003038/0.1987, allocations: 319.6 kB / 404.7 MB, free: 29.48 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.095e-05/0.1988, allocations: 15.98 kB / 404.7 MB, free: 29.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.658e-05/0.1988, allocations: 15.88 kB / 404.7 MB, free: 29.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.1991, allocations: 263.6 kB / 404.9 MB, free: 29.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1991, allocations: 0 / 404.9 MB, free: 29.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1991, allocations: 0 / 404.9 MB, free: 29.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.1991, allocations: 0 / 404.9 MB, free: 29.19 MB / 298.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.0002895/0.1994, allocations: 429.1 kB / 405.4 MB, free: 28.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.1994, allocations: 8.031 kB / 405.4 MB, free: 28.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.1995, allocations: 84.2 kB / 405.5 MB, free: 28.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.897e-05/0.1996, allocations: 253.6 kB / 405.7 MB, free: 28.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.1996, allocations: 150.9 kB / 405.8 MB, free: 28.19 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.1996, allocations: 150.9 kB / 406 MB, free: 28.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.519e-05/0.1996, allocations: 109.1 kB / 406.1 MB, free: 27.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1997, allocations: 75.28 kB / 406.2 MB, free: 27.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.1997, allocations: 162.6 kB / 406.3 MB, free: 27.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.1997, allocations: 150.6 kB / 406.5 MB, free: 27.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.005e-05/0.1997, allocations: 154.5 kB / 406.6 MB, free: 27.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000153/0.1999, allocations: 453.9 kB / 407.1 MB, free: 26.9 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.344e-05/0.1999, allocations: 169.1 kB / 407.2 MB, free: 26.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.317e-05/0.2, allocations: 80.14 kB / 407.3 MB, free: 26.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.2, allocations: 79.27 kB / 407.4 MB, free: 26.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.072e-05/0.2001, allocations: 76.94 kB / 407.5 MB, free: 26.47 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.994e-06/0.2001, allocations: 0 / 407.5 MB, free: 26.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001362/0.2002, allocations: 67.39 kB / 407.5 MB, free: 26.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.2003, allocations: 136.6 kB / 407.7 MB, free: 26.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.125e-05/0.2003, allocations: 109.8 kB / 407.8 MB, free: 26.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.591e-06/0.2004, allocations: 25.7 kB / 407.8 MB, free: 26.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.874e-05/0.2004, allocations: 84.14 kB / 407.9 MB, free: 26 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.1e-05/0.2004, allocations: 0 / 407.9 MB, free: 26 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.992e-05/0.2004, allocations: 13.72 kB / 407.9 MB, free: 25.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.247e-05/0.2005, allocations: 310.8 kB / 408.2 MB, free: 25.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-06/0.2005, allocations: 3.984 kB / 408.2 MB, free: 25.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.491e-06/0.2005, allocations: 8 kB / 408.2 MB, free: 25.65 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.901e-05/0.2005, allocations: 64.2 kB / 408.3 MB, free: 25.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2005, allocations: 4 kB / 408.3 MB, free: 25.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.74e-05/0.2006, allocations: 63.25 kB / 408.3 MB, free: 25.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.2006, allocations: 33.7 kB / 408.4 MB, free: 25.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.2006, allocations: 3.984 kB / 408.4 MB, free: 25.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.2006, allocations: 0 / 408.4 MB, free: 25.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.363e-06/0.2006, allocations: 0 / 408.4 MB, free: 25.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.2006, allocations: 0 / 408.4 MB, free: 25.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.781e-05/0.2007, allocations: 4.094 kB / 408.4 MB, free: 25.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.2007, allocations: 4 kB / 408.4 MB, free: 25.45 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.329e-05/0.2007, allocations: 139.5 kB / 408.5 MB, free: 25.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.243e-05/0.2008, allocations: 7.938 kB / 408.5 MB, free: 25.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.668e-06/0.2008, allocations: 3.125 kB / 408.5 MB, free: 25.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.2008, allocations: 3.984 kB / 408.5 MB, free: 25.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.2008, allocations: 0 / 408.5 MB, free: 25.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.2008, allocations: 3.938 kB / 408.5 MB, free: 25.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.332e-05/0.2009, allocations: 149.7 kB / 408.7 MB, free: 25.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2009, allocations: 7.938 kB / 408.7 MB, free: 25.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.52e-07/0.2009, allocations: 3.938 kB / 408.7 MB, free: 25.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.2009, allocations: 4 kB / 408.7 MB, free: 25.06 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.2009, allocations: 0 / 408.7 MB, free: 25.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.2009, allocations: 0 / 408.7 MB, free: 25.06 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2009, allocations: 0 / 408.7 MB, free: 25.06 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.2011, allocations: 0.6532 MB / 409.4 MB, free: 24.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.517e-05/0.2011, allocations: 81.11 kB / 409.4 MB, free: 24.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.2011, allocations: 4 kB / 409.4 MB, free: 24.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.392e-05/0.2011, allocations: 0 / 409.4 MB, free: 24.24 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.124e-05/0.2012, allocations: 4 kB / 409.4 MB, free: 24.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.2012, allocations: 0 / 409.4 MB, free: 24.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.688e-05/0.2012, allocations: 91.27 kB / 409.5 MB, free: 24.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2012, allocations: 0 / 409.5 MB, free: 24.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004214/0.2016, allocations: 103.9 kB / 409.6 MB, free: 24.04 MB / 298.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 (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.0005367/0.2022, allocations: 398.2 kB / 410 MB, free: 23.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.91e-05/0.2022, allocations: 55.41 kB / 410.1 MB, free: 23.65 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2023, allocations: 0 / 410.1 MB, free: 23.65 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.996e-05/0.2023, allocations: 67.33 kB / 410.1 MB, free: 23.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.2024, allocations: 7.984 kB / 410.1 MB, free: 23.56 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002269/0.2027, allocations: 229.7 kB / 410.4 MB, free: 23.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.2028, allocations: 0.6886 MB / 411.1 MB, free: 22.58 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.188e-05/0.2028, allocations: 4 kB / 411.1 MB, free: 22.58 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.328e-05/0.2028, allocations: 11.42 kB / 411.1 MB, free: 22.57 MB / 298.7 MB Notification: Performance of SimCode: time 2.01e-07/0.2028, allocations: 0 / 411.1 MB, free: 22.57 MB / 298.7 MB Notification: Performance of Templates: time 0.00388/0.2067, allocations: 2.262 MB / 413.3 MB, free: 20.3 MB / 298.7 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.makefile (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 & ./KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe 2>&1)