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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(KeyWordIO.Examples.ReadStringCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSV") translateModel(KeyWordIO.Examples.ReadStringCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 115.2 kB / 16.42 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 183.9 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006076/0.006076, allocations: 1.003 MB / 292.2 MB, free: 13.77 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 60.09 kB / 403.6 MB, free: 31.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06873/0.06992, allocations: 49.65 MB / 453.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.001347/0.07129, allocations: 0.493 MB / 453.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.07308, allocations: 1.349 MB / 455.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.268e-05/0.07312, allocations: 4 kB / 455.1 MB, free: 12.18 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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.11.0-master/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.11.0-master/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.11.0-master/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.001154/0.07428, allocations: 302.6 kB / 455.4 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.636e-05/0.07434, allocations: 27.91 kB / 455.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.261e-05/0.07439, allocations: 15.98 kB / 455.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.428e-05/0.07448, allocations: 35.78 kB / 455.5 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.332e-05/0.07452, allocations: 11.98 kB / 455.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.918e-05/0.07454, allocations: 4 kB / 455.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.987e-05/0.07461, allocations: 23.91 kB / 455.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.07463, allocations: 4 kB / 455.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00041/0.07504, allocations: 335.5 kB / 455.9 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.898e-05/0.0751, allocations: 23.97 kB / 455.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.07514, allocations: 7.938 kB / 455.9 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003383/0.07548, allocations: 275.5 kB / 456.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.07549, allocations: 0 / 456.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.0755, allocations: 0 / 456.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.07551, allocations: 0 / 456.2 MB, free: 11.14 MB / 334.1 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.0003653/0.07588, allocations: 415.3 kB / 456.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.07592, allocations: 8.031 kB / 456.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.07598, allocations: 84.12 kB / 456.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.07613, allocations: 247.7 kB / 456.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.994e-05/0.07619, allocations: 154.9 kB / 457.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.07624, allocations: 154.9 kB / 457.2 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.772e-05/0.0763, allocations: 109 kB / 457.3 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.07632, allocations: 75.28 kB / 457.4 MB, free: 9.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-05/0.07639, allocations: 150.6 kB / 457.5 MB, free: 9.672 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.159e-05/0.07644, allocations: 154.6 kB / 457.7 MB, free: 9.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.738e-05/0.07649, allocations: 150.6 kB / 457.8 MB, free: 9.371 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002536/0.07675, allocations: 453.9 kB / 458.3 MB, free: 8.879 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.045e-05/0.07683, allocations: 181.1 kB / 458.5 MB, free: 8.691 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.65e-05/0.07686, allocations: 84.14 kB / 458.5 MB, free: 8.605 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.0769, allocations: 79.27 kB / 458.6 MB, free: 8.527 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001117/0.07701, allocations: 71.25 kB / 458.7 MB, free: 8.445 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 2.124e-06/0.07702, allocations: 3.938 kB / 458.7 MB, free: 8.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001087/0.07714, allocations: 37.7 kB / 458.7 MB, free: 8.398 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.07717, allocations: 51.41 kB / 458.8 MB, free: 8.336 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.979e-05/0.07727, allocations: 113.8 kB / 458.9 MB, free: 8.215 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.07728, allocations: 25.7 kB / 458.9 MB, free: 8.184 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.327e-05/0.07732, allocations: 88.12 kB / 459 MB, free: 8.094 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.034e-05/0.07734, allocations: 3.906 kB / 459 MB, free: 8.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.07736, allocations: 17.84 kB / 459 MB, free: 8.066 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.455e-05/0.07746, allocations: 310.8 kB / 459.3 MB, free: 7.754 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.244e-06/0.07748, allocations: 0 / 459.3 MB, free: 7.754 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.841e-06/0.07749, allocations: 4 kB / 459.3 MB, free: 7.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.177e-05/0.07751, allocations: 12.8 kB / 459.3 MB, free: 7.734 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.07752, allocations: 0 / 459.3 MB, free: 7.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.947e-05/0.07757, allocations: 37.62 kB / 459.4 MB, free: 7.691 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.07759, allocations: 11.94 kB / 459.4 MB, free: 7.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.0776, allocations: 4.094 kB / 459.4 MB, free: 7.676 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.07762, allocations: 0 / 459.4 MB, free: 7.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.548e-05/0.07764, allocations: 0 / 459.4 MB, free: 7.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.07765, allocations: 0 / 459.4 MB, free: 7.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.44e-05/0.07767, allocations: 0 / 459.4 MB, free: 7.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.07767, allocations: 0 / 459.4 MB, free: 7.676 MB / 334.1 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 7.194e-05/0.07775, allocations: 118.5 kB / 459.5 MB, free: 7.551 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.07778, allocations: 11.92 kB / 459.5 MB, free: 7.539 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.182e-05/0.0778, allocations: 3.531 kB / 459.5 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.07781, allocations: 4 kB / 459.5 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.07782, allocations: 8.188 kB / 459.5 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.703e-05/0.07785, allocations: 77.11 kB / 459.6 MB, free: 7.426 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.07787, allocations: 7.984 kB / 459.6 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.771e-05/0.0779, allocations: 4 kB / 459.6 MB, free: 7.414 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.665e-06/0.07791, allocations: 0 / 459.6 MB, free: 7.414 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.858e-05/0.07798, allocations: 116.9 kB / 459.7 MB, free: 7.293 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001121/0.0781, allocations: 214.7 kB / 460 MB, free: 7.066 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.432e-05/0.07812, allocations: 11.98 kB / 460 MB, free: 7.055 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.262e-05/0.07817, allocations: 91.28 kB / 460.1 MB, free: 6.965 MB / 334.1 MB Notification: Performance of Backend: time 2e-07/0.07818, allocations: 0 / 460.1 MB, free: 6.965 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008412/0.07902, allocations: 371.5 kB / 460.4 MB, free: 6.668 MB / 334.1 MB Notification: Performance of SimCode: time 0.0003486/0.07938, allocations: 0.5759 MB / 461 MB, free: 6.043 MB / 334.1 MB Notification: Performance of Templates: time 0.004963/0.08436, allocations: 2.458 MB / 463.4 MB, free: 3.586 MB / 334.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadStringCSV.makefile (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=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe 2>&1)