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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007222/0.007222, allocations: 101.8 kB / 15.73 MB, free: 6.031 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.001718/0.001718, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.006098/0.006098, allocations: 1.002 MB / 291.5 MB, free: 1.176 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 55.91 kB / 402.9 MB, free: 3.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.248, allocations: 49.64 MB / 452.6 MB, free: 22.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.001467/0.2495, allocations: 0.5058 MB / 453.1 MB, free: 22.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.2512, allocations: 1.343 MB / 454.4 MB, free: 21.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.27e-05/0.2512, allocations: 3.938 kB / 454.4 MB, free: 21.22 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.00127/0.2525, allocations: 302 kB / 454.7 MB, free: 21.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.498e-05/0.2526, allocations: 32.47 kB / 454.8 MB, free: 21.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.17e-05/0.2526, allocations: 6.875 kB / 454.8 MB, free: 21.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.577e-05/0.2527, allocations: 36.05 kB / 454.8 MB, free: 21.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.666e-05/0.2527, allocations: 0 / 454.8 MB, free: 21.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.279e-05/0.2528, allocations: 12.48 kB / 454.8 MB, free: 21.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.228e-05/0.2528, allocations: 31.41 kB / 454.9 MB, free: 21.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.2529, allocations: 0 / 454.9 MB, free: 21.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003627/0.2532, allocations: 335 kB / 455.2 MB, free: 20.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.462e-05/0.2533, allocations: 18.17 kB / 455.2 MB, free: 20.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.485e-05/0.2533, allocations: 6.75 kB / 455.2 MB, free: 20.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003055/0.2536, allocations: 278.6 kB / 455.5 MB, free: 20.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2536, allocations: 0 / 455.5 MB, free: 20.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2536, allocations: 0 / 455.5 MB, free: 20.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.2537, allocations: 0 / 455.5 MB, free: 20.83 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.0003331/0.254, allocations: 408.5 kB / 455.9 MB, free: 20.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.254, allocations: 13.22 kB / 455.9 MB, free: 20.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.2541, allocations: 83.16 kB / 456 MB, free: 20.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.2542, allocations: 252.6 kB / 456.2 MB, free: 20.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.2543, allocations: 150.9 kB / 456.4 MB, free: 19.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.2543, allocations: 154.9 kB / 456.5 MB, free: 19.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.399e-05/0.2543, allocations: 108.1 kB / 456.6 MB, free: 19.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.2544, allocations: 79.28 kB / 456.7 MB, free: 19.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.2544, allocations: 153.6 kB / 456.8 MB, free: 19.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.2544, allocations: 150.6 kB / 457 MB, free: 19.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.309e-05/0.2544, allocations: 153.6 kB / 457.1 MB, free: 19.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.2546, allocations: 458.9 kB / 457.6 MB, free: 18.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.595e-05/0.2547, allocations: 173.1 kB / 457.8 MB, free: 18.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.478e-05/0.2547, allocations: 80.14 kB / 457.8 MB, free: 18.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.2547, allocations: 79.22 kB / 457.9 MB, free: 18.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001025/0.2548, allocations: 78.95 kB / 458 MB, free: 18.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.124e-06/0.2548, allocations: 0 / 458 MB, free: 18.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001117/0.2549, allocations: 31.73 kB / 458 MB, free: 18.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.255, allocations: 51.41 kB / 458.1 MB, free: 18.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.768e-05/0.2551, allocations: 123.3 kB / 458.2 MB, free: 18.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.771e-06/0.2551, allocations: 25.7 kB / 458.2 MB, free: 18.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.101e-05/0.2551, allocations: 91.27 kB / 458.3 MB, free: 17.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.245e-05/0.2551, allocations: 7.844 kB / 458.3 MB, free: 17.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.069e-05/0.2551, allocations: 9.719 kB / 458.3 MB, free: 17.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.938e-05/0.2552, allocations: 317.9 kB / 458.6 MB, free: 17.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-06/0.2552, allocations: 3.141 kB / 458.6 MB, free: 17.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.319e-06/0.2552, allocations: 0 / 458.6 MB, free: 17.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.853e-05/0.2552, allocations: 7.922 kB / 458.6 MB, free: 17.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2552, allocations: 0 / 458.6 MB, free: 17.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.344e-05/0.2553, allocations: 39.92 kB / 458.7 MB, free: 17.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.2553, allocations: 6.125 kB / 458.7 MB, free: 17.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2553, allocations: 0 / 458.7 MB, free: 17.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.2553, allocations: 0 / 458.7 MB, free: 17.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.063e-05/0.2553, allocations: 3.188 kB / 458.7 MB, free: 17.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.2554, allocations: 3.938 kB / 458.7 MB, free: 17.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.575e-05/0.2554, allocations: 3.062 kB / 458.7 MB, free: 17.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.2554, allocations: 0 / 458.7 MB, free: 17.53 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): 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 5.491e-05/0.2554, allocations: 117.4 kB / 458.8 MB, free: 17.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.2555, allocations: 14.11 kB / 458.8 MB, free: 17.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.2555, allocations: 6.531 kB / 458.8 MB, free: 17.4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2555, allocations: 0 / 458.8 MB, free: 17.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.2555, allocations: 0 / 458.8 MB, free: 17.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2555, allocations: 0 / 458.8 MB, free: 17.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.915e-05/0.2556, allocations: 159 kB / 459 MB, free: 17.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2556, allocations: 3.938 kB / 459 MB, free: 17.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.536e-06/0.2556, allocations: 3.094 kB / 459 MB, free: 17.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2556, allocations: 0 / 459 MB, free: 17.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.2556, allocations: 7.078 kB / 459 MB, free: 17.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.2556, allocations: 4 kB / 459 MB, free: 17.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2556, allocations: 3.984 kB / 459 MB, free: 17.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.399e-05/0.2557, allocations: 66.11 kB / 459.1 MB, free: 17.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.779e-05/0.2557, allocations: 84.19 kB / 459.2 MB, free: 17.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.2557, allocations: 3 kB / 459.2 MB, free: 17.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.663e-05/0.2558, allocations: 3.141 kB / 459.2 MB, free: 17.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.778e-06/0.2558, allocations: 0 / 459.2 MB, free: 17.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-06/0.2558, allocations: 7.031 kB / 459.2 MB, free: 17.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.257e-05/0.2558, allocations: 99.48 kB / 459.3 MB, free: 16.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2558, allocations: 0 / 459.3 MB, free: 16.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000312/0.2562, allocations: 109 kB / 459.4 MB, free: 16.89 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: 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.0006039/0.2568, allocations: 383.6 kB / 459.8 MB, free: 16.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.102e-05/0.2568, allocations: 7.125 kB / 459.8 MB, free: 16.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2568, allocations: 0 / 459.8 MB, free: 16.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-06/0.2569, allocations: 7.125 kB / 459.8 MB, free: 16.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.257, allocations: 16.81 kB / 459.8 MB, free: 16.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002152/0.2572, allocations: 120.7 kB / 459.9 MB, free: 16.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.2574, allocations: 0.6866 MB / 460.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.008e-05/0.2574, allocations: 9.172 kB / 460.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.994e-05/0.2574, allocations: 11.02 kB / 460.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2574, allocations: 0 / 460.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of Templates: time 0.004999/0.2624, allocations: 2.446 MB / 463.1 MB, free: 15.61 MB / 350.1 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)