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.12.0/package.mo", uses=false) Using package KeyWordIO with version 0.12.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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.001493/0.001493, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 196.9 kB / 16.54 MB, free: 6.672 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.462/1.462, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo): time 0.00951/0.00951, allocations: 1.006 MB / 291.4 MB, free: 1.281 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 63.91 kB / 352.1 MB, free: 6.828 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1034, allocations: 49.65 MB / 401.7 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.001673/0.1051, allocations: 487.1 kB / 402.2 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002092/0.1072, allocations: 1.341 MB / 403.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.639e-05/0.1073, allocations: 0 / 403.5 MB, free: 3.309 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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.0/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.0/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.0/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.001328/0.1086, allocations: 317.2 kB / 403.8 MB, free: 3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.529e-05/0.1087, allocations: 27.91 kB / 403.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.044e-05/0.1087, allocations: 19.97 kB / 403.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.312e-05/0.1088, allocations: 23.92 kB / 403.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.195e-05/0.1088, allocations: 4 kB / 403.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.649e-05/0.1089, allocations: 15.97 kB / 403.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.018e-05/0.1089, allocations: 19.92 kB / 404 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.109, allocations: 0 / 404 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004509/0.1094, allocations: 327.6 kB / 404.3 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.596e-05/0.1095, allocations: 15.98 kB / 404.3 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.738e-05/0.1095, allocations: 15.92 kB / 404.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003911/0.1099, allocations: 271.5 kB / 404.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1099, allocations: 0 / 404.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1099, allocations: 0 / 404.6 MB, free: 2.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1099, allocations: 0 / 404.6 MB, free: 2.273 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.0004512/0.1104, allocations: 411.7 kB / 405 MB, free: 1.824 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.1104, allocations: 8.031 kB / 405 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.022e-05/0.1105, allocations: 84.22 kB / 405.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.1107, allocations: 263.5 kB / 405.3 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.002e-05/0.1108, allocations: 158.9 kB / 405.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.778e-05/0.1109, allocations: 162.9 kB / 405.6 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.831e-05/0.111, allocations: 105.1 kB / 405.7 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/0.111, allocations: 75.28 kB / 405.8 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.101e-05/0.1111, allocations: 154.5 kB / 406 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-05/0.1112, allocations: 154.6 kB / 406.1 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.135e-05/0.1112, allocations: 150.6 kB / 406.3 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/0.1116, allocations: 449.9 kB / 406.7 MB, free: 16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.386e-05/0.1117, allocations: 173.1 kB / 406.9 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.73e-05/0.1117, allocations: 88.14 kB / 407 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.1118, allocations: 75.28 kB / 407 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001343/0.1119, allocations: 67.25 kB / 407.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.295e-06/0.1119, allocations: 4 kB / 407.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001298/0.112, allocations: 37.7 kB / 407.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.1121, allocations: 55.39 kB / 407.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.1122, allocations: 113.8 kB / 407.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.1122, allocations: 25.7 kB / 407.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.112e-05/0.1123, allocations: 84.14 kB / 407.4 MB, free: 15.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.233e-05/0.1123, allocations: 7.875 kB / 407.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.1123, allocations: 13.72 kB / 407.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1125, allocations: 315 kB / 407.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.444e-06/0.1125, allocations: 0 / 407.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.07e-06/0.1125, allocations: 0 / 407.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.448e-05/0.1125, allocations: 12.86 kB / 407.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1125, allocations: 0 / 407.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.831e-05/0.1126, allocations: 41.53 kB / 407.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1126, allocations: 10.19 kB / 407.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1126, allocations: 0 / 407.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.1126, allocations: 4.094 kB / 407.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.078e-05/0.1127, allocations: 0 / 407.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.1127, allocations: 3.938 kB / 407.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.517e-05/0.1127, allocations: 0 / 407.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-06/0.1127, allocations: 0 / 407.8 MB, free: 14.8 MB / 350.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 8.565e-05/0.1128, allocations: 117.8 kB / 407.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.1128, allocations: 11.94 kB / 407.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.298e-05/0.1129, allocations: 3.531 kB / 407.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1129, allocations: 7.938 kB / 407.9 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1129, allocations: 4 kB / 408 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.1129, allocations: 0 / 408 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.113, allocations: 157.7 kB / 408.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.113, allocations: 4.188 kB / 408.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.749e-06/0.113, allocations: 4 kB / 408.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.113, allocations: 0 / 408.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.113, allocations: 0 / 408.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1131, allocations: 0 / 408.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1131, allocations: 0 / 408.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.373e-05/0.1131, allocations: 65.06 kB / 408.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.1132, allocations: 88.95 kB / 408.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.1132, allocations: 4 kB / 408.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.901e-05/0.1132, allocations: 3.984 kB / 408.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.16e-05/0.1133, allocations: 4 kB / 408.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-06/0.1133, allocations: 0 / 408.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.261e-05/0.1133, allocations: 95.27 kB / 408.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1133, allocations: 0 / 408.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003558/0.1137, allocations: 100 kB / 408.5 MB, free: 14.05 MB / 350.1 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.000843/0.1146, allocations: 387.9 kB / 408.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.187e-05/0.1146, allocations: 7.984 kB / 408.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1146, allocations: 0 / 408.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.997e-06/0.1147, allocations: 7.938 kB / 408.9 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.1148, allocations: 9.969 kB / 408.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002245/0.115, allocations: 133.2 kB / 409 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.1154, allocations: 0.6882 MB / 409.7 MB, free: 12.83 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.131e-05/0.1154, allocations: 15.92 kB / 409.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/0.1154, allocations: 11.44 kB / 409.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1154, allocations: 0 / 409.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of Templates: time 0.006088/0.1215, allocations: 2.437 MB / 412.2 MB, free: 10.37 MB / 350.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)