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.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+X/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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.ReadRealCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealCSV") translateModel(KeyWordIO.Examples.ReadRealCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealCSV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004824/0.004824, allocations: 102.7 kB / 15.73 MB, free: 5.992 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.001203/0.001203, allocations: 190.2 kB / 16.67 MB, free: 5.91 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.235/1.235, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005779/0.005779, allocations: 1.01 MB / 291.5 MB, free: 13.75 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001045/0.001045, allocations: 59.91 kB / 403 MB, free: 31.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06779/0.06885, allocations: 49.65 MB / 452.6 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.00194/0.07082, allocations: 1.266 MB / 453.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.07246, allocations: 1.217 MB / 455.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.448e-05/0.0725, allocations: 0 / 455.1 MB, free: 11.52 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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+X/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.001053/0.07356, allocations: 266 kB / 455.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.936e-05/0.07365, allocations: 47.89 kB / 455.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.659e-06/0.07366, allocations: 4 kB / 455.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.102e-05/0.07373, allocations: 31.91 kB / 455.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.559e-05/0.07377, allocations: 11.97 kB / 455.4 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.879e-05/0.0738, allocations: 19.88 kB / 455.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.07392, allocations: 35.89 kB / 455.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.995e-06/0.07394, allocations: 0 / 455.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003343/0.07428, allocations: 263.6 kB / 455.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.398e-05/0.07434, allocations: 39.89 kB / 455.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.715e-05/0.07436, allocations: 7.938 kB / 455.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002948/0.07466, allocations: 231.3 kB / 456 MB, free: 10.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.07468, allocations: 3.938 kB / 456 MB, free: 10.58 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.07468, allocations: 0 / 456 MB, free: 10.58 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.07469, allocations: 0 / 456 MB, free: 10.58 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.0003237/0.07502, allocations: 398.7 kB / 456.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.83e-05/0.07505, allocations: 12.03 kB / 456.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.0751, allocations: 76.22 kB / 456.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.07526, allocations: 263.5 kB / 456.8 MB, free: 9.762 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.711e-05/0.07532, allocations: 154.9 kB / 456.9 MB, free: 9.609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.07536, allocations: 150.9 kB / 457.1 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.055e-05/0.07542, allocations: 109 kB / 457.2 MB, free: 9.348 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.07544, allocations: 75.28 kB / 457.2 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.661e-05/0.0755, allocations: 158.5 kB / 457.4 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.517e-05/0.07555, allocations: 154.6 kB / 457.5 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.088e-05/0.07559, allocations: 154.6 kB / 457.7 MB, free: 8.812 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002421/0.07584, allocations: 449.9 kB / 458.1 MB, free: 8.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.658e-05/0.07591, allocations: 169.1 kB / 458.3 MB, free: 8.148 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.277e-05/0.07595, allocations: 80.14 kB / 458.4 MB, free: 8.066 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.07599, allocations: 83.28 kB / 458.5 MB, free: 7.984 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.07603, allocations: 113.8 kB / 458.6 MB, free: 7.863 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.07603, allocations: 0 / 458.6 MB, free: 7.863 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.187e-05/0.0761, allocations: 29.66 kB / 458.6 MB, free: 7.828 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.07616, allocations: 130.6 kB / 458.7 MB, free: 7.688 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.07629, allocations: 137.8 kB / 458.9 MB, free: 7.543 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.07631, allocations: 33.64 kB / 458.9 MB, free: 7.504 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.553e-05/0.07635, allocations: 92.12 kB / 459 MB, free: 7.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.202e-06/0.07636, allocations: 0 / 459 MB, free: 7.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.937e-05/0.07638, allocations: 9.719 kB / 459 MB, free: 7.395 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.696e-05/0.07648, allocations: 310.8 kB / 459.3 MB, free: 7.082 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.106e-06/0.07649, allocations: 0 / 459.3 MB, free: 7.082 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.144e-06/0.0765, allocations: 0 / 459.3 MB, free: 7.082 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.057e-05/0.07652, allocations: 79.28 kB / 459.4 MB, free: 7.004 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.915e-05/0.07655, allocations: 79.33 kB / 459.5 MB, free: 6.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.207e-05/0.0766, allocations: 37.64 kB / 459.5 MB, free: 6.883 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.07665, allocations: 85.62 kB / 459.6 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/0.07667, allocations: 83.3 kB / 459.7 MB, free: 6.719 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.404e-05/0.07673, allocations: 154.6 kB / 459.8 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.172e-05/0.07676, allocations: 79.28 kB / 459.9 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.554e-05/0.07681, allocations: 154.5 kB / 460 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.358e-05/0.07689, allocations: 87.22 kB / 460.1 MB, free: 6.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.07691, allocations: 79.22 kB / 460.2 MB, free: 6.172 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: 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 9.952e-05/0.07702, allocations: 273 kB / 460.5 MB, free: 5.895 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.051e-05/0.07708, allocations: 116.9 kB / 460.6 MB, free: 5.773 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.89e-05/0.07713, allocations: 108.5 kB / 460.7 MB, free: 5.656 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.399e-05/0.07719, allocations: 180.3 kB / 460.9 MB, free: 5.473 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.324e-05/0.07724, allocations: 180.3 kB / 461 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.436e-05/0.0773, allocations: 188.2 kB / 461.2 MB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.07751, allocations: 405.2 kB / 461.6 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.738e-05/0.07754, allocations: 104.9 kB / 461.7 MB, free: 4.535 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.652e-05/0.07758, allocations: 108.9 kB / 461.8 MB, free: 4.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.605e-05/0.07764, allocations: 184.2 kB / 462 MB, free: 4.234 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.619e-05/0.0777, allocations: 184.2 kB / 462.2 MB, free: 4.047 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.123e-05/0.07775, allocations: 176.3 kB / 462.4 MB, free: 3.867 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.603e-05/0.07781, allocations: 184.2 kB / 462.5 MB, free: 3.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.07793, allocations: 307.8 kB / 462.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.279e-05/0.078, allocations: 186 kB / 463 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.596e-05/0.07807, allocations: 176.3 kB / 463.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.749e-05/0.07815, allocations: 112.9 kB / 463.3 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/0.07822, allocations: 180.2 kB / 463.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-05/0.07825, allocations: 101 kB / 463.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.695e-05/0.07832, allocations: 111.3 kB / 463.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.372e-06/0.07833, allocations: 0 / 463.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000352/0.07868, allocations: 87.55 kB / 463.8 MB, free: 2.367 MB / 334.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: 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.0005503/0.07924, allocations: 398.7 kB / 464.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 3.088e-05/0.07928, allocations: 4 kB / 464.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.07929, allocations: 0 / 464.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.07929, allocations: 32 / 464.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.07962, allocations: 459.6 kB / 464.6 MB, free: 1.566 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002892/0.07992, allocations: 266.2 kB / 464.9 MB, free: 1.281 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.08016, allocations: 0.6961 MB / 465.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.104e-05/0.08018, allocations: 0 / 465.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.158e-05/0.0802, allocations: 11.44 kB / 465.6 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.08021, allocations: 0 / 465.6 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of Templates: time 0.003711/0.08392, allocations: 1.826 MB / 467.4 MB, free: 14.72 MB / 350.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.makefile (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)