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+X/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 100.6 kB / 15.05 MB, free: 1.105 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.001242/0.001242, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005802/0.005802, allocations: 0.9887 MB / 292 MB, free: 1.254 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003021/0.0003022, allocations: 8 kB / 353.1 MB, free: 2.449 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3056, allocations: 50.63 MB / 403.7 MB, free: 9.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.0005991/0.3062, allocations: 219.5 kB / 403.9 MB, free: 9.762 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.3086, allocations: 1.264 MB / 405.2 MB, free: 9.637 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.323e-05/0.3086, allocations: 0 / 405.2 MB, free: 9.637 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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+X/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+X/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+X/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.001289/0.3099, allocations: 258.5 kB / 405.4 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.478e-05/0.31, allocations: 31.03 kB / 405.5 MB, free: 9.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.96e-05/0.31, allocations: 12.31 kB / 405.5 MB, free: 9.566 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.339e-05/0.3101, allocations: 12.86 kB / 405.5 MB, free: 9.562 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.537e-05/0.3102, allocations: 1.922 kB / 405.5 MB, free: 9.562 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.985e-05/0.3102, allocations: 7.203 kB / 405.5 MB, free: 9.562 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.401e-05/0.3103, allocations: 18.56 kB / 405.5 MB, free: 9.555 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.3103, allocations: 0 / 405.5 MB, free: 9.555 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005459/0.3109, allocations: 258.8 kB / 405.8 MB, free: 9.492 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.478e-05/0.3109, allocations: 18.42 kB / 405.8 MB, free: 9.488 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/0.311, allocations: 28.36 kB / 405.8 MB, free: 9.457 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004098/0.3114, allocations: 194.1 kB / 406 MB, free: 9.422 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.3114, allocations: 0 / 406 MB, free: 9.422 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3114, allocations: 1.031 kB / 406 MB, free: 9.422 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.036e-06/0.3114, allocations: 0 / 406 MB, free: 9.422 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.0004855/0.3119, allocations: 436.1 kB / 406.4 MB, free: 8.988 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.312, allocations: 12.88 kB / 406.5 MB, free: 8.984 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.312, allocations: 78.5 kB / 406.5 MB, free: 8.91 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.3122, allocations: 266.7 kB / 406.8 MB, free: 8.629 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.3122, allocations: 158.5 kB / 406.9 MB, free: 8.473 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.3122, allocations: 150.6 kB / 407.1 MB, free: 8.324 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.64e-05/0.3123, allocations: 107 kB / 407.2 MB, free: 8.215 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.3123, allocations: 79.28 kB / 407.3 MB, free: 8.137 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.3123, allocations: 151.7 kB / 407.4 MB, free: 7.988 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.3124, allocations: 151.3 kB / 407.6 MB, free: 7.84 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.442e-05/0.3124, allocations: 152.4 kB / 407.7 MB, free: 7.691 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002211/0.3126, allocations: 466.6 kB / 408.2 MB, free: 7.203 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.462e-05/0.3127, allocations: 173.8 kB / 408.3 MB, free: 7.023 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.3127, allocations: 76.28 kB / 408.4 MB, free: 6.949 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001292/0.3128, allocations: 67.97 kB / 408.5 MB, free: 6.871 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 2.264e-06/0.3129, allocations: 0 / 408.5 MB, free: 6.871 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001739/0.313, allocations: 73.94 kB / 408.6 MB, free: 6.797 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.3131, allocations: 139.9 kB / 408.7 MB, free: 6.633 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.3132, allocations: 139.6 kB / 408.8 MB, free: 6.523 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.3132, allocations: 25.7 kB / 408.9 MB, free: 6.492 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.973e-05/0.3133, allocations: 88.64 kB / 408.9 MB, free: 6.406 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.3133, allocations: 5.547 kB / 409 MB, free: 6.402 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.873e-06/0.3133, allocations: 1.094 kB / 409 MB, free: 6.402 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.116e-05/0.3134, allocations: 318.1 kB / 409.3 MB, free: 6.086 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.478e-06/0.3134, allocations: 1.188 kB / 409.3 MB, free: 6.086 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.07e-06/0.3134, allocations: 5.094 kB / 409.3 MB, free: 6.082 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.031e-05/0.3134, allocations: 28.39 kB / 409.3 MB, free: 6.051 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.3134, allocations: 0.6562 kB / 409.3 MB, free: 6.051 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.979e-05/0.3135, allocations: 65.19 kB / 409.4 MB, free: 5.984 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.3135, allocations: 31.92 kB / 409.4 MB, free: 5.953 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3136, allocations: 3.984 kB / 409.4 MB, free: 5.949 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3136, allocations: 5.266 kB / 409.4 MB, free: 5.945 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.873e-06/0.3136, allocations: 0.7031 kB / 409.4 MB, free: 5.945 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3136, allocations: 0.8125 kB / 409.4 MB, free: 5.945 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.98e-05/0.3136, allocations: 6.188 kB / 409.4 MB, free: 5.941 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.3136, allocations: 1.906 kB / 409.4 MB, free: 5.941 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.819e-05/0.3137, allocations: 146.3 kB / 409.6 MB, free: 5.793 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.3138, allocations: 7.156 kB / 409.6 MB, free: 5.789 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.851e-05/0.3138, allocations: 6.938 kB / 409.6 MB, free: 5.781 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3138, allocations: 5.109 kB / 409.6 MB, free: 5.777 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3138, allocations: 0 / 409.6 MB, free: 5.777 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3138, allocations: 1.062 kB / 409.6 MB, free: 5.777 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.582e-05/0.3139, allocations: 166.3 kB / 409.7 MB, free: 5.582 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3139, allocations: 4 kB / 409.7 MB, free: 5.578 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.3139, allocations: 1 kB / 409.7 MB, free: 5.578 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3139, allocations: 0 / 409.7 MB, free: 5.578 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.3139, allocations: 1.219 kB / 409.7 MB, free: 5.578 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3139, allocations: 0 / 409.7 MB, free: 5.578 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.314, allocations: 5.141 kB / 409.7 MB, free: 5.574 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.361e-05/0.3141, allocations: 93.47 kB / 409.8 MB, free: 5.473 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/0.3141, allocations: 92.67 kB / 409.9 MB, free: 5.371 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.3141, allocations: 2.312 kB / 409.9 MB, free: 5.371 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.856e-05/0.3142, allocations: 2.562 kB / 409.9 MB, free: 5.371 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.3142, allocations: 4.906 kB / 409.9 MB, free: 5.367 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.3142, allocations: 6.156 kB / 409.9 MB, free: 5.363 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.988e-05/0.3143, allocations: 115.5 kB / 410.1 MB, free: 5.277 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3143, allocations: 1.031 kB / 410.1 MB, free: 5.277 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005244/0.3148, allocations: 98.88 kB / 410.2 MB, free: 5.25 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 (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.0009803/0.3158, allocations: 380.4 kB / 410.5 MB, free: 5.086 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.3159, allocations: 61.84 kB / 410.6 MB, free: 5.02 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3159, allocations: 0 / 410.6 MB, free: 5.02 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.508e-05/0.316, allocations: 59.55 kB / 410.6 MB, free: 4.953 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.3161, allocations: 3.125 kB / 410.6 MB, free: 4.953 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000276/0.3164, allocations: 118.4 kB / 410.8 MB, free: 4.836 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.3166, allocations: 0.6869 MB / 411.4 MB, free: 4.137 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.278e-05/0.3166, allocations: 12.36 kB / 411.5 MB, free: 4.133 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.3167, allocations: 16.72 kB / 411.5 MB, free: 4.125 MB / 286.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3167, allocations: 1.188 kB / 411.5 MB, free: 4.125 MB / 286.1 MB Notification: Performance of Templates: time 0.00755/0.3242, allocations: 2.419 MB / 413.9 MB, free: 3.863 MB / 286.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: