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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 111.2 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo): time 0.006735/0.006735, allocations: 1.025 MB / 305.5 MB, free: 3.488 MB / 238.1 MB " [Timeout remaining time 180] Using package KeyWordIO with version 0.12.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSV") translateModel(KeyWordIO.Examples.ReadStringCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 67.89 kB / 425.3 MB, free: 4.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.278, allocations: 52.35 MB / 477.7 MB, free: 28.46 MB / 366.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.001718/0.2797, allocations: 0.5108 MB / 478.2 MB, free: 28.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.2816, allocations: 1.426 MB / 479.6 MB, free: 27.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.31e-05/0.2817, allocations: 0 / 479.6 MB, free: 27.18 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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.12.0/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.12.0/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.12.0/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.001797/0.2835, allocations: 297.6 kB / 479.9 MB, free: 27.05 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.797e-05/0.2835, allocations: 31.8 kB / 480 MB, free: 27.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.498e-05/0.2836, allocations: 14.2 kB / 480 MB, free: 27.03 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.2837, allocations: 33.83 kB / 480 MB, free: 27.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.935e-05/0.2838, allocations: 0 / 480 MB, free: 27.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.472e-05/0.2838, allocations: 9.031 kB / 480 MB, free: 27.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.2839, allocations: 26.94 kB / 480 MB, free: 27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.2839, allocations: 4 kB / 480 MB, free: 27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005511/0.2845, allocations: 345.4 kB / 480.4 MB, free: 26.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.72e-05/0.2846, allocations: 16.44 kB / 480.4 MB, free: 26.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.66e-05/0.2846, allocations: 6.938 kB / 480.4 MB, free: 26.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004355/0.285, allocations: 281.9 kB / 480.7 MB, free: 26.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.285, allocations: 2.719 kB / 480.7 MB, free: 26.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.285, allocations: 0 / 480.7 MB, free: 26.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.285, allocations: 0 / 480.7 MB, free: 26.79 MB / 366.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.000435/0.2855, allocations: 423.2 kB / 481.1 MB, free: 26.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.2855, allocations: 9.281 kB / 481.1 MB, free: 26.37 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/0.2856, allocations: 86.55 kB / 481.2 MB, free: 26.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.2857, allocations: 253.3 kB / 481.4 MB, free: 26.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.2858, allocations: 157.4 kB / 481.6 MB, free: 25.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.2858, allocations: 150.9 kB / 481.7 MB, free: 25.72 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.712e-05/0.2859, allocations: 109 kB / 481.8 MB, free: 25.61 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.2859, allocations: 75.28 kB / 481.9 MB, free: 25.53 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/0.2859, allocations: 158.6 kB / 482.1 MB, free: 25.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.354e-05/0.2859, allocations: 161.7 kB / 482.2 MB, free: 25.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.064e-05/0.286, allocations: 150.6 kB / 482.4 MB, free: 25.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002243/0.2862, allocations: 451.9 kB / 482.8 MB, free: 24.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.233e-05/0.2862, allocations: 173.1 kB / 483 MB, free: 24.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.854e-05/0.2863, allocations: 83.08 kB / 483.1 MB, free: 24.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.2863, allocations: 75.28 kB / 483.1 MB, free: 24.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.2864, allocations: 72.88 kB / 483.2 MB, free: 24.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 2.404e-06/0.2864, allocations: 0 / 483.2 MB, free: 24.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001848/0.2866, allocations: 35.11 kB / 483.2 MB, free: 24.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.2867, allocations: 54.78 kB / 483.3 MB, free: 24.1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.698e-05/0.2868, allocations: 110.9 kB / 483.4 MB, free: 23.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.443e-06/0.2868, allocations: 28.95 kB / 483.4 MB, free: 23.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.556e-05/0.2868, allocations: 80.14 kB / 483.5 MB, free: 23.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.41e-05/0.2868, allocations: 7.406 kB / 483.5 MB, free: 23.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.2868, allocations: 12.94 kB / 483.5 MB, free: 23.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.016e-05/0.2869, allocations: 314.8 kB / 483.8 MB, free: 23.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-06/0.2869, allocations: 0 / 483.8 MB, free: 23.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-06/0.2869, allocations: 3.281 kB / 483.8 MB, free: 23.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.051e-05/0.2869, allocations: 8.797 kB / 483.9 MB, free: 23.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2869, allocations: 3.25 kB / 483.9 MB, free: 23.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.45e-05/0.287, allocations: 44.45 kB / 483.9 MB, free: 23.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.287, allocations: 9.219 kB / 483.9 MB, free: 23.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.287, allocations: 0 / 483.9 MB, free: 23.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.287, allocations: 0 / 483.9 MB, free: 23.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.202e-05/0.287, allocations: 0 / 483.9 MB, free: 23.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.287, allocations: 3.938 kB / 483.9 MB, free: 23.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.556e-05/0.2871, allocations: 6.938 kB / 483.9 MB, free: 23.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.2871, allocations: 0 / 483.9 MB, free: 23.48 MB / 366.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 6.882e-05/0.2871, allocations: 119.3 kB / 484 MB, free: 23.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/0.2871, allocations: 7.156 kB / 484 MB, free: 23.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.2872, allocations: 11.03 kB / 484.1 MB, free: 23.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2872, allocations: 7.125 kB / 484.1 MB, free: 23.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2872, allocations: 0 / 484.1 MB, free: 23.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2872, allocations: 0 / 484.1 MB, free: 23.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.645e-05/0.2873, allocations: 159.3 kB / 484.2 MB, free: 23.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2873, allocations: 3.938 kB / 484.2 MB, free: 23.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-06/0.2873, allocations: 0 / 484.2 MB, free: 23.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.2873, allocations: 0 / 484.2 MB, free: 23.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.2873, allocations: 3.125 kB / 484.2 MB, free: 23.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2873, allocations: 256 / 484.2 MB, free: 23.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2873, allocations: 4 kB / 484.2 MB, free: 23.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.942e-05/0.2874, allocations: 58.86 kB / 484.3 MB, free: 23.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.896e-05/0.2874, allocations: 88.23 kB / 484.4 MB, free: 22.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.2874, allocations: 0 / 484.4 MB, free: 22.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.836e-05/0.2874, allocations: 6.594 kB / 484.4 MB, free: 22.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.091e-05/0.2874, allocations: 0 / 484.4 MB, free: 22.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.2874, allocations: 0 / 484.4 MB, free: 22.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.019e-05/0.2875, allocations: 100.2 kB / 484.5 MB, free: 22.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2875, allocations: 0 / 484.5 MB, free: 22.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003726/0.2879, allocations: 103.9 kB / 484.6 MB, free: 22.86 MB / 366.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.0008619/0.2887, allocations: 389.9 kB / 485 MB, free: 22.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.527e-05/0.2888, allocations: 3.125 kB / 485 MB, free: 22.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2888, allocations: 0 / 485 MB, free: 22.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.575e-06/0.2888, allocations: 11.09 kB / 485 MB, free: 22.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.289, allocations: 17.09 kB / 485 MB, free: 22.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002522/0.2892, allocations: 130.1 kB / 485.1 MB, free: 22.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.2894, allocations: 0.6884 MB / 485.8 MB, free: 21.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.219e-05/0.2894, allocations: 13.69 kB / 485.8 MB, free: 21.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.099e-05/0.2894, allocations: 13.5 kB / 485.8 MB, free: 21.81 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2894, allocations: 0 / 485.8 MB, free: 21.81 MB / 366.1 MB Notification: Performance of Templates: time 0.005422/0.2948, allocations: 2.43 MB / 488.3 MB, free: 21.56 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadStringCSV.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.667666922323406]