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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001952/0.003048, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001578/0.002654, allocations: 483.5 kB / 11.83 MB, free: 2.34 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9222/0.9222, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08547/1.008, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo): time 0.005369/0.005369, allocations: 0.7904 MB / 245 MB, free: 13.98 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readLineWithoutCache.mo:2:1-87:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/writeLine.mo:2:1-61:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.004385/0.009753, allocations: 0.6395 MB / 245.6 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] Using package KeyWordIO with version 0.12.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(KeyWordIO.Examples.ReadRealCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealCSV") translateModel(KeyWordIO.Examples.ReadRealCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealCSV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 3.938 kB / 246.9 MB, free: 12.06 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.285e-05/1.417e-05, allocations: 2.312 kB / 246.9 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.001826/0.00184, allocations: 1.356 MB / 248.2 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.003236, allocations: 1.38 MB / 249.6 MB, free: 9.301 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.934e-05/0.003255, allocations: 0 / 249.6 MB, free: 9.301 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/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.1/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.000771/0.004026, allocations: 269.1 kB / 249.9 MB, free: 9.043 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.524e-05/0.004111, allocations: 59.83 kB / 249.9 MB, free: 8.984 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.635e-06/0.004114, allocations: 0 / 249.9 MB, free: 8.984 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.041e-05/0.004174, allocations: 35.84 kB / 250 MB, free: 8.949 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.035e-05/0.004205, allocations: 0 / 250 MB, free: 8.949 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.204e-05/0.004267, allocations: 47.78 kB / 250 MB, free: 8.902 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.244e-05/0.004339, allocations: 31.89 kB / 250 MB, free: 8.871 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.574e-06/0.004347, allocations: 4 kB / 250 MB, free: 8.867 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003583/0.004705, allocations: 267.4 kB / 250.3 MB, free: 8.605 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.532e-05/0.00475, allocations: 27.95 kB / 250.3 MB, free: 8.578 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.255e-05/0.004763, allocations: 7.938 kB / 250.3 MB, free: 8.57 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.005002, allocations: 211.4 kB / 250.6 MB, free: 8.363 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.00501, allocations: 0 / 250.6 MB, free: 8.363 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.00501, allocations: 0 / 250.6 MB, free: 8.363 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.005018, allocations: 0 / 250.6 MB, free: 8.363 MB / 250.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.0005437/0.005561, allocations: 319.9 kB / 250.9 MB, free: 8.027 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.803e-05/0.005589, allocations: 16.02 kB / 250.9 MB, free: 8.012 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.005624, allocations: 80.22 kB / 251 MB, free: 7.934 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.005737, allocations: 197 kB / 251.2 MB, free: 7.715 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.711e-05/0.005774, allocations: 150.9 kB / 251.3 MB, free: 7.566 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.005811, allocations: 154.9 kB / 251.5 MB, free: 7.414 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.299e-05/0.005854, allocations: 105.5 kB / 251.6 MB, free: 7.305 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.005875, allocations: 75.47 kB / 251.6 MB, free: 7.23 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.643e-05/0.005911, allocations: 154.7 kB / 251.8 MB, free: 7.078 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-05/0.005949, allocations: 158.6 kB / 251.9 MB, free: 6.922 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.461e-05/0.005983, allocations: 158.5 kB / 252.1 MB, free: 6.766 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.006145, allocations: 349.3 kB / 252.4 MB, free: 6.41 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.966e-05/0.006205, allocations: 173.1 kB / 252.6 MB, free: 6.23 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.141e-05/0.006226, allocations: 84.14 kB / 252.7 MB, free: 6.145 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.006247, allocations: 75.28 kB / 252.8 MB, free: 6.07 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.006281, allocations: 109.8 kB / 252.9 MB, free: 5.953 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 5.91e-07/0.006281, allocations: 0 / 252.9 MB, free: 5.953 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 4.789e-05/0.006329, allocations: 25.7 kB / 252.9 MB, free: 5.922 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.006369, allocations: 130.6 kB / 253 MB, free: 5.781 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.797e-05/0.006447, allocations: 138.5 kB / 253.1 MB, free: 5.633 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.006455, allocations: 25.7 kB / 253.2 MB, free: 5.602 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.293e-05/0.006478, allocations: 84.14 kB / 253.3 MB, free: 5.516 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.52e-07/0.006479, allocations: 0 / 253.3 MB, free: 5.516 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/0.006497, allocations: 13.72 kB / 253.3 MB, free: 5.496 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.279e-05/0.00658, allocations: 322.8 kB / 253.6 MB, free: 5.172 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.194e-06/0.006582, allocations: 0 / 253.6 MB, free: 5.172 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.444e-06/0.006585, allocations: 0 / 253.6 MB, free: 5.172 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.866e-05/0.006604, allocations: 75.28 kB / 253.7 MB, free: 5.098 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.77e-05/0.006621, allocations: 75.28 kB / 253.7 MB, free: 5.023 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.124e-05/0.006662, allocations: 29.7 kB / 253.8 MB, free: 4.988 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.006688, allocations: 79.28 kB / 253.8 MB, free: 4.91 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/0.006707, allocations: 83.22 kB / 253.9 MB, free: 4.828 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.223e-05/0.00675, allocations: 150.6 kB / 254.1 MB, free: 4.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.08e-05/0.00677, allocations: 79.22 kB / 254.1 MB, free: 4.602 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.899e-05/0.006809, allocations: 166.7 kB / 254.3 MB, free: 4.438 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.335e-05/0.006873, allocations: 83.22 kB / 254.4 MB, free: 4.355 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.006892, allocations: 79.22 kB / 254.5 MB, free: 4.277 MB / 250.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 7.626e-05/0.006968, allocations: 263.2 kB / 254.7 MB, free: 4.008 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.007012, allocations: 101 kB / 254.8 MB, free: 3.902 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.975e-05/0.007051, allocations: 116.4 kB / 254.9 MB, free: 3.781 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.252e-05/0.007094, allocations: 180.3 kB / 255.1 MB, free: 3.598 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.41e-05/0.007138, allocations: 180.3 kB / 255.3 MB, free: 3.414 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.621e-05/0.007184, allocations: 188.1 kB / 255.5 MB, free: 3.223 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.007334, allocations: 321.4 kB / 255.8 MB, free: 2.883 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.052e-05/0.007364, allocations: 112.9 kB / 255.9 MB, free: 2.766 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.741e-05/0.007392, allocations: 105 kB / 256 MB, free: 2.656 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.901e-05/0.007421, allocations: 101 kB / 256.1 MB, free: 2.551 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.412e-05/0.007465, allocations: 188.2 kB / 256.3 MB, free: 2.359 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.356e-05/0.007508, allocations: 176.3 kB / 256.5 MB, free: 2.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.904e-05/0.007557, allocations: 180.2 kB / 256.6 MB, free: 1.996 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.184e-05/0.007599, allocations: 184.3 kB / 256.8 MB, free: 1.809 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.529e-05/0.007694, allocations: 311.6 kB / 257.1 MB, free: 1.48 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.729e-05/0.007752, allocations: 180.3 kB / 257.3 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.834e-05/0.00782, allocations: 104.9 kB / 257.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.007866, allocations: 184.2 kB / 257.6 MB, free: 1 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.007896, allocations: 113.2 kB / 257.7 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.193e-05/0.007918, allocations: 21.28 kB / 257.7 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007918, allocations: 0 / 257.7 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003008/0.008219, allocations: 83.66 kB / 257.8 MB, free: 0.7773 MB / 250.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.0006363/0.008855, allocations: 459.9 kB / 258.2 MB, free: 420 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 2.73e-05/0.008883, allocations: 11.94 kB / 258.2 MB, free: 408 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.008886, allocations: 0 / 258.2 MB, free: 408 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.184e-06/0.008888, allocations: 0 / 258.2 MB, free: 408 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004748/0.009363, allocations: 483.6 kB / 258.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005538/0.009917, allocations: 242.3 kB / 259 MB, free: 15.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.725e-05/0.009954, allocations: 59.34 kB / 259 MB, free: 15.58 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.265e-05/0.009966, allocations: 4 kB / 259 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.261e-05/0.01001, allocations: 59.38 kB / 259.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of SimCode: time 4e-07/0.01001, allocations: 0 / 259.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of Templates: time 0.003067/0.01308, allocations: 2.157 MB / 261.2 MB, free: 13.36 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.makefile [Timeout 660] (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=240 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.507698462344706]