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.008115/0.008115, allocations: 98.45 kB / 15.73 MB, free: 6.066 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.002016/0.002016, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.006049/0.006049, allocations: 1.01 MB / 291.5 MB, free: 13.76 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 68.12 kB / 402.9 MB, free: 31.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07977/0.081, allocations: 49.65 MB / 452.6 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001614/0.08266, allocations: 0.4969 MB / 453.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.08474, allocations: 1.345 MB / 454.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.685e-05/0.08478, allocations: 0 / 454.4 MB, free: 12.18 MB / 334.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 'KeyWordIO.readLineWithoutCache'. [/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.001408/0.08622, allocations: 309.4 kB / 454.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.03e-05/0.08628, allocations: 27.92 kB / 454.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.578e-05/0.08636, allocations: 19.97 kB / 454.8 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.428e-05/0.08643, allocations: 15.94 kB / 454.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.084e-05/0.08646, allocations: 0 / 454.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.096e-05/0.0865, allocations: 15.91 kB / 454.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.129e-05/0.08659, allocations: 12 kB / 454.8 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.08661, allocations: 4 kB / 454.8 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004886/0.08711, allocations: 335.5 kB / 455.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.575e-05/0.08718, allocations: 19.98 kB / 455.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.871e-05/0.08721, allocations: 4 kB / 455.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004213/0.08764, allocations: 275.5 kB / 455.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.08765, allocations: 7.938 kB / 455.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.08766, allocations: 0 / 455.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.08767, allocations: 0 / 455.5 MB, free: 11.16 MB / 334.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.0004084/0.08808, allocations: 429 kB / 455.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.08812, allocations: 8.031 kB / 455.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.944e-05/0.08818, allocations: 80.22 kB / 456 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.08834, allocations: 243.6 kB / 456.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.182e-05/0.0884, allocations: 158.9 kB / 456.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.032e-05/0.08844, allocations: 154.9 kB / 456.5 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.323e-05/0.08851, allocations: 105.1 kB / 456.6 MB, free: 9.902 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.08854, allocations: 75.28 kB / 456.7 MB, free: 9.828 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-05/0.0886, allocations: 154.5 kB / 456.8 MB, free: 9.676 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.176e-05/0.08865, allocations: 154.6 kB / 457 MB, free: 9.523 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.36e-05/0.08871, allocations: 158.6 kB / 457.1 MB, free: 9.367 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002823/0.089, allocations: 449.9 kB / 457.6 MB, free: 8.879 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.1e-05/0.08909, allocations: 169.2 kB / 457.7 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.938e-05/0.08912, allocations: 80.14 kB / 457.8 MB, free: 8.621 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.08916, allocations: 83.22 kB / 457.9 MB, free: 8.539 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.695e-05/0.08926, allocations: 73.05 kB / 458 MB, free: 8.449 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 2.114e-06/0.08927, allocations: 0 / 458 MB, free: 8.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001485/0.08943, allocations: 63.41 kB / 458 MB, free: 8.375 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.575e-05/0.08951, allocations: 132.5 kB / 458.2 MB, free: 8.215 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.799e-05/0.08961, allocations: 113.8 kB / 458.3 MB, free: 8.094 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.08962, allocations: 25.83 kB / 458.3 MB, free: 8.062 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.08967, allocations: 88.14 kB / 458.4 MB, free: 7.973 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.157e-05/0.08969, allocations: 0 / 458.4 MB, free: 7.973 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.08972, allocations: 17.7 kB / 458.4 MB, free: 7.949 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.357e-05/0.08982, allocations: 310.8 kB / 458.7 MB, free: 7.637 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-06/0.08983, allocations: 0 / 458.7 MB, free: 7.637 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.099e-06/0.08984, allocations: 0 / 458.7 MB, free: 7.637 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.165e-05/0.0899, allocations: 64.27 kB / 458.8 MB, free: 7.559 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.08991, allocations: 4.062 kB / 458.8 MB, free: 7.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.22e-05/0.08999, allocations: 71.23 kB / 458.8 MB, free: 7.473 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.09002, allocations: 37.64 kB / 458.9 MB, free: 7.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.09003, allocations: 256 / 458.9 MB, free: 7.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.09005, allocations: 0 / 458.9 MB, free: 7.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.944e-06/0.09006, allocations: 7.938 kB / 458.9 MB, free: 7.422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.09007, allocations: 0 / 458.9 MB, free: 7.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.63e-05/0.09009, allocations: 0 / 458.9 MB, free: 7.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.0901, allocations: 0 / 458.9 MB, free: 7.422 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 8.87e-05/0.09019, allocations: 147.6 kB / 459 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.09022, allocations: 11.94 kB / 459 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.054e-05/0.09023, allocations: 7.062 kB / 459.1 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.09024, allocations: 0 / 459.1 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.09025, allocations: 0 / 459.1 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.09025, allocations: 0 / 459.1 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.616e-05/0.09035, allocations: 149.7 kB / 459.2 MB, free: 7.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.09036, allocations: 7.922 kB / 459.2 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.09037, allocations: 0 / 459.2 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.09037, allocations: 0 / 459.2 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.09039, allocations: 4 kB / 459.2 MB, free: 7.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.09039, allocations: 4 kB / 459.2 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.0904, allocations: 0 / 459.2 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.853e-05/0.09049, allocations: 90.83 kB / 459.3 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.09054, allocations: 84.98 kB / 459.4 MB, free: 6.816 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.09056, allocations: 0 / 459.4 MB, free: 6.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.811e-05/0.09058, allocations: 8 kB / 459.4 MB, free: 6.809 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.0906, allocations: 3.984 kB / 459.4 MB, free: 6.805 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.09061, allocations: 4.031 kB / 459.4 MB, free: 6.801 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.563e-05/0.09066, allocations: 87.28 kB / 459.5 MB, free: 6.715 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.09067, allocations: 4 kB / 459.5 MB, free: 6.711 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003552/0.09103, allocations: 99.91 kB / 459.6 MB, free: 6.613 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.0006679/0.09171, allocations: 382.5 kB / 460 MB, free: 6.297 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.284e-05/0.0918, allocations: 63.41 kB / 460 MB, free: 6.223 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.09181, allocations: 0 / 460 MB, free: 6.223 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.539e-05/0.09185, allocations: 63.41 kB / 460.1 MB, free: 6.148 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.092, allocations: 7.938 kB / 460.1 MB, free: 6.141 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002048/0.09221, allocations: 120.9 kB / 460.2 MB, free: 5.996 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.09245, allocations: 0.6844 MB / 460.9 MB, free: 5.285 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.518e-06/0.09247, allocations: 0 / 460.9 MB, free: 5.285 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.785e-05/0.09249, allocations: 11.44 kB / 460.9 MB, free: 5.273 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.0925, allocations: 0 / 460.9 MB, free: 5.273 MB / 334.1 MB Notification: Performance of Templates: time 0.004972/0.09748, allocations: 2.283 MB / 463.2 MB, free: 2.992 MB / 334.1 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)