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-master/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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.001159/0.001159, allocations: 104.8 kB / 15.99 MB, free: 6.355 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.001227/0.001228, allocations: 193.3 kB / 16.91 MB, free: 6.188 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.378/1.378, allocations: 222.9 MB / 240.6 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006231/0.006231, allocations: 0.9983 MB / 291.7 MB, free: 14.06 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001256, allocations: 63.91 kB / 352.2 MB, free: 1.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2236, allocations: 49.63 MB / 401.9 MB, free: 35.81 MB / 302.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.002316/0.226, allocations: 1.324 MB / 403.2 MB, free: 34.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.2275, allocations: 1.194 MB / 404.4 MB, free: 33.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.262e-05/0.2276, allocations: 0 / 404.4 MB, free: 33.29 MB / 302.1 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.001355/0.229, allocations: 228.2 kB / 404.6 MB, free: 33.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.588e-05/0.2291, allocations: 59.88 kB / 404.7 MB, free: 33.01 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.99e-06/0.2291, allocations: 0 / 404.7 MB, free: 33.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.509e-05/0.2291, allocations: 39.84 kB / 404.7 MB, free: 32.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.102e-05/0.2292, allocations: 3.938 kB / 404.7 MB, free: 32.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.89e-05/0.2292, allocations: 19.92 kB / 404.7 MB, free: 32.95 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.2293, allocations: 35.95 kB / 404.8 MB, free: 32.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.2294, allocations: 7.938 kB / 404.8 MB, free: 32.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003437/0.2297, allocations: 259.6 kB / 405 MB, free: 32.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.17e-05/0.2298, allocations: 27.97 kB / 405 MB, free: 32.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.657e-05/0.2298, allocations: 23.86 kB / 405.1 MB, free: 32.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.2301, allocations: 151.7 kB / 405.2 MB, free: 32.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2301, allocations: 4 kB / 405.2 MB, free: 32.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2301, allocations: 0 / 405.2 MB, free: 32.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.2301, allocations: 0 / 405.2 MB, free: 32.45 MB / 302.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.0003135/0.2304, allocations: 401.2 kB / 405.6 MB, free: 32.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.2305, allocations: 12.03 kB / 405.6 MB, free: 32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.2305, allocations: 80.12 kB / 405.7 MB, free: 31.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.2306, allocations: 259.5 kB / 406 MB, free: 31.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.2307, allocations: 158.9 kB / 406.1 MB, free: 31.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.2307, allocations: 150.9 kB / 406.3 MB, free: 31.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.797e-05/0.2307, allocations: 109 kB / 406.4 MB, free: 31.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.2308, allocations: 75.28 kB / 406.4 MB, free: 31.13 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.2308, allocations: 150.6 kB / 406.6 MB, free: 30.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.396e-05/0.2308, allocations: 150.6 kB / 406.7 MB, free: 30.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.44e-05/0.2308, allocations: 158.6 kB / 406.9 MB, free: 30.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002048/0.2311, allocations: 453.9 kB / 407.3 MB, free: 30.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.15e-05/0.2311, allocations: 169.1 kB / 407.5 MB, free: 30.01 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.544e-05/0.2311, allocations: 84.12 kB / 407.6 MB, free: 29.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.2311, allocations: 79.28 kB / 407.7 MB, free: 29.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.2312, allocations: 109.8 kB / 407.8 MB, free: 29.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.2312, allocations: 4 kB / 407.8 MB, free: 29.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.509e-05/0.2312, allocations: 29.7 kB / 407.8 MB, free: 29.69 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.2313, allocations: 126.7 kB / 407.9 MB, free: 29.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.2314, allocations: 137.8 kB / 408.1 MB, free: 29.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.671e-06/0.2314, allocations: 25.7 kB / 408.1 MB, free: 29.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.401e-05/0.2314, allocations: 88.14 kB / 408.2 MB, free: 29.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-06/0.2315, allocations: 0 / 408.2 MB, free: 29.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.803e-05/0.2315, allocations: 17.72 kB / 408.2 MB, free: 29.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.622e-05/0.2315, allocations: 318.8 kB / 408.5 MB, free: 28.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.539e-06/0.2315, allocations: 0 / 408.5 MB, free: 28.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.886e-06/0.2315, allocations: 0 / 408.5 MB, free: 28.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.133e-05/0.2316, allocations: 79.22 kB / 408.6 MB, free: 28.87 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.2316, allocations: 75.28 kB / 408.6 MB, free: 28.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.122e-05/0.2316, allocations: 37.64 kB / 408.7 MB, free: 28.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.2317, allocations: 83.28 kB / 408.8 MB, free: 28.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.2317, allocations: 79.22 kB / 408.8 MB, free: 28.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.922e-05/0.2317, allocations: 154.6 kB / 409 MB, free: 28.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.004e-05/0.2317, allocations: 79.28 kB / 409.1 MB, free: 28.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.993e-05/0.2317, allocations: 158.5 kB / 409.2 MB, free: 28.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.949e-05/0.2318, allocations: 87.27 kB / 409.3 MB, free: 28.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.2318, allocations: 79.22 kB / 409.4 MB, free: 28.04 MB / 302.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 5.738e-05/0.2319, allocations: 264.4 kB / 409.6 MB, free: 27.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.2319, allocations: 112.8 kB / 409.8 MB, free: 27.65 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.731e-05/0.232, allocations: 112.5 kB / 409.9 MB, free: 27.53 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.547e-05/0.232, allocations: 184.2 kB / 410 MB, free: 27.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.181e-05/0.232, allocations: 176.3 kB / 410.2 MB, free: 27.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.391e-05/0.2321, allocations: 188.2 kB / 410.4 MB, free: 26.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.2322, allocations: 409.2 kB / 410.8 MB, free: 26.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/0.2322, allocations: 105 kB / 410.9 MB, free: 26.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.664e-05/0.2322, allocations: 108.9 kB / 411 MB, free: 26.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-05/0.2323, allocations: 180.3 kB / 411.2 MB, free: 26.11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.2323, allocations: 184.2 kB / 411.4 MB, free: 25.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.238e-05/0.2323, allocations: 176.3 kB / 411.5 MB, free: 25.74 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.421e-05/0.2324, allocations: 184.2 kB / 411.7 MB, free: 25.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.359e-05/0.2324, allocations: 308.2 kB / 412 MB, free: 25.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/0.2325, allocations: 197.9 kB / 412.2 MB, free: 25.01 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.2325, allocations: 180.2 kB / 412.4 MB, free: 24.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/0.2326, allocations: 101 kB / 412.5 MB, free: 24.72 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.2326, allocations: 188.2 kB / 412.7 MB, free: 24.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.78e-05/0.2327, allocations: 104.9 kB / 412.8 MB, free: 24.42 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.138e-05/0.2327, allocations: 111.3 kB / 412.9 MB, free: 24.31 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2327, allocations: 0 / 412.9 MB, free: 24.31 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003903/0.2331, allocations: 79.97 kB / 413 MB, free: 24.23 MB / 302.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.0005766/0.2337, allocations: 402 kB / 413.4 MB, free: 23.89 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.918e-05/0.2338, allocations: 3.938 kB / 413.4 MB, free: 23.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2338, allocations: 4 kB / 413.4 MB, free: 23.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.2338, allocations: 0 / 413.4 MB, free: 23.88 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.2341, allocations: 462 kB / 413.8 MB, free: 23.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002513/0.2343, allocations: 240.1 kB / 414 MB, free: 23.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.556e-05/0.2344, allocations: 0.6806 MB / 414.7 MB, free: 22.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.2345, allocations: 15.42 kB / 414.7 MB, free: 22.44 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2345, allocations: 4 kB / 414.7 MB, free: 22.43 MB / 302.1 MB Notification: Performance of Templates: time 0.003211/0.2377, allocations: 2.09 MB / 416.8 MB, free: 20.34 MB / 302.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)