Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadStringCSV.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.ReadStringCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSV") translateModel(KeyWordIO.Examples.ReadStringCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 182.1 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.004967/0.004967, 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.227/1.227, allocations: 222.9 MB / 241.6 MB, free: 9.809 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.0009745/0.0009745, allocations: 101.9 kB / 292 MB, free: 9.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001005, allocations: 55.92 kB / 352.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2055, allocations: 49.64 MB / 402.1 MB, free: 31.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.0016/0.2071, allocations: 0.5554 MB / 402.7 MB, free: 31.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.2088, allocations: 1.361 MB / 404 MB, free: 30.08 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.603e-05/0.2088, allocations: 0 / 404 MB, free: 30.08 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/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-master/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-master/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.21, allocations: 241.8 kB / 404.3 MB, free: 29.85 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.843e-05/0.21, allocations: 27.92 kB / 404.3 MB, free: 29.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.572e-05/0.21, allocations: 15.97 kB / 404.3 MB, free: 29.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.53e-05/0.2101, allocations: 23.98 kB / 404.3 MB, free: 29.78 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.794e-05/0.2101, allocations: 4 kB / 404.3 MB, free: 29.78 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.815e-05/0.2102, allocations: 22.72 kB / 404.4 MB, free: 29.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.366e-05/0.2102, allocations: 15.92 kB / 404.4 MB, free: 29.74 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.2102, allocations: 4 kB / 404.4 MB, free: 29.74 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003044/0.2106, allocations: 315.6 kB / 404.7 MB, free: 29.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.325e-05/0.2106, allocations: 31.89 kB / 404.7 MB, free: 29.4 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.334e-05/0.2107, allocations: 7.938 kB / 404.7 MB, free: 29.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.211, allocations: 267.5 kB / 405 MB, free: 29.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.211, allocations: 8 kB / 405 MB, free: 29.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.211, allocations: 3.938 kB / 405 MB, free: 29.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.211, allocations: 0 / 405 MB, free: 29.12 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.0003229/0.2113, allocations: 405.6 kB / 405.4 MB, free: 28.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.2114, allocations: 15.97 kB / 405.4 MB, free: 28.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.796e-05/0.2114, allocations: 80.12 kB / 405.5 MB, free: 28.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.2116, allocations: 251.7 kB / 405.7 MB, free: 28.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.2116, allocations: 150.9 kB / 405.9 MB, free: 28.15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.2116, allocations: 154.9 kB / 406 MB, free: 28 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.143e-05/0.2117, allocations: 105.1 kB / 406.1 MB, free: 27.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.2117, allocations: 75.28 kB / 406.2 MB, free: 27.81 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.2117, allocations: 158.6 kB / 406.4 MB, free: 27.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.853e-05/0.2117, allocations: 154.5 kB / 406.5 MB, free: 27.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.174e-05/0.2118, allocations: 154.6 kB / 406.7 MB, free: 27.35 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.212, allocations: 453.9 kB / 407.1 MB, free: 26.86 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.114e-05/0.212, allocations: 165.1 kB / 407.3 MB, free: 26.69 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.599e-05/0.212, allocations: 80.14 kB / 407.3 MB, free: 26.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.212, allocations: 79.28 kB / 407.4 MB, free: 26.53 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001039/0.2121, allocations: 75.25 kB / 407.5 MB, free: 26.44 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.834e-06/0.2122, allocations: 0 / 407.5 MB, free: 26.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.000115/0.2123, allocations: 33.64 kB / 407.5 MB, free: 26.4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/0.2123, allocations: 55.53 kB / 407.6 MB, free: 26.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.923e-05/0.2124, allocations: 117.8 kB / 407.7 MB, free: 26.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.059e-06/0.2124, allocations: 25.7 kB / 407.7 MB, free: 26.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.728e-05/0.2124, allocations: 80.14 kB / 407.8 MB, free: 26.1 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.24e-05/0.2124, allocations: 11.91 kB / 407.8 MB, free: 26.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.016e-05/0.2125, allocations: 13.7 kB / 407.8 MB, free: 26.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.957e-05/0.2125, allocations: 310.8 kB / 408.1 MB, free: 25.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.704e-06/0.2125, allocations: 0 / 408.1 MB, free: 25.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.349e-06/0.2125, allocations: 8.25 kB / 408.1 MB, free: 25.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.682e-05/0.2125, allocations: 4.859 kB / 408.1 MB, free: 25.74 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.2126, allocations: 4 kB / 408.1 MB, free: 25.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.955e-05/0.2126, allocations: 49.56 kB / 408.2 MB, free: 25.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.2126, allocations: 4 kB / 408.2 MB, free: 25.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.2126, allocations: 0 / 408.2 MB, free: 25.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.2126, allocations: 0 / 408.2 MB, free: 25.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.773e-05/0.2127, allocations: 0 / 408.2 MB, free: 25.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2127, allocations: 8.094 kB / 408.2 MB, free: 25.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.441e-05/0.2127, allocations: 0 / 408.2 MB, free: 25.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.2127, allocations: 3.938 kB / 408.2 MB, free: 25.66 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: 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): 1 * 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 4.896e-05/0.2128, allocations: 117.8 kB / 408.3 MB, free: 25.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.465e-05/0.2128, allocations: 7.922 kB / 408.3 MB, free: 25.53 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.026e-05/0.2128, allocations: 11.53 kB / 408.3 MB, free: 25.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2128, allocations: 0 / 408.3 MB, free: 25.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2128, allocations: 0 / 408.3 MB, free: 25.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.2128, allocations: 0 / 408.3 MB, free: 25.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.235e-05/0.2129, allocations: 157.7 kB / 408.5 MB, free: 25.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2129, allocations: 3.938 kB / 408.5 MB, free: 25.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.086e-06/0.2129, allocations: 0 / 408.5 MB, free: 25.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.2129, allocations: 3.984 kB / 408.5 MB, free: 25.3 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.2129, allocations: 4 kB / 408.5 MB, free: 25.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.2129, allocations: 7.922 kB / 408.5 MB, free: 25.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2129, allocations: 0 / 408.5 MB, free: 25.29 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.2131, allocations: 0.624 MB / 409.1 MB, free: 24.61 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.54e-05/0.2131, allocations: 81.11 kB / 409.2 MB, free: 24.51 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.2132, allocations: 0 / 409.2 MB, free: 24.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.647e-05/0.2132, allocations: 4 kB / 409.2 MB, free: 24.51 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.427e-06/0.2132, allocations: 3.984 kB / 409.2 MB, free: 24.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-06/0.2132, allocations: 0 / 409.2 MB, free: 24.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.315e-05/0.2132, allocations: 95.28 kB / 409.3 MB, free: 24.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2132, allocations: 0 / 409.3 MB, free: 24.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000415/0.2137, allocations: 107.9 kB / 409.4 MB, free: 24.3 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0005706/0.2142, allocations: 397.7 kB / 409.8 MB, free: 23.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.182e-05/0.2143, allocations: 4 kB / 409.8 MB, free: 23.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2143, allocations: 3.938 kB / 409.8 MB, free: 23.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.042e-06/0.2143, allocations: 7.938 kB / 409.8 MB, free: 23.96 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.2145, allocations: 10.94 kB / 409.8 MB, free: 23.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002287/0.2147, allocations: 229.4 kB / 410.1 MB, free: 23.69 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.335e-05/0.2148, allocations: 0.6848 MB / 410.8 MB, free: 22.98 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.596e-05/0.2148, allocations: 8 kB / 410.8 MB, free: 22.97 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.587e-05/0.2149, allocations: 19.42 kB / 410.8 MB, free: 22.95 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.2149, allocations: 0 / 410.8 MB, free: 22.95 MB / 298.7 MB Notification: Performance of Templates: time 0.004072/0.2189, allocations: 2.434 MB / 413.2 MB, free: 20.52 MB / 298.7 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadStringCSV.makefile (rm -f KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadStringCSV.sim & ./KeyWordIO_KeyWordIO.Examples.ReadStringCSV -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe 2>&1)