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.005774/0.005774, allocations: 103 kB / 15.73 MB, free: 6.035 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.001236/0.001236, allocations: 190.7 kB / 16.67 MB, free: 5.957 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.006163/0.006163, allocations: 1.01 MB / 291.5 MB, free: 13.73 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.91 kB / 403 MB, free: 31.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08791/0.0891, allocations: 49.65 MB / 452.6 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001462/0.0906, allocations: 0.5008 MB / 453.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.09254, allocations: 1.337 MB / 454.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.928e-05/0.09258, allocations: 0 / 454.4 MB, free: 12.14 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.001319/0.09391, allocations: 306.8 kB / 454.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.201e-05/0.09396, allocations: 27.91 kB / 454.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.845e-05/0.09401, allocations: 12 kB / 454.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.986e-05/0.09408, allocations: 23.84 kB / 454.8 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.641e-05/0.09412, allocations: 4 kB / 454.8 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.723e-05/0.09415, allocations: 8 kB / 454.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.609e-05/0.09425, allocations: 15.98 kB / 454.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.09427, allocations: 0 / 454.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004033/0.09468, allocations: 339.5 kB / 455.2 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.523e-05/0.09474, allocations: 15.94 kB / 455.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.09479, allocations: 11.97 kB / 455.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.09514, allocations: 263.5 kB / 455.4 MB, free: 11.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.09515, allocations: 3.984 kB / 455.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.09516, allocations: 4 kB / 455.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.09517, allocations: 0 / 455.5 MB, free: 11.13 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.0003804/0.09556, allocations: 425 kB / 455.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.0956, allocations: 16.03 kB / 455.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.145e-05/0.09568, allocations: 76.22 kB / 456 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.09585, allocations: 247.6 kB / 456.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.86e-05/0.0959, allocations: 150.9 kB / 456.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.225e-05/0.09596, allocations: 154.9 kB / 456.5 MB, free: 9.988 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.198e-05/0.09604, allocations: 113 kB / 456.6 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.09607, allocations: 79.28 kB / 456.7 MB, free: 9.793 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.095e-05/0.09612, allocations: 150.6 kB / 456.8 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001068/0.09624, allocations: 150.6 kB / 457 MB, free: 9.496 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.208e-05/0.09629, allocations: 150.6 kB / 457.1 MB, free: 9.348 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002595/0.09656, allocations: 449.9 kB / 457.6 MB, free: 8.859 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.569e-05/0.09664, allocations: 177.1 kB / 457.7 MB, free: 8.676 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.903e-05/0.09668, allocations: 84.14 kB / 457.8 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.09671, allocations: 75.28 kB / 457.9 MB, free: 8.516 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001123/0.09682, allocations: 77.05 kB / 458 MB, free: 8.422 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 2.164e-06/0.09684, allocations: 4 kB / 458 MB, free: 8.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001671/0.09701, allocations: 71.31 kB / 458 MB, free: 8.336 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.961e-05/0.09709, allocations: 128.5 kB / 458.2 MB, free: 8.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.051e-05/0.09718, allocations: 113.8 kB / 458.3 MB, free: 8.059 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.0972, allocations: 25.7 kB / 458.3 MB, free: 8.027 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.569e-05/0.09724, allocations: 84.14 kB / 458.4 MB, free: 7.941 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.393e-05/0.09726, allocations: 0 / 458.4 MB, free: 7.941 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.478e-05/0.09729, allocations: 9.719 kB / 458.4 MB, free: 7.926 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.0974, allocations: 323 kB / 458.7 MB, free: 7.602 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.196e-06/0.09741, allocations: 0 / 458.7 MB, free: 7.602 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.552e-06/0.09742, allocations: 3.984 kB / 458.7 MB, free: 7.598 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.078e-05/0.09747, allocations: 64.2 kB / 458.8 MB, free: 7.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.09748, allocations: 0 / 458.8 MB, free: 7.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.251e-05/0.09757, allocations: 71.19 kB / 458.9 MB, free: 7.438 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.09761, allocations: 32.05 kB / 458.9 MB, free: 7.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.09762, allocations: 3.938 kB / 458.9 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.09764, allocations: 8.078 kB / 458.9 MB, free: 7.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.205e-06/0.09765, allocations: 4.25 kB / 458.9 MB, free: 7.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.09766, allocations: 0 / 458.9 MB, free: 7.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.891e-05/0.09768, allocations: 4 kB / 458.9 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.09769, allocations: 0 / 458.9 MB, free: 7.383 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.343e-05/0.09778, allocations: 147.5 kB / 459 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.0978, allocations: 3.938 kB / 459.1 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.038e-05/0.09781, allocations: 3.125 kB / 459.1 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.09782, allocations: 4 kB / 459.1 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.09783, allocations: 7.984 kB / 459.1 MB, free: 7.203 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.09784, allocations: 0 / 459.1 MB, free: 7.203 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.179e-05/0.09794, allocations: 153.7 kB / 459.2 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.09794, allocations: 3.938 kB / 459.2 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.09795, allocations: 0 / 459.2 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.09795, allocations: 0 / 459.2 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.09796, allocations: 0 / 459.2 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.09797, allocations: 0 / 459.2 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.09797, allocations: 0 / 459.2 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.097e-05/0.09807, allocations: 98.77 kB / 459.3 MB, free: 6.879 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.54e-05/0.09811, allocations: 85.05 kB / 459.4 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.09813, allocations: 0 / 459.4 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.391e-05/0.09815, allocations: 0 / 459.4 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.231e-05/0.09817, allocations: 4 kB / 459.4 MB, free: 6.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.09817, allocations: 0 / 459.4 MB, free: 6.773 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.181e-05/0.09824, allocations: 91.27 kB / 459.5 MB, free: 6.684 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.09824, allocations: 0 / 459.5 MB, free: 6.684 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003204/0.09857, allocations: 99.92 kB / 459.6 MB, free: 6.586 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.0006668/0.09924, allocations: 391.3 kB / 460 MB, free: 6.262 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.322e-05/0.09935, allocations: 59.41 kB / 460 MB, free: 6.191 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.09936, allocations: 0 / 460 MB, free: 6.191 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.17e-05/0.09939, allocations: 63.33 kB / 460.1 MB, free: 6.117 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.09954, allocations: 11.88 kB / 460.1 MB, free: 6.105 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002192/0.09977, allocations: 113 kB / 460.2 MB, free: 5.969 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.1, allocations: 0.6885 MB / 460.9 MB, free: 5.254 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.006e-05/0.1, allocations: 0 / 460.9 MB, free: 5.254 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.741e-05/0.1001, allocations: 11.44 kB / 460.9 MB, free: 5.242 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1001, allocations: 0 / 460.9 MB, free: 5.242 MB / 334.1 MB Notification: Performance of Templates: time 0.005241/0.1053, allocations: 2.279 MB / 463.2 MB, free: 2.965 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)