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.001286/0.001286, allocations: 71.73 kB / 20.97 MB, free: 3.574 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.001466/0.001466, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9138/0.9138, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.005912/0.005912, allocations: 0.8011 MB / 261.9 MB, free: 12.33 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.352e-06/1.352e-06, allocations: 0 / 331.3 MB, free: 19.23 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/1.978e-05, allocations: 8.922 kB / 331.4 MB, free: 19.22 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.001268/0.001288, allocations: 1.305 MB / 332.7 MB, free: 17.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.002346, allocations: 1.34 MB / 334 MB, free: 16.56 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.121e-05/0.002377, allocations: 0 / 334 MB, free: 16.56 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.0009402/0.003317, allocations: 267.6 kB / 334.3 MB, free: 16.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.292e-05/0.00341, allocations: 71.73 kB / 334.3 MB, free: 16.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.177e-06/0.003414, allocations: 0 / 334.3 MB, free: 16.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.796e-05/0.003492, allocations: 39.84 kB / 334.4 MB, free: 16.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.812e-05/0.003541, allocations: 0 / 334.4 MB, free: 16.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.692e-05/0.003587, allocations: 31.91 kB / 334.4 MB, free: 16.17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.092e-05/0.003668, allocations: 27.95 kB / 334.4 MB, free: 16.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.003679, allocations: 0 / 334.4 MB, free: 16.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003389/0.004018, allocations: 251.5 kB / 334.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.825e-05/0.004086, allocations: 31.91 kB / 334.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.096e-05/0.004107, allocations: 4 kB / 334.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003358/0.004443, allocations: 255.2 kB / 335 MB, free: 15.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.004446, allocations: 0 / 335 MB, free: 15.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.004446, allocations: 0 / 335 MB, free: 15.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.004452, allocations: 0 / 335 MB, free: 15.61 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.0002531/0.004705, allocations: 431.8 kB / 335.4 MB, free: 15.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.004737, allocations: 12.03 kB / 335.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.004773, allocations: 120.1 kB / 335.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.84e-05/0.004871, allocations: 243.8 kB / 335.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.00489, allocations: 238.8 kB / 336 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.004904, allocations: 242.7 kB / 336.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.308e-05/0.004937, allocations: 149.4 kB / 336.4 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.004947, allocations: 123.4 kB / 336.5 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.004965, allocations: 242.5 kB / 336.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.004985, allocations: 238.4 kB / 336.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.873e-05/0.005004, allocations: 242.4 kB / 337.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001372/0.005141, allocations: 0.5798 MB / 337.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.973e-05/0.005181, allocations: 273.4 kB / 338 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.476e-05/0.005196, allocations: 126.9 kB / 338.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.767e-06/0.005204, allocations: 123.2 kB / 338.3 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.005223, allocations: 152.6 kB / 338.4 MB, free: 12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.005224, allocations: 0 / 338.4 MB, free: 12 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 4.876e-05/0.005273, allocations: 33.66 kB / 338.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.005297, allocations: 174.5 kB / 338.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.903e-05/0.005376, allocations: 181.9 kB / 338.8 MB, free: 11.58 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.076e-06/0.005379, allocations: 25.7 kB / 338.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.881e-05/0.005398, allocations: 134.9 kB / 339 MB, free: 11.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.0054, allocations: 7.984 kB / 339 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.336e-05/0.005413, allocations: 19.31 kB / 339 MB, free: 11.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.77e-05/0.005451, allocations: 0.4884 MB / 339.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.428e-06/0.005455, allocations: 7.938 kB / 339.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.916e-06/0.005458, allocations: 0 / 339.5 MB, free: 10.87 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.147e-06/0.005467, allocations: 119.2 kB / 339.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.005475, allocations: 119.2 kB / 339.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.78e-05/0.005503, allocations: 33.75 kB / 339.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.005519, allocations: 123.2 kB / 339.9 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.00553, allocations: 127.1 kB / 340 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.005554, allocations: 238.4 kB / 340.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.558e-06/0.005563, allocations: 127.2 kB / 340.4 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.504e-05/0.005589, allocations: 250.3 kB / 340.6 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.118e-05/0.00563, allocations: 127.2 kB / 340.7 MB, free: 9.617 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.005642, allocations: 123.1 kB / 340.8 MB, free: 9.496 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 6.081e-05/0.005703, allocations: 395 kB / 341.2 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/0.005728, allocations: 148.8 kB / 341.4 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.84e-05/0.005757, allocations: 156.3 kB / 341.5 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-05/0.005782, allocations: 272 kB / 341.8 MB, free: 8.512 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.587e-05/0.005808, allocations: 268 kB / 342.1 MB, free: 8.242 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-05/0.005839, allocations: 272 kB / 342.3 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.00594, allocations: 0.4921 MB / 342.8 MB, free: 7.434 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.331e-05/0.005953, allocations: 148.8 kB / 343 MB, free: 7.281 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.532e-05/0.005968, allocations: 148.9 kB / 343.1 MB, free: 7.129 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.433e-05/0.005993, allocations: 268.1 kB / 343.4 MB, free: 6.859 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.006021, allocations: 268 kB / 343.6 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.236e-05/0.006043, allocations: 272.1 kB / 343.9 MB, free: 6.316 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.408e-05/0.006067, allocations: 268 kB / 344.2 MB, free: 6.047 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.669e-05/0.006134, allocations: 448 kB / 344.6 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.904e-05/0.006153, allocations: 152.8 kB / 344.7 MB, free: 5.426 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.00619, allocations: 272.1 kB / 345 MB, free: 5.152 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.83e-05/0.006228, allocations: 152.8 kB / 345.2 MB, free: 4.996 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.006261, allocations: 268 kB / 345.4 MB, free: 4.727 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.006277, allocations: 153.2 kB / 345.6 MB, free: 4.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.557e-05/0.006313, allocations: 135.6 kB / 345.7 MB, free: 4.438 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006313, allocations: 0 / 345.7 MB, free: 4.438 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002673/0.00658, allocations: 87.55 kB / 345.8 MB, free: 4.352 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.0004919/0.007072, allocations: 468.3 kB / 346.2 MB, free: 3.938 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.967e-05/0.007122, allocations: 0 / 346.2 MB, free: 3.938 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.007124, allocations: 0 / 346.2 MB, free: 3.938 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.007125, allocations: 0 / 346.2 MB, free: 3.938 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.007336, allocations: 0.7178 MB / 347 MB, free: 3.215 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002684/0.007604, allocations: 287.5 kB / 347.2 MB, free: 2.906 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.642e-05/0.00763, allocations: 67.2 kB / 347.3 MB, free: 2.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.117e-06/0.00764, allocations: 0 / 347.3 MB, free: 2.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.754e-05/0.007657, allocations: 20.48 kB / 347.3 MB, free: 2.801 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.007658, allocations: 0 / 347.3 MB, free: 2.801 MB / 266.7 MB Notification: Performance of Templates: time 0.003067/0.01073, allocations: 1.863 MB / 349.2 MB, free: 0.9414 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.5802200590260327]