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.004886/0.004886, allocations: 95.05 kB / 15.73 MB, free: 6.039 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.001219/0.001219, allocations: 199.9 kB / 16.68 MB, free: 5.969 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.249/1.249, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005774/0.005774, allocations: 1.008 MB / 291.5 MB, free: 1.176 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 59.91 kB / 402.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2134, allocations: 49.64 MB / 452.6 MB, free: 22.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001372/0.2148, allocations: 0.4998 MB / 453.1 MB, free: 22.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.2163, allocations: 1.341 MB / 454.4 MB, free: 21.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.2163, allocations: 0 / 454.4 MB, free: 21.14 MB / 350.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.001118/0.2174, allocations: 306.2 kB / 454.7 MB, free: 21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.906e-05/0.2175, allocations: 34.95 kB / 454.8 MB, free: 20.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.724e-05/0.2175, allocations: 10.02 kB / 454.8 MB, free: 20.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.081e-05/0.2176, allocations: 16.25 kB / 454.8 MB, free: 20.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.064e-05/0.2176, allocations: 0 / 454.8 MB, free: 20.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.129e-05/0.2177, allocations: 5.969 kB / 454.8 MB, free: 20.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.891e-05/0.2177, allocations: 24.47 kB / 454.8 MB, free: 20.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.2178, allocations: 7 kB / 454.8 MB, free: 20.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003339/0.2181, allocations: 333.5 kB / 455.2 MB, free: 20.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.606e-05/0.2182, allocations: 21.12 kB / 455.2 MB, free: 20.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.841e-05/0.2182, allocations: 3.438 kB / 455.2 MB, free: 20.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002905/0.2185, allocations: 274.6 kB / 455.4 MB, free: 20.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.2185, allocations: 0 / 455.4 MB, free: 20.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2185, allocations: 0 / 455.4 MB, free: 20.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.2185, allocations: 0 / 455.4 MB, free: 20.76 MB / 350.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.0002836/0.2188, allocations: 434.8 kB / 455.9 MB, free: 20.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.2188, allocations: 15.44 kB / 455.9 MB, free: 20.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.2189, allocations: 76.22 kB / 456 MB, free: 20.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.219, allocations: 248.5 kB / 456.2 MB, free: 19.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.219, allocations: 150.9 kB / 456.4 MB, free: 19.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.219, allocations: 154.9 kB / 456.5 MB, free: 19.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.686e-05/0.2191, allocations: 105.8 kB / 456.6 MB, free: 19.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.2191, allocations: 82.28 kB / 456.7 MB, free: 19.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.2191, allocations: 150.6 kB / 456.8 MB, free: 19.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.2192, allocations: 151.2 kB / 457 MB, free: 19.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/0.2192, allocations: 154.5 kB / 457.1 MB, free: 19.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.2193, allocations: 451.8 kB / 457.6 MB, free: 18.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.486e-05/0.2194, allocations: 173.1 kB / 457.7 MB, free: 18.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.344e-05/0.2194, allocations: 80.14 kB / 457.8 MB, free: 18.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.2194, allocations: 75.8 kB / 457.9 MB, free: 18.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.656e-05/0.2195, allocations: 78.38 kB / 458 MB, free: 18.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.124e-06/0.2195, allocations: 0 / 458 MB, free: 18.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001297/0.2196, allocations: 71.72 kB / 458 MB, free: 18.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.2197, allocations: 132.2 kB / 458.2 MB, free: 17.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.432e-05/0.2197, allocations: 113.8 kB / 458.3 MB, free: 17.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.28e-06/0.2198, allocations: 25.7 kB / 458.3 MB, free: 17.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.566e-05/0.2198, allocations: 80.89 kB / 458.4 MB, free: 17.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.155e-05/0.2198, allocations: 0 / 458.4 MB, free: 17.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/0.2198, allocations: 25.39 kB / 458.4 MB, free: 17.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.599e-05/0.2199, allocations: 316.3 kB / 458.7 MB, free: 17.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-06/0.2199, allocations: 0 / 458.7 MB, free: 17.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.929e-06/0.2199, allocations: 7.953 kB / 458.7 MB, free: 17.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.513e-05/0.2199, allocations: 59.98 kB / 458.8 MB, free: 17.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2199, allocations: 0 / 458.8 MB, free: 17.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.199e-05/0.22, allocations: 67.22 kB / 458.9 MB, free: 17.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.22, allocations: 32.72 kB / 458.9 MB, free: 17.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.22, allocations: 3.984 kB / 458.9 MB, free: 17.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.22, allocations: 0.7969 kB / 458.9 MB, free: 17.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/0.22, allocations: 7.281 kB / 458.9 MB, free: 17.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.22, allocations: 0 / 458.9 MB, free: 17.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.595e-05/0.2201, allocations: 0.7031 kB / 458.9 MB, free: 17.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.2201, allocations: 0 / 458.9 MB, free: 17.14 MB / 350.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 5.11e-05/0.2201, allocations: 139.3 kB / 459 MB, free: 17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.2202, allocations: 11.69 kB / 459 MB, free: 16.99 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.935e-06/0.2202, allocations: 3.828 kB / 459 MB, free: 16.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2202, allocations: 0 / 459 MB, free: 16.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.2202, allocations: 3.125 kB / 459 MB, free: 16.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.2202, allocations: 4.609 kB / 459.1 MB, free: 16.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.312e-05/0.2202, allocations: 153 kB / 459.2 MB, free: 16.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2202, allocations: 3.938 kB / 459.2 MB, free: 16.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.2203, allocations: 0 / 459.2 MB, free: 16.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.2203, allocations: 0.7031 kB / 459.2 MB, free: 16.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.2203, allocations: 6.875 kB / 459.2 MB, free: 16.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.2203, allocations: 0 / 459.2 MB, free: 16.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2203, allocations: 0.6094 kB / 459.2 MB, free: 16.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.07e-05/0.2203, allocations: 98.89 kB / 459.3 MB, free: 16.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.383e-05/0.2204, allocations: 81.05 kB / 459.4 MB, free: 16.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.2204, allocations: 3.188 kB / 459.4 MB, free: 16.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.436e-05/0.2204, allocations: 3.469 kB / 459.4 MB, free: 16.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/0.2204, allocations: 0 / 459.4 MB, free: 16.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.2204, allocations: 4 kB / 459.4 MB, free: 16.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.906e-05/0.2205, allocations: 91.58 kB / 459.5 MB, free: 16.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2205, allocations: 6.969 kB / 459.5 MB, free: 16.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.2208, allocations: 105.5 kB / 459.6 MB, free: 16.46 MB / 350.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.0005592/0.2213, allocations: 388.2 kB / 460 MB, free: 16.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.136e-05/0.2214, allocations: 60.61 kB / 460 MB, free: 16.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2214, allocations: 0 / 460 MB, free: 16.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.425e-05/0.2214, allocations: 58.5 kB / 460.1 MB, free: 16.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.2216, allocations: 10.03 kB / 460.1 MB, free: 16.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001838/0.2218, allocations: 126.6 kB / 460.2 MB, free: 16.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.629e-05/0.2219, allocations: 0.6892 MB / 460.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.167e-06/0.2219, allocations: 0 / 460.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.367e-05/0.2219, allocations: 10.62 kB / 460.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2219, allocations: 3.938 kB / 460.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of Templates: time 0.003965/0.2259, allocations: 2.273 MB / 463.2 MB, free: 15.04 MB / 350.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)