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.0007394/0.0007394, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001102/0.001841, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006963/0.0006963, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00102/0.001716, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9346/0.9346, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08094/1.016, allocations: 53.65 MB / 243.3 MB, free: 15.6 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.003578/0.003578, allocations: 0.798 MB / 244.8 MB, free: 14.07 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.001182/0.00476, allocations: 0.6235 MB / 245.4 MB, free: 13.45 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.112e-06/1.112e-06, allocations: 0 / 246.7 MB, free: 12.19 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.633e-06/7.745e-06, allocations: 2.312 kB / 246.7 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.001319/0.001326, allocations: 1.348 MB / 248 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.002423, allocations: 1.368 MB / 249.4 MB, free: 9.449 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.353e-05/0.002437, allocations: 0 / 249.4 MB, free: 9.449 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.0006104/0.003047, allocations: 253.8 kB / 249.6 MB, free: 9.207 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.613e-05/0.003113, allocations: 59.8 kB / 249.7 MB, free: 9.148 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.894e-06/0.003115, allocations: 0 / 249.7 MB, free: 9.148 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 4.037e-05/0.003155, allocations: 47.84 kB / 249.8 MB, free: 9.102 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.11e-05/0.003176, allocations: 0 / 249.8 MB, free: 9.102 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.078e-05/0.003227, allocations: 39.84 kB / 249.8 MB, free: 9.062 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.006e-05/0.003287, allocations: 19.92 kB / 249.8 MB, free: 9.043 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.31e-06/0.003293, allocations: 0 / 249.8 MB, free: 9.043 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002897/0.003582, allocations: 275.4 kB / 250.1 MB, free: 8.773 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.769e-05/0.00361, allocations: 19.92 kB / 250.1 MB, free: 8.754 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.638e-06/0.00362, allocations: 8 kB / 250.1 MB, free: 8.746 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.00385, allocations: 223.4 kB / 250.3 MB, free: 8.527 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.003857, allocations: 0 / 250.3 MB, free: 8.527 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.003858, allocations: 0 / 250.3 MB, free: 8.527 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.003865, allocations: 4 kB / 250.3 MB, free: 8.523 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.0002011/0.004066, allocations: 319.9 kB / 250.6 MB, free: 8.188 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 1.923e-05/0.004085, allocations: 8.031 kB / 250.6 MB, free: 8.18 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.527e-05/0.00411, allocations: 84.16 kB / 250.7 MB, free: 8.098 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.004211, allocations: 200.9 kB / 250.9 MB, free: 7.875 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/0.004242, allocations: 150.9 kB / 251.1 MB, free: 7.727 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.987e-05/0.004282, allocations: 154.9 kB / 251.2 MB, free: 7.574 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.014e-05/0.004312, allocations: 101.5 kB / 251.3 MB, free: 7.469 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.004327, allocations: 75.47 kB / 251.4 MB, free: 7.395 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.004357, allocations: 162.7 kB / 251.6 MB, free: 7.234 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.616e-05/0.004413, allocations: 154.6 kB / 251.7 MB, free: 7.082 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.172e-05/0.004445, allocations: 162.5 kB / 251.9 MB, free: 6.922 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.004565, allocations: 357.3 kB / 252.2 MB, free: 6.559 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.578e-05/0.00461, allocations: 165.1 kB / 252.4 MB, free: 6.387 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.004632, allocations: 84.14 kB / 252.5 MB, free: 6.301 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.22e-05/0.004704, allocations: 79.27 kB / 252.5 MB, free: 6.223 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.004729, allocations: 105.8 kB / 252.6 MB, free: 6.109 MB / 250.7 MB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.004729, allocations: 0 / 252.6 MB, free: 6.109 MB / 250.7 MB Notification: Performance of matching and sorting (n=0): time 2.99e-05/0.004759, allocations: 33.64 kB / 252.7 MB, free: 6.07 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.004792, allocations: 126.7 kB / 252.8 MB, free: 5.934 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.639e-05/0.004849, allocations: 126.6 kB / 252.9 MB, free: 5.797 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.064e-06/0.004856, allocations: 25.7 kB / 252.9 MB, free: 5.766 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.029e-05/0.004876, allocations: 92.11 kB / 253 MB, free: 5.672 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.32e-07/0.004877, allocations: 0 / 253 MB, free: 5.672 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.375e-05/0.00489, allocations: 13.72 kB / 253 MB, free: 5.652 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.081e-05/0.004951, allocations: 314.8 kB / 253.4 MB, free: 5.336 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-06/0.004953, allocations: 0 / 253.4 MB, free: 5.336 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.004e-06/0.004955, allocations: 0 / 253.4 MB, free: 5.336 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.645e-05/0.004971, allocations: 79.28 kB / 253.4 MB, free: 5.258 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/0.004984, allocations: 75.28 kB / 253.5 MB, free: 5.184 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.904e-05/0.005013, allocations: 37.62 kB / 253.5 MB, free: 5.141 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.005034, allocations: 86.56 kB / 253.6 MB, free: 5.059 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.00505, allocations: 75.28 kB / 253.7 MB, free: 4.984 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.863e-05/0.005088, allocations: 158.5 kB / 253.9 MB, free: 4.828 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.67e-05/0.005105, allocations: 75.28 kB / 253.9 MB, free: 4.754 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.743e-05/0.005133, allocations: 150.7 kB / 254.1 MB, free: 4.605 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.28e-05/0.005175, allocations: 87.17 kB / 254.2 MB, free: 4.52 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.005191, allocations: 79.28 kB / 254.2 MB, free: 4.441 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 0.000186/0.005377, allocations: 271.2 kB / 254.5 MB, free: 4.164 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.005412, allocations: 108.9 kB / 254.6 MB, free: 4.051 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.00544, allocations: 104.5 kB / 254.7 MB, free: 3.941 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.549e-05/0.005476, allocations: 192.2 kB / 254.9 MB, free: 3.746 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.563e-05/0.005511, allocations: 180.3 kB / 255.1 MB, free: 3.562 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.481e-05/0.005546, allocations: 180.2 kB / 255.3 MB, free: 3.379 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.005657, allocations: 329.4 kB / 255.6 MB, free: 3.031 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.177e-05/0.005679, allocations: 105 kB / 255.7 MB, free: 2.922 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.094e-05/0.0057, allocations: 104.9 kB / 255.8 MB, free: 2.812 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.393e-05/0.005724, allocations: 105 kB / 255.9 MB, free: 2.703 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.331e-05/0.005757, allocations: 176.3 kB / 256.1 MB, free: 2.523 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.005796, allocations: 184.2 kB / 256.2 MB, free: 2.336 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.383e-05/0.00583, allocations: 180.2 kB / 256.4 MB, free: 2.152 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.349e-05/0.005863, allocations: 180.2 kB / 256.6 MB, free: 1.969 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.358e-05/0.005937, allocations: 311.8 kB / 256.9 MB, free: 1.641 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.427e-05/0.005981, allocations: 184.2 kB / 257.1 MB, free: 1.453 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.794e-05/0.006029, allocations: 101 kB / 257.2 MB, free: 1.348 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.006067, allocations: 184.2 kB / 257.3 MB, free: 1.16 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.006089, allocations: 105.3 kB / 257.5 MB, free: 1.051 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.918e-05/0.006108, allocations: 24.83 kB / 257.5 MB, free: 1.023 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006108, allocations: 0 / 257.5 MB, free: 1.023 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002278/0.006336, allocations: 79.67 kB / 257.6 MB, free: 0.9453 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.0005114/0.006847, allocations: 453 kB / 258 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 1.81e-05/0.006865, allocations: 7.922 kB / 258 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.006869, allocations: 7.938 kB / 258 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.006869, allocations: 0 / 258 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.007284, allocations: 483.1 kB / 258.5 MB, free: 92 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.007738, allocations: 246.4 kB / 258.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.764e-05/0.007765, allocations: 63.28 kB / 258.8 MB, free: 15.74 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.024e-05/0.007776, allocations: 4 kB / 258.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/0.007801, allocations: 51.38 kB / 258.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of SimCode: time 4e-07/0.007802, allocations: 0 / 258.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of Templates: time 0.002763/0.01057, allocations: 2.152 MB / 261 MB, free: 13.54 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.279775301925838]