Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadStringCSV.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.0008722/0.0008722, allocations: 79.73 kB / 20.75 MB, free: 3.742 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.000888/0.000888, allocations: 169 kB / 24.17 MB, free: 332 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.926/0.926, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.005617/0.005617, allocations: 0.7977 MB / 261.9 MB, free: 12.15 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.ReadStringCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSV") translateModel(KeyWordIO.Examples.ReadStringCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 278.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.547e-05, allocations: 8.703 kB / 278.5 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.001152/0.001167, allocations: 0.5238 MB / 279.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00336/0.004527, allocations: 1.476 MB / 280.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.446e-05/0.004552, allocations: 4 kB / 280.6 MB, free: 9.469 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/readSizeCSV.mo:2:1-41:16:writable] Warning: Pure function 'KeyWordIO.readSizeCSV' contains a call to impure function 'KeyWordIO.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readColsCSV.mo:2:1-18:16:writable] Warning: Pure function 'KeyWordIO.readColsCSV' contains a call to impure function 'KeyWordIO.readSizeCSV'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readStringCSV.mo:2:1-85:18:writable] Warning: Pure function 'KeyWordIO.readStringCSV' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeComponents: time 0.001022/0.005574, allocations: 321.5 kB / 280.9 MB, free: 9.164 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.297e-05/0.005617, allocations: 35.84 kB / 280.9 MB, free: 9.129 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.274e-05/0.00565, allocations: 4 kB / 280.9 MB, free: 9.125 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.451e-05/0.005714, allocations: 39.89 kB / 280.9 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.073e-05/0.005745, allocations: 4 kB / 280.9 MB, free: 9.082 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.694e-05/0.005782, allocations: 15.98 kB / 281 MB, free: 9.066 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.91e-05/0.005821, allocations: 15.98 kB / 281 MB, free: 9.051 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.005831, allocations: 0 / 281 MB, free: 9.051 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003825/0.006213, allocations: 323.4 kB / 281.3 MB, free: 8.734 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.504e-05/0.006258, allocations: 19.97 kB / 281.3 MB, free: 8.715 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.717e-05/0.006276, allocations: 15.94 kB / 281.3 MB, free: 8.699 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003795/0.006655, allocations: 315.1 kB / 281.6 MB, free: 8.391 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.006657, allocations: 0 / 281.6 MB, free: 8.391 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.006657, allocations: 0 / 281.6 MB, free: 8.391 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.625e-06/0.00666, allocations: 0 / 281.6 MB, free: 8.391 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.0002809/0.006941, allocations: 312.1 kB / 281.9 MB, free: 8.062 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.83e-05/0.006969, allocations: 8.031 kB / 281.9 MB, free: 8.055 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.007012, allocations: 80.22 kB / 282 MB, free: 7.977 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.007127, allocations: 204.9 kB / 282.2 MB, free: 7.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.003e-05/0.007167, allocations: 154.9 kB / 282.4 MB, free: 7.598 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.708e-05/0.007205, allocations: 150.9 kB / 282.5 MB, free: 7.449 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.324e-05/0.007248, allocations: 109.5 kB / 282.6 MB, free: 7.336 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.007268, allocations: 75.47 kB / 282.7 MB, free: 7.262 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.385e-05/0.007312, allocations: 166.7 kB / 282.9 MB, free: 7.098 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.874e-05/0.007351, allocations: 150.6 kB / 283 MB, free: 6.949 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.165e-05/0.007392, allocations: 154.5 kB / 283.2 MB, free: 6.797 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.00756, allocations: 361.3 kB / 283.5 MB, free: 6.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.445e-05/0.007624, allocations: 165.1 kB / 283.7 MB, free: 6.258 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.007648, allocations: 84.14 kB / 283.8 MB, free: 6.172 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.007666, allocations: 75.28 kB / 283.8 MB, free: 6.098 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.915e-05/0.007755, allocations: 71.31 kB / 283.9 MB, free: 6.016 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 1.663e-06/0.007756, allocations: 0 / 283.9 MB, free: 6.016 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 8.067e-05/0.007837, allocations: 41.62 kB / 283.9 MB, free: 5.969 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.007866, allocations: 51.41 kB / 284 MB, free: 5.906 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.835e-05/0.007924, allocations: 114.6 kB / 284.1 MB, free: 5.781 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.073e-06/0.007931, allocations: 25.7 kB / 284.1 MB, free: 5.75 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.933e-05/0.007951, allocations: 84.14 kB / 284.2 MB, free: 5.664 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.948e-06/0.00796, allocations: 0 / 284.2 MB, free: 5.664 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.64e-05/0.007977, allocations: 17.84 kB / 284.2 MB, free: 5.641 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.355e-05/0.00804, allocations: 318.8 kB / 284.5 MB, free: 5.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.675e-06/0.008043, allocations: 0 / 284.5 MB, free: 5.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.675e-06/0.008046, allocations: 0 / 284.5 MB, free: 5.32 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.775e-05/0.008064, allocations: 12.84 kB / 284.6 MB, free: 5.305 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.008065, allocations: 0 / 284.6 MB, free: 5.305 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.686e-05/0.008092, allocations: 33.64 kB / 284.6 MB, free: 5.266 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.968e-06/0.008102, allocations: 10.81 kB / 284.6 MB, free: 5.258 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-06/0.008104, allocations: 0 / 284.6 MB, free: 5.258 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.008114, allocations: 96 / 284.6 MB, free: 5.258 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.398e-05/0.008128, allocations: 4 kB / 284.6 MB, free: 5.254 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.008131, allocations: 3.938 kB / 284.6 MB, free: 5.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.566e-06/0.008139, allocations: 0 / 284.6 MB, free: 5.25 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-06/0.008143, allocations: 0 / 284.6 MB, free: 5.25 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 4.75e-05/0.00819, allocations: 116.7 kB / 284.7 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-06/0.008196, allocations: 4 kB / 284.7 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.672e-05/0.008212, allocations: 11.45 kB / 284.7 MB, free: 5.113 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.008214, allocations: 7.984 kB / 284.7 MB, free: 5.105 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.008215, allocations: 0 / 284.7 MB, free: 5.105 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.00822, allocations: 7.875 kB / 284.8 MB, free: 5.098 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.103e-05/0.008271, allocations: 65.91 kB / 284.8 MB, free: 5.016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.4e-07/0.008271, allocations: 0 / 284.8 MB, free: 5.016 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.014e-06/0.008273, allocations: 3.984 kB / 284.8 MB, free: 5.012 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.11e-07/0.008274, allocations: 0 / 284.8 MB, free: 5.012 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.00828, allocations: 0 / 284.8 MB, free: 5.012 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.2e-07/0.00828, allocations: 256 / 284.8 MB, free: 5.012 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.008281, allocations: 0 / 284.8 MB, free: 5.012 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.773e-05/0.008318, allocations: 69 kB / 284.9 MB, free: 4.926 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-06/0.008323, allocations: 4 kB / 284.9 MB, free: 4.922 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.794e-06/0.008331, allocations: 0 / 284.9 MB, free: 4.922 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.547e-06/0.00834, allocations: 12.02 kB / 284.9 MB, free: 4.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.043e-06/0.008347, allocations: 4 kB / 284.9 MB, free: 4.906 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.52e-07/0.008348, allocations: 0 / 284.9 MB, free: 4.906 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.092e-05/0.008359, allocations: 12.84 kB / 284.9 MB, free: 4.891 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008359, allocations: 4 kB / 284.9 MB, free: 4.887 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001766/0.008536, allocations: 103.6 kB / 285 MB, free: 4.785 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0005596/0.009095, allocations: 438.2 kB / 285.5 MB, free: 4.449 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.598e-05/0.009131, allocations: 12.8 kB / 285.5 MB, free: 4.434 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.009134, allocations: 0 / 285.5 MB, free: 4.434 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.428e-06/0.009138, allocations: 8.859 kB / 285.5 MB, free: 4.422 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.955e-05/0.009188, allocations: 16.11 kB / 285.5 MB, free: 4.406 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000151/0.009339, allocations: 127.3 kB / 285.6 MB, free: 4.254 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.357e-05/0.009362, allocations: 55.36 kB / 285.7 MB, free: 4.18 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.064e-05/0.009383, allocations: 11.98 kB / 285.7 MB, free: 4.168 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.00941, allocations: 59.38 kB / 285.7 MB, free: 4.109 MB / 266.7 MB Notification: Performance of SimCode: time 3.91e-07/0.00941, allocations: 0 / 285.7 MB, free: 4.109 MB / 266.7 MB Notification: Performance of Templates: time 0.004467/0.01388, allocations: 2.88 MB / 288.6 MB, free: 1.238 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadStringCSV.makefile [Timeout 660] (rm -f KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadStringCSV.sim & ./KeyWordIO_KeyWordIO.Examples.ReadStringCSV -abortSlowSimulation -alarm=240 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5498265540227294]