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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.00506/0.00506, allocations: 1.002 MB / 17.73 MB, free: 4.004 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 241.6 MB, free: 9.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009133/0.0009133, allocations: 104.2 kB / 292 MB, free: 9.941 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001005, allocations: 47.92 kB / 352.5 MB, free: 13.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2078, allocations: 49.63 MB / 402.1 MB, free: 31.99 MB / 298.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.001894/0.2097, allocations: 1.328 MB / 403.4 MB, free: 30.67 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.2111, allocations: 1.21 MB / 404.6 MB, free: 29.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.57e-05/0.2111, allocations: 2.844 kB / 404.6 MB, free: 29.45 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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-master/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.001032/0.2121, allocations: 213.8 kB / 404.9 MB, free: 29.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.434e-05/0.2122, allocations: 55.86 kB / 404.9 MB, free: 29.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.715e-06/0.2122, allocations: 0 / 404.9 MB, free: 29.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.373e-05/0.2123, allocations: 119.7 kB / 405 MB, free: 29.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.654e-05/0.2123, allocations: 0 / 405 MB, free: 29.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.833e-05/0.2124, allocations: 15.94 kB / 405 MB, free: 29.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.2125, allocations: 47.88 kB / 405.1 MB, free: 29.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.336e-06/0.2125, allocations: 0 / 405.1 MB, free: 29.01 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002705/0.2128, allocations: 259.6 kB / 405.3 MB, free: 28.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.534e-05/0.2128, allocations: 27.97 kB / 405.4 MB, free: 28.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.491e-05/0.2129, allocations: 15.86 kB / 405.4 MB, free: 28.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002397/0.2131, allocations: 227.6 kB / 405.6 MB, free: 28.49 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2131, allocations: 0 / 405.6 MB, free: 28.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2131, allocations: 4 kB / 405.6 MB, free: 28.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.2131, allocations: 0 / 405.6 MB, free: 28.48 MB / 298.7 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.0002482/0.2134, allocations: 397.3 kB / 406 MB, free: 28.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.2134, allocations: 12.03 kB / 406 MB, free: 28.04 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.985e-05/0.2135, allocations: 88.11 kB / 406.1 MB, free: 27.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.2136, allocations: 255.6 kB / 406.3 MB, free: 27.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.2136, allocations: 150.9 kB / 406.5 MB, free: 27.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.2136, allocations: 154.9 kB / 406.6 MB, free: 27.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.27e-05/0.2137, allocations: 105.1 kB / 406.8 MB, free: 27.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.2137, allocations: 83.28 kB / 406.8 MB, free: 27.17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.2137, allocations: 150.6 kB / 407 MB, free: 27.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.2137, allocations: 150.6 kB / 407.1 MB, free: 26.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.959e-05/0.2138, allocations: 154.5 kB / 407.3 MB, free: 26.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.2139, allocations: 449.9 kB / 407.7 MB, free: 26.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.715e-05/0.214, allocations: 177.1 kB / 407.9 MB, free: 26.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.296e-05/0.214, allocations: 80.14 kB / 408 MB, free: 25.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.214, allocations: 75.28 kB / 408 MB, free: 25.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.214, allocations: 117.7 kB / 408.2 MB, free: 25.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.214, allocations: 0 / 408.2 MB, free: 25.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 5.612e-05/0.2141, allocations: 37.64 kB / 408.2 MB, free: 25.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.2141, allocations: 126.7 kB / 408.3 MB, free: 25.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.2142, allocations: 137.8 kB / 408.5 MB, free: 25.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.63e-06/0.2142, allocations: 25.7 kB / 408.5 MB, free: 25.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.162e-05/0.2143, allocations: 88.14 kB / 408.6 MB, free: 25.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.463e-06/0.2143, allocations: 0 / 408.6 MB, free: 25.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.518e-05/0.2143, allocations: 9.719 kB / 408.6 MB, free: 25.31 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.915e-05/0.2143, allocations: 318.8 kB / 408.9 MB, free: 24.99 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.388e-06/0.2144, allocations: 4 kB / 408.9 MB, free: 24.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.174e-06/0.2144, allocations: 0 / 408.9 MB, free: 24.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.202e-05/0.2144, allocations: 75.28 kB / 409 MB, free: 24.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.2144, allocations: 75.28 kB / 409 MB, free: 24.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.5e-05/0.2144, allocations: 45.55 kB / 409.1 MB, free: 24.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.2145, allocations: 79.28 kB / 409.2 MB, free: 24.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.2145, allocations: 75.28 kB / 409.2 MB, free: 24.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.2145, allocations: 162.5 kB / 409.4 MB, free: 24.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.036e-06/0.2145, allocations: 75.33 kB / 409.5 MB, free: 24.4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/0.2145, allocations: 154.6 kB / 409.6 MB, free: 24.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.917e-05/0.2146, allocations: 83.22 kB / 409.7 MB, free: 24.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.2146, allocations: 83.28 kB / 409.8 MB, free: 24.08 MB / 298.7 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 5.118e-05/0.2147, allocations: 264.4 kB / 410 MB, free: 23.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.231e-05/0.2147, allocations: 120.8 kB / 410.2 MB, free: 23.69 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.092e-05/0.2148, allocations: 104.5 kB / 410.3 MB, free: 23.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/0.2148, allocations: 184.2 kB / 410.4 MB, free: 23.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.191e-05/0.2148, allocations: 184.2 kB / 410.6 MB, free: 23.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.97e-05/0.2148, allocations: 176.3 kB / 410.8 MB, free: 23.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.215, allocations: 413.2 kB / 411.2 MB, free: 22.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.215, allocations: 109 kB / 411.3 MB, free: 22.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.437e-05/0.215, allocations: 108.9 kB / 411.4 MB, free: 22.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-05/0.215, allocations: 176.3 kB / 411.6 MB, free: 22.15 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.215, allocations: 176.3 kB / 411.7 MB, free: 21.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.13e-05/0.2151, allocations: 188.2 kB / 411.9 MB, free: 21.78 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.946e-05/0.2151, allocations: 180.3 kB / 412.1 MB, free: 21.6 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.2153, allocations: 0.8612 MB / 413 MB, free: 20.67 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.655e-05/0.2153, allocations: 178.1 kB / 413.1 MB, free: 20.47 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.2153, allocations: 180.3 kB / 413.3 MB, free: 20.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.333e-05/0.2154, allocations: 108.9 kB / 413.4 MB, free: 20.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.2154, allocations: 188.2 kB / 413.6 MB, free: 19.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.2155, allocations: 108.9 kB / 413.7 MB, free: 19.87 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.333e-05/0.2155, allocations: 107.7 kB / 413.8 MB, free: 19.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2155, allocations: 0 / 413.8 MB, free: 19.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004721/0.216, allocations: 83.92 kB / 413.9 MB, free: 19.68 MB / 298.7 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.0005142/0.2165, allocations: 406.5 kB / 414.3 MB, free: 19.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 2.78e-05/0.2165, allocations: 4 kB / 414.3 MB, free: 19.33 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2166, allocations: 4 kB / 414.3 MB, free: 19.33 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.2166, allocations: 0 / 414.3 MB, free: 19.33 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.2168, allocations: 0.5224 MB / 414.8 MB, free: 18.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002596/0.2171, allocations: 264 kB / 415.1 MB, free: 18.51 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.592e-05/0.2172, allocations: 0.6887 MB / 415.8 MB, free: 17.8 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.009e-05/0.2172, allocations: 0 / 415.8 MB, free: 17.8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.707e-05/0.2172, allocations: 11.44 kB / 415.8 MB, free: 17.79 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2172, allocations: 3.938 kB / 415.8 MB, free: 17.78 MB / 298.7 MB Notification: Performance of Templates: time 0.003357/0.2206, allocations: 1.828 MB / 417.6 MB, free: 15.96 MB / 298.7 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)