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.002608/0.002608, allocations: 89.48 kB / 19.44 MB, free: 332 kB / 13.93 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.003465/0.003465, allocations: 169.2 kB / 22.76 MB, free: 1.66 MB / 18.57 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 1.692/1.692, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.009171/0.009171, allocations: 0.7903 MB / 260.4 MB, free: 12.28 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. " [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.934e-06/1.934e-06, allocations: 0 / 329.8 MB, free: 19.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.905e-05, allocations: 2.312 kB / 329.8 MB, free: 19.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.002544/0.002573, allocations: 1.297 MB / 331.1 MB, free: 17.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.004232, allocations: 1.317 MB / 332.4 MB, free: 16.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.953e-05/0.004271, allocations: 4 kB / 332.4 MB, free: 16.63 MB / 266.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.00158/0.005851, allocations: 272.9 kB / 332.7 MB, free: 16.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.005964, allocations: 55.83 kB / 332.8 MB, free: 16.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.318e-06/0.005968, allocations: 4 kB / 332.8 MB, free: 16.31 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.838e-05/0.006037, allocations: 39.84 kB / 332.8 MB, free: 16.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.006072, allocations: 3.984 kB / 332.8 MB, free: 16.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.244e-05/0.006124, allocations: 23.92 kB / 332.8 MB, free: 16.24 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.006315, allocations: 31.89 kB / 332.9 MB, free: 16.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.006328, allocations: 0 / 332.9 MB, free: 16.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004412/0.006769, allocations: 259.4 kB / 333.1 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.006831, allocations: 19.98 kB / 333.1 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.86e-05/0.006849, allocations: 7.938 kB / 333.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004479/0.007297, allocations: 251.3 kB / 333.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.007301, allocations: 4 kB / 333.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.007303, allocations: 0 / 333.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.007308, allocations: 0 / 333.4 MB, free: 15.68 MB / 266.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.0003756/0.007683, allocations: 431.5 kB / 333.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.007721, allocations: 8.031 kB / 333.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.863e-05/0.00778, allocations: 132 kB / 333.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.007932, allocations: 247.7 kB / 334.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.007966, allocations: 238.8 kB / 334.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.007998, allocations: 242.8 kB / 334.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.369e-05/0.008051, allocations: 145.5 kB / 334.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.008072, allocations: 119.4 kB / 334.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.624e-05/0.008108, allocations: 246.5 kB / 335.2 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.235e-05/0.008141, allocations: 238.4 kB / 335.4 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.138e-05/0.008182, allocations: 246.3 kB / 335.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002282/0.00841, allocations: 0.572 MB / 336.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.484e-05/0.008505, allocations: 269.4 kB / 336.5 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.256e-05/0.008538, allocations: 126.9 kB / 336.6 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.008566, allocations: 119.2 kB / 336.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.008599, allocations: 152.6 kB / 336.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.0086, allocations: 0 / 336.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 7.966e-05/0.00868, allocations: 37.59 kB / 336.9 MB, free: 12.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.008721, allocations: 178.5 kB / 337.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.008842, allocations: 185.9 kB / 337.2 MB, free: 11.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.751e-06/0.008847, allocations: 25.7 kB / 337.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.566e-05/0.008883, allocations: 130.9 kB / 337.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-06/0.008885, allocations: 0 / 337.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-05/0.008906, allocations: 19.38 kB / 337.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.498e-05/0.009001, allocations: 0.4884 MB / 337.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.392e-06/0.009007, allocations: 0 / 337.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.388e-06/0.009012, allocations: 0 / 337.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.368e-05/0.009036, allocations: 123.2 kB / 338 MB, free: 10.83 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.001e-05/0.009056, allocations: 123.2 kB / 338.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.197e-05/0.009117, allocations: 37.69 kB / 338.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.009147, allocations: 127.2 kB / 338.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.166e-05/0.009169, allocations: 123.1 kB / 338.4 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.274e-05/0.009222, allocations: 242.3 kB / 338.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.749e-05/0.009249, allocations: 131.2 kB / 338.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.778e-05/0.009297, allocations: 246.4 kB / 339 MB, free: 9.809 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.582e-05/0.009373, allocations: 123.1 kB / 339.2 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/0.009404, allocations: 123.2 kB / 339.3 MB, free: 9.566 MB / 266.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 8.807e-05/0.009493, allocations: 391 kB / 339.7 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.009546, allocations: 156.8 kB / 339.8 MB, free: 9.012 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.49e-05/0.00959, allocations: 160.3 kB / 340 MB, free: 8.848 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.96e-05/0.00963, allocations: 268.1 kB / 340.2 MB, free: 8.578 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.524e-05/0.009675, allocations: 272 kB / 340.5 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.591e-05/0.009721, allocations: 264.1 kB / 340.7 MB, free: 8.039 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.009882, allocations: 0.4959 MB / 341.2 MB, free: 7.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.571e-05/0.009908, allocations: 144.9 kB / 341.4 MB, free: 7.352 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.609e-05/0.009934, allocations: 148.9 kB / 341.5 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.575e-05/0.00998, allocations: 272 kB / 341.8 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.897e-05/0.01003, allocations: 268.1 kB / 342.1 MB, free: 6.656 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-05/0.01007, allocations: 268 kB / 342.3 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.017e-05/0.01012, allocations: 268.1 kB / 342.6 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.01026, allocations: 451.9 kB / 343 MB, free: 5.648 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.01031, allocations: 156.9 kB / 343.2 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.846e-05/0.0104, allocations: 268 kB / 343.4 MB, free: 5.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.802e-05/0.01048, allocations: 148.9 kB / 343.6 MB, free: 5.066 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.01054, allocations: 275.9 kB / 343.9 MB, free: 4.789 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.01056, allocations: 145.2 kB / 344 MB, free: 4.641 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.662e-05/0.01062, allocations: 139.2 kB / 344.1 MB, free: 4.504 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01062, allocations: 0 / 344.1 MB, free: 4.504 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004039/0.01102, allocations: 87.61 kB / 344.2 MB, free: 4.418 MB / 266.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.0009872/0.01201, allocations: 453.9 kB / 344.7 MB, free: 4.016 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.737e-05/0.01206, allocations: 0 / 344.7 MB, free: 4.016 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01206, allocations: 4 kB / 344.7 MB, free: 4.012 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.364e-06/0.01206, allocations: 3.938 kB / 344.7 MB, free: 4.008 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.01241, allocations: 0.7209 MB / 345.4 MB, free: 3.285 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003798/0.01279, allocations: 286.9 kB / 345.7 MB, free: 2.977 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.429e-05/0.01284, allocations: 75.19 kB / 345.7 MB, free: 2.883 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.303e-05/0.01286, allocations: 4 kB / 345.7 MB, free: 2.879 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.01289, allocations: 16.48 kB / 345.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01289, allocations: 0 / 345.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of Templates: time 0.004915/0.01781, allocations: 1.871 MB / 347.6 MB, free: 0.9961 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: 5.124750632909127]