Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealCSV.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.ReadRealCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealCSV") translateModel(KeyWordIO.Examples.ReadRealCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealCSV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007624/0.007624, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001615/0.001615, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.006302/0.006302, allocations: 1.009 MB / 291.5 MB, free: 13.76 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 67.89 kB / 403 MB, free: 31.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08307/0.08438, allocations: 49.65 MB / 452.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.00229/0.08671, allocations: 1.258 MB / 453.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.08857, allocations: 1.213 MB / 455.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.08862, allocations: 4 kB / 455.1 MB, free: 11.53 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/readRealCSV.mo:2:1-72:16:writable] Warning: Pure function 'KeyWordIO.readRealCSV' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeComponents: time 0.001367/0.09, allocations: 257.5 kB / 455.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.584e-05/0.09011, allocations: 55.88 kB / 455.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.669e-06/0.09012, allocations: 0 / 455.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.793e-05/0.0902, allocations: 35.84 kB / 455.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.288e-05/0.09025, allocations: 3.984 kB / 455.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.037e-05/0.09029, allocations: 23.92 kB / 455.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.09043, allocations: 35.84 kB / 455.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.09045, allocations: 0 / 455.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004059/0.09086, allocations: 263.7 kB / 455.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.429e-05/0.09093, allocations: 47.83 kB / 455.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.264e-05/0.09096, allocations: 7.938 kB / 455.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003925/0.09136, allocations: 227.6 kB / 456 MB, free: 10.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.09137, allocations: 0 / 456 MB, free: 10.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.09138, allocations: 0 / 456 MB, free: 10.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.09139, allocations: 0 / 456 MB, free: 10.59 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.000405/0.0918, allocations: 395.2 kB / 456.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.09184, allocations: 8.031 kB / 456.4 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.07e-05/0.09191, allocations: 88.06 kB / 456.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.09211, allocations: 271.4 kB / 456.8 MB, free: 9.758 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.214e-05/0.09216, allocations: 150.9 kB / 456.9 MB, free: 9.609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/0.09222, allocations: 150.9 kB / 457.1 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.058e-05/0.09228, allocations: 109.1 kB / 457.2 MB, free: 9.348 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/0.09232, allocations: 79.28 kB / 457.2 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.575e-05/0.09237, allocations: 154.6 kB / 457.4 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-05/0.09242, allocations: 150.6 kB / 457.5 MB, free: 8.969 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.405e-05/0.09248, allocations: 154.5 kB / 457.7 MB, free: 8.816 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002822/0.09277, allocations: 457.9 kB / 458.1 MB, free: 8.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.432e-05/0.09286, allocations: 165.1 kB / 458.3 MB, free: 8.148 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/0.0929, allocations: 84.14 kB / 458.4 MB, free: 8.062 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.09294, allocations: 75.28 kB / 458.5 MB, free: 7.988 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.392e-05/0.093, allocations: 113.8 kB / 458.6 MB, free: 7.867 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.093, allocations: 3.938 kB / 458.6 MB, free: 7.863 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.904e-05/0.09309, allocations: 29.7 kB / 458.6 MB, free: 7.828 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.09314, allocations: 126.7 kB / 458.7 MB, free: 7.691 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.09331, allocations: 141.8 kB / 458.9 MB, free: 7.543 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.278e-06/0.09332, allocations: 25.7 kB / 458.9 MB, free: 7.512 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.679e-05/0.09337, allocations: 84.14 kB / 459 MB, free: 7.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.835e-06/0.09337, allocations: 0 / 459 MB, free: 7.426 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.992e-05/0.0934, allocations: 9.719 kB / 459 MB, free: 7.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.948e-05/0.0935, allocations: 318.8 kB / 459.3 MB, free: 7.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.688e-06/0.09351, allocations: 0 / 459.3 MB, free: 7.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.116e-06/0.09352, allocations: 0 / 459.3 MB, free: 7.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.24e-05/0.09355, allocations: 79.28 kB / 459.4 MB, free: 7.012 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.096e-05/0.09357, allocations: 75.33 kB / 459.4 MB, free: 6.938 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.699e-05/0.09365, allocations: 45.58 kB / 459.5 MB, free: 6.887 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/0.09368, allocations: 79.28 kB / 459.6 MB, free: 6.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-05/0.09371, allocations: 79.38 kB / 459.6 MB, free: 6.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.737e-05/0.09377, allocations: 158.5 kB / 459.8 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.253e-05/0.0938, allocations: 83.2 kB / 459.9 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.73e-05/0.09386, allocations: 154.6 kB / 460 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.77e-05/0.09394, allocations: 83.22 kB / 460.1 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.09397, allocations: 75.28 kB / 460.2 MB, free: 6.184 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001075/0.09408, allocations: 269.1 kB / 460.4 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.337e-05/0.09415, allocations: 116.8 kB / 460.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.946e-05/0.09421, allocations: 112.5 kB / 460.7 MB, free: 5.668 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.118e-05/0.09426, allocations: 176.3 kB / 460.8 MB, free: 5.488 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.799e-05/0.09433, allocations: 180.2 kB / 461 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.374e-05/0.09439, allocations: 180.3 kB / 461.2 MB, free: 5.121 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.09462, allocations: 417.1 kB / 461.6 MB, free: 4.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.618e-05/0.09466, allocations: 112.9 kB / 461.7 MB, free: 4.539 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-05/0.0947, allocations: 108.9 kB / 461.8 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.535e-05/0.09477, allocations: 180.2 kB / 462 MB, free: 4.242 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.86e-05/0.09483, allocations: 188.2 kB / 462.2 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.646e-05/0.09489, allocations: 180.2 kB / 462.4 MB, free: 3.867 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.643e-05/0.09495, allocations: 180.3 kB / 462.5 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.09508, allocations: 303.8 kB / 462.8 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.926e-05/0.09516, allocations: 193.9 kB / 463 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.81e-05/0.09524, allocations: 184.2 kB / 463.2 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.487e-05/0.09532, allocations: 101 kB / 463.3 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.558e-05/0.09539, allocations: 184.2 kB / 463.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.751e-05/0.09544, allocations: 105 kB / 463.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.426e-05/0.09551, allocations: 111.2 kB / 463.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09552, allocations: 0 / 463.7 MB, free: 2.449 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003936/0.09592, allocations: 79.92 kB / 463.8 MB, free: 2.371 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0006527/0.09658, allocations: 401.4 kB / 464.2 MB, free: 2.027 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 3.691e-05/0.09663, allocations: 0 / 464.2 MB, free: 2.027 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.09663, allocations: 0 / 464.2 MB, free: 2.027 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.669e-06/0.09664, allocations: 3.969 kB / 464.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.097, allocations: 467.6 kB / 464.6 MB, free: 1.562 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003343/0.09735, allocations: 246.4 kB / 464.9 MB, free: 1.297 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.09759, allocations: 0.6922 MB / 465.5 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.485e-05/0.09761, allocations: 7.984 kB / 465.6 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.229e-05/0.09764, allocations: 11.44 kB / 465.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.09765, allocations: 0 / 465.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of Templates: time 0.004441/0.1021, allocations: 1.825 MB / 467.4 MB, free: 14.74 MB / 350.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.makefile (rm -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealCSV.sim & ./KeyWordIO_KeyWordIO.Examples.ReadRealCSV -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe 2>&1)