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.000921/0.000921, allocations: 80.39 kB / 21.47 MB, free: 3.031 MB / 18.57 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.0008637/0.0008637, allocations: 172.2 kB / 24.87 MB, free: 9.227 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 0.9844/0.9844, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.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.004063/0.004063, allocations: 0.8013 MB / 262.6 MB, free: 12.12 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.523e-06/1.523e-06, allocations: 0 / 332.6 MB, free: 3.715 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.333e-05, allocations: 2.312 kB / 332.6 MB, free: 3.711 MB / 298.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.002431/0.002454, allocations: 1.301 MB / 333.9 MB, free: 2.398 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.00439, allocations: 1.344 MB / 335.2 MB, free: 1.043 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.05e-05/0.004431, allocations: 0 / 335.2 MB, free: 1.043 MB / 298.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.001178/0.005609, allocations: 268 kB / 335.5 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.445e-05/0.005693, allocations: 71.73 kB / 335.6 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.755e-06/0.005696, allocations: 0 / 335.6 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.762e-05/0.005754, allocations: 39.84 kB / 335.6 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.005797, allocations: 0 / 335.6 MB, free: 0.6797 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.589e-05/0.005843, allocations: 23.92 kB / 335.6 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.005946, allocations: 27.95 kB / 335.7 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.005957, allocations: 0 / 335.7 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003887/0.006345, allocations: 255.5 kB / 335.9 MB, free: 388 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.085e-05/0.006406, allocations: 31.89 kB / 335.9 MB, free: 356 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.843e-05/0.006425, allocations: 8 kB / 335.9 MB, free: 348 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003749/0.0068, allocations: 255.2 kB / 336.2 MB, free: 92 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.006802, allocations: 0 / 336.2 MB, free: 92 kB / 298.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.006803, allocations: 0 / 336.2 MB, free: 92 kB / 298.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.006807, allocations: 0 / 336.2 MB, free: 92 kB / 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.0003772/0.007184, allocations: 424 kB / 336.6 MB, free: 15.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.007223, allocations: 12.03 kB / 336.6 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/0.007281, allocations: 132.1 kB / 336.7 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.007444, allocations: 235.8 kB / 337 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.418e-05/0.007518, allocations: 242.8 kB / 337.2 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.64e-05/0.007595, allocations: 238.8 kB / 337.4 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.633e-05/0.007661, allocations: 149.5 kB / 337.6 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.254e-05/0.007714, allocations: 119.4 kB / 337.7 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.697e-05/0.007791, allocations: 250.5 kB / 338 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/0.007895, allocations: 242.3 kB / 338.2 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.194e-05/0.007967, allocations: 238.4 kB / 338.4 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/0.00827, allocations: 0.5569 MB / 339 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.008453, allocations: 269.4 kB / 339.2 MB, free: 12.92 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.271e-05/0.008495, allocations: 126.9 kB / 339.4 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.00853, allocations: 127.1 kB / 339.5 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.125e-05/0.008581, allocations: 156.6 kB / 339.6 MB, free: 12.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.008582, allocations: 0 / 339.6 MB, free: 12.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 6.979e-05/0.008652, allocations: 33.64 kB / 339.7 MB, free: 12.46 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.028e-05/0.008732, allocations: 170.6 kB / 339.8 MB, free: 12.28 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.008866, allocations: 177.8 kB / 340 MB, free: 12.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.008877, allocations: 25.7 kB / 340 MB, free: 12.06 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.888e-05/0.008936, allocations: 142.8 kB / 340.2 MB, free: 11.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.41e-07/0.008937, allocations: 4 kB / 340.2 MB, free: 11.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.008962, allocations: 15.38 kB / 340.2 MB, free: 11.89 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.009105, allocations: 0.4883 MB / 340.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.196e-06/0.009108, allocations: 0 / 340.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.112e-06/0.009114, allocations: 3.938 kB / 340.7 MB, free: 11.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.792e-05/0.009152, allocations: 119.2 kB / 340.8 MB, free: 11.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000172/0.009324, allocations: 119.2 kB / 340.9 MB, free: 11.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.816e-05/0.009383, allocations: 33.75 kB / 341 MB, free: 11.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.287e-05/0.009425, allocations: 127.2 kB / 341.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.582e-05/0.009461, allocations: 123.2 kB / 341.2 MB, free: 10.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.425e-05/0.009535, allocations: 246.3 kB / 341.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.932e-05/0.009565, allocations: 119.3 kB / 341.6 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.776e-05/0.009633, allocations: 254.3 kB / 341.8 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.446e-05/0.009717, allocations: 123.2 kB / 341.9 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.009749, allocations: 119.2 kB / 342 MB, free: 10.02 MB / 314.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 0.0001277/0.009877, allocations: 402.9 kB / 342.4 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.078e-05/0.009948, allocations: 152.8 kB / 342.6 MB, free: 9.453 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.938e-05/0.01001, allocations: 156.1 kB / 342.7 MB, free: 9.293 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.129e-05/0.01008, allocations: 268 kB / 343 MB, free: 9.023 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-05/0.01015, allocations: 268.1 kB / 343.3 MB, free: 8.754 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.457e-05/0.01022, allocations: 280 kB / 343.5 MB, free: 8.473 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.01044, allocations: 480.5 kB / 344 MB, free: 7.969 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.855e-05/0.01048, allocations: 144.9 kB / 344.2 MB, free: 7.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.03e-05/0.01052, allocations: 152.8 kB / 344.3 MB, free: 7.664 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.961e-05/0.01059, allocations: 268.1 kB / 344.6 MB, free: 7.395 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003475/0.01094, allocations: 268 kB / 344.8 MB, free: 7.125 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.143e-05/0.01101, allocations: 268.1 kB / 345.1 MB, free: 6.855 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.316e-05/0.01108, allocations: 268.1 kB / 345.3 MB, free: 6.586 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.01124, allocations: 455.9 kB / 345.8 MB, free: 6.113 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.035e-05/0.01129, allocations: 156.8 kB / 345.9 MB, free: 5.953 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.45e-05/0.01137, allocations: 268.1 kB / 346.2 MB, free: 5.684 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.225e-05/0.01146, allocations: 152.9 kB / 346.4 MB, free: 5.527 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.364e-05/0.01154, allocations: 268 kB / 346.6 MB, free: 5.258 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/0.01158, allocations: 153.2 kB / 346.8 MB, free: 5.102 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.129e-05/0.01165, allocations: 139.5 kB / 346.9 MB, free: 4.965 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01165, allocations: 3.938 kB / 346.9 MB, free: 4.961 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004139/0.01206, allocations: 79.67 kB / 347 MB, free: 4.883 MB / 314.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.0007019/0.01277, allocations: 466.8 kB / 347.4 MB, free: 4.477 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 3.896e-05/0.01281, allocations: 3.938 kB / 347.4 MB, free: 4.473 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01281, allocations: 4 kB / 347.4 MB, free: 4.469 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.31e-07/0.01281, allocations: 0 / 347.4 MB, free: 4.469 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.01317, allocations: 0.714 MB / 348.2 MB, free: 3.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00028/0.01345, allocations: 277.7 kB / 348.4 MB, free: 3.449 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.461e-05/0.01348, allocations: 59.34 kB / 348.5 MB, free: 3.371 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.569e-05/0.0135, allocations: 8 kB / 348.5 MB, free: 3.363 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.01354, allocations: 82.12 kB / 348.6 MB, free: 3.281 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01354, allocations: 0 / 348.6 MB, free: 3.281 MB / 314.7 MB Notification: Performance of Templates: time 0.003471/0.01701, allocations: 2.167 MB / 350.7 MB, free: 1.109 MB / 314.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.788823036942631]