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.001392/0.001392, allocations: 92.7 kB / 19.44 MB, free: 324 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.001614/0.001614, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.462/1.462, allocations: 177.1 MB / 203.1 MB, free: 5.578 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.007162/0.007162, allocations: 0.7863 MB / 260.3 MB, free: 12.27 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.843e-06/1.843e-06, allocations: 0 / 329.8 MB, free: 19.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.774e-05, allocations: 6.25 kB / 329.8 MB, free: 19.24 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.002016/0.002044, allocations: 1.291 MB / 331.1 MB, free: 17.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.00354, allocations: 1.305 MB / 332.4 MB, free: 16.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.356e-05/0.003574, allocations: 0 / 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.001538/0.005112, allocations: 266.5 kB / 332.7 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.005234, allocations: 67.8 kB / 332.7 MB, free: 16.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.829e-06/0.005239, allocations: 4 kB / 332.7 MB, free: 16.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.577e-05/0.005304, allocations: 43.84 kB / 332.8 MB, free: 16.26 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.694e-05/0.005341, allocations: 0 / 332.8 MB, free: 16.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.57e-05/0.005387, allocations: 23.91 kB / 332.8 MB, free: 16.24 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/0.005563, allocations: 31.28 kB / 332.8 MB, free: 16.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.005576, allocations: 4 kB / 332.8 MB, free: 16.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003916/0.005968, allocations: 259.4 kB / 333.1 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.825e-05/0.006026, allocations: 23.98 kB / 333.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.556e-05/0.006052, allocations: 11.92 kB / 333.1 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004169/0.006469, allocations: 247.3 kB / 333.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.006472, allocations: 0 / 333.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.006474, allocations: 4 kB / 333.4 MB, free: 15.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.006478, allocations: 0 / 333.4 MB, free: 15.67 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.0003083/0.006787, allocations: 321.5 kB / 333.7 MB, free: 15.33 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.006824, allocations: 12.03 kB / 333.7 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.006871, allocations: 80.16 kB / 333.8 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.006989, allocations: 201 kB / 334 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.007012, allocations: 154.9 kB / 334.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.007029, allocations: 150.9 kB / 334.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.502e-05/0.007074, allocations: 101.5 kB / 334.4 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.007089, allocations: 75.47 kB / 334.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.007114, allocations: 158.7 kB / 334.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.007134, allocations: 154.6 kB / 334.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.225e-05/0.007156, allocations: 158.5 kB / 334.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.007333, allocations: 405.6 kB / 335.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.229e-05/0.007395, allocations: 169.1 kB / 335.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.658e-05/0.007412, allocations: 80.14 kB / 335.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.007426, allocations: 75.28 kB / 335.6 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.00745, allocations: 113.8 kB / 335.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.007451, allocations: 0 / 335.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 7.455e-05/0.007525, allocations: 33.59 kB / 335.8 MB, free: 13.15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.007555, allocations: 134.6 kB / 335.9 MB, free: 13.01 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.007666, allocations: 129.7 kB / 336 MB, free: 12.87 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.46e-06/0.007672, allocations: 29.7 kB / 336 MB, free: 12.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.524e-05/0.007697, allocations: 88.12 kB / 336.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.0077, allocations: 0 / 336.1 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/0.007721, allocations: 17.72 kB / 336.1 MB, free: 12.72 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.371e-05/0.007764, allocations: 310.8 kB / 336.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5e-06/0.007769, allocations: 4 kB / 336.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.525e-06/0.007772, allocations: 0 / 336.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.233e-05/0.007784, allocations: 75.28 kB / 336.5 MB, free: 12.33 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.487e-06/0.007794, allocations: 75.28 kB / 336.6 MB, free: 12.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.967e-05/0.007843, allocations: 37.62 kB / 336.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.007864, allocations: 89.78 kB / 336.7 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.007876, allocations: 75.28 kB / 336.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.52e-05/0.007911, allocations: 162.4 kB / 337 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.157e-05/0.007923, allocations: 83.22 kB / 337 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.01e-05/0.007943, allocations: 150.6 kB / 337.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.11e-05/0.008014, allocations: 79.22 kB / 337.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.008026, allocations: 83.33 kB / 337.3 MB, free: 11.5 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 5.814e-05/0.008084, allocations: 264.4 kB / 337.6 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.008126, allocations: 116.9 kB / 337.7 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.367e-05/0.00815, allocations: 108.5 kB / 337.8 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.151e-05/0.008172, allocations: 188.2 kB / 338 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.398e-05/0.008196, allocations: 180.2 kB / 338.2 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-05/0.008218, allocations: 180.3 kB / 338.4 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.008355, allocations: 360.8 kB / 338.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/0.008368, allocations: 101 kB / 338.8 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.106e-05/0.008389, allocations: 112.9 kB / 338.9 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.171e-05/0.008411, allocations: 176.3 kB / 339.1 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.008434, allocations: 176.3 kB / 339.3 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.312e-05/0.008457, allocations: 188.2 kB / 339.4 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.127e-05/0.008478, allocations: 176.3 kB / 339.6 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.471e-05/0.008543, allocations: 315.7 kB / 339.9 MB, free: 8.766 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.008562, allocations: 105 kB / 340 MB, free: 8.656 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.188e-05/0.008603, allocations: 188.2 kB / 340.2 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.469e-05/0.008668, allocations: 101 kB / 340.3 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.853e-05/0.008697, allocations: 184.1 kB / 340.5 MB, free: 8.172 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.008712, allocations: 105.5 kB / 340.6 MB, free: 8.062 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.804e-05/0.00876, allocations: 107.2 kB / 340.7 MB, free: 7.957 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00876, allocations: 0 / 340.7 MB, free: 7.957 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000388/0.009148, allocations: 83.61 kB / 340.8 MB, free: 7.875 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.000709/0.009857, allocations: 416 kB / 341.2 MB, free: 7.512 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.278e-05/0.00989, allocations: 0 / 341.2 MB, free: 7.512 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.009892, allocations: 3.938 kB / 341.2 MB, free: 7.508 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.009893, allocations: 0 / 341.2 MB, free: 7.508 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.01018, allocations: 475.6 kB / 341.7 MB, free: 7.039 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.01045, allocations: 245.4 kB / 341.9 MB, free: 6.773 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.24e-05/0.01049, allocations: 75.33 kB / 342 MB, free: 6.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.22e-05/0.01051, allocations: 7.984 kB / 342 MB, free: 6.672 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.685e-05/0.01053, allocations: 12.5 kB / 342 MB, free: 6.66 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01053, allocations: 0 / 342 MB, free: 6.66 MB / 266.7 MB Notification: Performance of Templates: time 0.00437/0.0149, allocations: 1.866 MB / 343.9 MB, free: 4.797 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=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.408892779960297]