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.0007044/0.0007044, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001022/0.001726, allocations: 449.8 kB / 10.44 MB, free: 252 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.000694/0.000694, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001186/0.00188, allocations: 483.5 kB / 11.83 MB, free: 2.34 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.9086/0.9086, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08467/0.9933, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.00354/0.00354, allocations: 0.7919 MB / 245 MB, free: 13.97 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.001531/0.00507, allocations: 0.6395 MB / 245.6 MB, free: 13.33 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.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.212e-06/1.212e-06, allocations: 0 / 246.9 MB, free: 12.06 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.306e-06/9.518e-06, allocations: 10.25 kB / 246.9 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.00114/0.00115, allocations: 0.5475 MB / 247.4 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.002668, allocations: 1.516 MB / 248.9 MB, free: 9.98 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.138e-05/0.00269, allocations: 0 / 248.9 MB, free: 9.98 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/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.0008588/0.003548, allocations: 309 kB / 249.2 MB, free: 9.684 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.619e-05/0.003585, allocations: 23.92 kB / 249.3 MB, free: 9.66 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.261e-05/0.003627, allocations: 11.98 kB / 249.3 MB, free: 9.648 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.288e-05/0.0037, allocations: 35.91 kB / 249.3 MB, free: 9.613 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.169e-05/0.003732, allocations: 3.984 kB / 249.3 MB, free: 9.609 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.497e-05/0.003787, allocations: 19.98 kB / 249.3 MB, free: 9.59 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.234e-05/0.003829, allocations: 19.92 kB / 249.4 MB, free: 9.57 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.00384, allocations: 0 / 249.4 MB, free: 9.57 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004495/0.00429, allocations: 351.3 kB / 249.7 MB, free: 9.227 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.762e-05/0.004338, allocations: 15.98 kB / 249.7 MB, free: 9.211 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.746e-05/0.004355, allocations: 4 kB / 249.7 MB, free: 9.207 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000355/0.00471, allocations: 267.3 kB / 250 MB, free: 8.945 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.07e-05/0.004721, allocations: 7.922 kB / 250 MB, free: 8.938 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004721, allocations: 0 / 250 MB, free: 8.938 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.00473, allocations: 0 / 250 MB, free: 8.938 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.00031/0.00504, allocations: 335.9 kB / 250.3 MB, free: 8.586 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.809e-05/0.005068, allocations: 11.97 kB / 250.3 MB, free: 8.574 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.005112, allocations: 84.2 kB / 250.4 MB, free: 8.492 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.00524, allocations: 201 kB / 250.6 MB, free: 8.27 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.005275, allocations: 154.9 kB / 250.8 MB, free: 8.117 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.13e-05/0.005327, allocations: 158.9 kB / 250.9 MB, free: 7.961 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.198e-05/0.005369, allocations: 101.5 kB / 251 MB, free: 7.855 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.005388, allocations: 75.47 kB / 251.1 MB, free: 7.781 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.171e-05/0.005439, allocations: 158.7 kB / 251.2 MB, free: 7.625 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.37e-05/0.005503, allocations: 154.6 kB / 251.4 MB, free: 7.473 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.315e-05/0.005536, allocations: 154.5 kB / 251.5 MB, free: 7.32 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.005697, allocations: 361.3 kB / 251.9 MB, free: 6.953 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.724e-05/0.005754, allocations: 165.1 kB / 252.1 MB, free: 6.781 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.243e-05/0.005776, allocations: 80.14 kB / 252.1 MB, free: 6.699 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.79e-05/0.005854, allocations: 83.28 kB / 252.2 MB, free: 6.617 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.226e-05/0.005946, allocations: 63.31 kB / 252.3 MB, free: 6.543 MB / 250.7 MB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.005948, allocations: 0 / 252.3 MB, free: 6.543 MB / 250.7 MB Notification: Performance of matching and sorting (n=1): time 7.478e-05/0.006022, allocations: 41.62 kB / 252.3 MB, free: 6.496 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.006051, allocations: 55.41 kB / 252.4 MB, free: 6.43 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.796e-05/0.006109, allocations: 114.6 kB / 252.5 MB, free: 6.305 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.006118, allocations: 25.7 kB / 252.5 MB, free: 6.273 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.03e-05/0.006138, allocations: 84.27 kB / 252.6 MB, free: 6.188 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.542e-05/0.006154, allocations: 4 kB / 252.6 MB, free: 6.184 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/0.006177, allocations: 13.7 kB / 252.6 MB, free: 6.164 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.255e-05/0.00625, allocations: 318.8 kB / 252.9 MB, free: 5.844 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.627e-06/0.006253, allocations: 0 / 252.9 MB, free: 5.844 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.036e-06/0.006256, allocations: 0 / 252.9 MB, free: 5.844 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.702e-05/0.006273, allocations: 8.859 kB / 252.9 MB, free: 5.832 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.006275, allocations: 0 / 252.9 MB, free: 5.832 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.427e-05/0.006309, allocations: 37.58 kB / 253 MB, free: 5.789 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.00632, allocations: 12.08 kB / 253 MB, free: 5.777 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.006324, allocations: 0 / 253 MB, free: 5.777 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.006335, allocations: 4 kB / 253 MB, free: 5.773 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.788e-05/0.006353, allocations: 0 / 253 MB, free: 5.773 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.006356, allocations: 3.938 kB / 253 MB, free: 5.77 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.05e-05/0.006367, allocations: 0 / 253 MB, free: 5.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-06/0.006371, allocations: 0 / 253 MB, free: 5.77 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: 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 5.723e-05/0.006428, allocations: 116.7 kB / 253.1 MB, free: 5.645 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.006438, allocations: 8.234 kB / 253.1 MB, free: 5.637 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.73e-05/0.006455, allocations: 3.469 kB / 253.1 MB, free: 5.633 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.006456, allocations: 0 / 253.1 MB, free: 5.633 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.006459, allocations: 8 kB / 253.1 MB, free: 5.625 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.006463, allocations: 7.938 kB / 253.1 MB, free: 5.617 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.653e-05/0.00653, allocations: 69.88 kB / 253.2 MB, free: 5.531 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.42e-07/0.00653, allocations: 0 / 253.2 MB, free: 5.531 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.553e-06/0.006532, allocations: 0 / 253.2 MB, free: 5.531 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-06/0.006536, allocations: 0 / 253.2 MB, free: 5.531 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.006538, allocations: 0 / 253.2 MB, free: 5.531 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-06/0.00654, allocations: 0 / 253.2 MB, free: 5.531 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.006542, allocations: 4 kB / 253.2 MB, free: 5.527 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.006542, allocations: 3.938 kB / 253.2 MB, free: 5.523 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.481e-05/0.006587, allocations: 65.06 kB / 253.3 MB, free: 5.441 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.155e-05/0.006599, allocations: 7.984 kB / 253.3 MB, free: 5.434 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.25e-05/0.006611, allocations: 4 kB / 253.3 MB, free: 5.43 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.056e-05/0.006622, allocations: 3.984 kB / 253.3 MB, free: 5.426 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.11e-07/0.006623, allocations: 0 / 253.3 MB, free: 5.426 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.58e-05/0.006639, allocations: 12.84 kB / 253.3 MB, free: 5.41 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006639, allocations: 0 / 253.3 MB, free: 5.41 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.003852/0.01049, allocations: 99.61 kB / 253.4 MB, free: 5.312 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: 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.000777/0.01127, allocations: 487.6 kB / 253.9 MB, free: 4.949 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.845e-05/0.01132, allocations: 12.8 kB / 253.9 MB, free: 4.934 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.01132, allocations: 8.094 kB / 253.9 MB, free: 4.926 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.135e-06/0.01133, allocations: 8.844 kB / 253.9 MB, free: 4.914 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.555e-05/0.0114, allocations: 23.91 kB / 253.9 MB, free: 4.891 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000165/0.01157, allocations: 127.3 kB / 254 MB, free: 4.738 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.636e-05/0.0116, allocations: 55.36 kB / 254.1 MB, free: 4.664 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.389e-05/0.01162, allocations: 11.98 kB / 254.1 MB, free: 4.652 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/0.01166, allocations: 59.36 kB / 254.2 MB, free: 4.594 MB / 250.7 MB Notification: Performance of SimCode: time 4.5e-07/0.01166, allocations: 4 kB / 254.2 MB, free: 4.59 MB / 250.7 MB Notification: Performance of Templates: time 0.007592/0.01925, allocations: 2.882 MB / 257.1 MB, free: 1.719 MB / 250.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.4711068803444505]