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-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.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.001364/0.001364, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001442/0.001442, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.005898/0.005898, allocations: 1.009 MB / 292.2 MB, free: 13.78 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 64.08 kB / 403.6 MB, free: 31.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.102, allocations: 49.64 MB / 453.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.002302/0.1043, allocations: 1.254 MB / 454.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.1062, allocations: 1.228 MB / 455.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/0.1062, allocations: 0 / 455.8 MB, free: 11.65 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/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.001246/0.1075, allocations: 265.9 kB / 456 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.488e-05/0.1076, allocations: 51.81 kB / 456.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.426e-06/0.1076, allocations: 0 / 456.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.179e-05/0.1077, allocations: 35.91 kB / 456.1 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.173e-05/0.1077, allocations: 4 kB / 456.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.415e-05/0.1077, allocations: 15.92 kB / 456.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.1079, allocations: 47.83 kB / 456.2 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.1079, allocations: 4 kB / 456.2 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004117/0.1083, allocations: 263.6 kB / 456.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.825e-05/0.1084, allocations: 39.89 kB / 456.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.169e-05/0.1084, allocations: 7.938 kB / 456.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003672/0.1088, allocations: 227.5 kB / 456.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1088, allocations: 0 / 456.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1088, allocations: 3.938 kB / 456.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.1088, allocations: 0 / 456.7 MB, free: 10.71 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.000381/0.1092, allocations: 403.3 kB / 457.1 MB, free: 10.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.1093, allocations: 8.031 kB / 457.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.832e-05/0.1093, allocations: 80.12 kB / 457.2 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.1095, allocations: 267.4 kB / 457.5 MB, free: 9.879 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.96e-05/0.1095, allocations: 150.9 kB / 457.6 MB, free: 9.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.819e-05/0.1096, allocations: 150.9 kB / 457.7 MB, free: 9.582 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.611e-05/0.1097, allocations: 105.1 kB / 457.8 MB, free: 9.473 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.515e-05/0.1097, allocations: 83.22 kB / 457.9 MB, free: 9.391 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.943e-05/0.1098, allocations: 154.6 kB / 458.1 MB, free: 9.238 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.477e-05/0.1098, allocations: 154.6 kB / 458.2 MB, free: 9.086 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.678e-05/0.1099, allocations: 150.6 kB / 458.4 MB, free: 8.938 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002923/0.1102, allocations: 449.9 kB / 458.8 MB, free: 8.449 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.995e-05/0.1103, allocations: 169.1 kB / 459 MB, free: 8.273 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.832e-05/0.1103, allocations: 84.08 kB / 459.1 MB, free: 8.188 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.1104, allocations: 79.28 kB / 459.1 MB, free: 8.109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/0.1104, allocations: 117.8 kB / 459.3 MB, free: 7.984 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.1104, allocations: 0 / 459.3 MB, free: 7.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.962e-05/0.1105, allocations: 29.7 kB / 459.3 MB, free: 7.949 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.1106, allocations: 130.7 kB / 459.4 MB, free: 7.809 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.1107, allocations: 133.8 kB / 459.5 MB, free: 7.668 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.1107, allocations: 25.7 kB / 459.6 MB, free: 7.637 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.018e-05/0.1108, allocations: 88.14 kB / 459.7 MB, free: 7.547 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.1108, allocations: 0 / 459.7 MB, free: 7.547 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.032e-05/0.1108, allocations: 9.719 kB / 459.7 MB, free: 7.531 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1109, allocations: 314.8 kB / 460 MB, free: 7.215 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.36e-06/0.1109, allocations: 3.938 kB / 460 MB, free: 7.211 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.038e-06/0.1109, allocations: 4 kB / 460 MB, free: 7.207 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.572e-05/0.111, allocations: 75.28 kB / 460.1 MB, free: 7.133 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-05/0.111, allocations: 79.31 kB / 460.1 MB, free: 7.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.161e-05/0.1111, allocations: 37.64 kB / 460.2 MB, free: 7.012 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.405e-05/0.1111, allocations: 79.28 kB / 460.2 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.765e-05/0.1112, allocations: 83.31 kB / 460.3 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.372e-05/0.1112, allocations: 158.6 kB / 460.5 MB, free: 6.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.551e-05/0.1113, allocations: 79.28 kB / 460.6 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.409e-05/0.1113, allocations: 158.4 kB / 460.7 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.63e-05/0.1114, allocations: 75.28 kB / 460.8 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.1114, allocations: 83.2 kB / 460.9 MB, free: 6.305 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 0.000142/0.1116, allocations: 273.1 kB / 461.1 MB, free: 6.027 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.387e-05/0.1117, allocations: 112.8 kB / 461.2 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.124e-05/0.1117, allocations: 108.5 kB / 461.4 MB, free: 5.793 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.788e-05/0.1118, allocations: 188.1 kB / 461.5 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.63e-05/0.1119, allocations: 176.3 kB / 461.7 MB, free: 5.422 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.934e-05/0.1119, allocations: 184.2 kB / 461.9 MB, free: 5.234 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.1122, allocations: 413.2 kB / 462.3 MB, free: 4.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.094e-05/0.1122, allocations: 105 kB / 462.4 MB, free: 4.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.2e-05/0.1123, allocations: 116.9 kB / 462.5 MB, free: 4.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.441e-05/0.1124, allocations: 176.3 kB / 462.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.814e-05/0.1124, allocations: 184.2 kB / 462.9 MB, free: 4.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.374e-05/0.1125, allocations: 180.3 kB / 463 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.787e-05/0.1126, allocations: 180.3 kB / 463.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.1127, allocations: 307.8 kB / 463.5 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.203e-05/0.1128, allocations: 189.9 kB / 463.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.922e-05/0.1129, allocations: 184.2 kB / 463.9 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.533e-05/0.113, allocations: 109 kB / 464 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.069e-05/0.1131, allocations: 180.2 kB / 464.2 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.573e-05/0.1131, allocations: 101 kB / 464.3 MB, free: 2.684 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.444e-05/0.1132, allocations: 107.3 kB / 464.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1132, allocations: 0 / 464.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003927/0.1136, allocations: 83.91 kB / 464.4 MB, free: 2.496 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.0006344/0.1143, allocations: 403.5 kB / 464.8 MB, free: 2.148 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 3.729e-05/0.1143, allocations: 3.938 kB / 464.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1143, allocations: 0 / 464.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.1143, allocations: 4.031 kB / 464.8 MB, free: 2.141 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.1147, allocations: 463.6 kB / 465.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003055/0.115, allocations: 236.2 kB / 465.5 MB, free: 1.422 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.1153, allocations: 0.6883 MB / 466.2 MB, free: 0.707 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.1153, allocations: 19.38 kB / 466.2 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1153, allocations: 0 / 466.2 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of Templates: time 0.004046/0.1194, allocations: 2.079 MB / 468.3 MB, free: 14.61 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)