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.0009648/0.0009646, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001059/0.001059, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005673/0.005673, allocations: 0.9924 MB / 292 MB, free: 1.152 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003119/0.0003121, allocations: 12 kB / 353.1 MB, free: 2.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3825, allocations: 50.62 MB / 403.7 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.001863/0.3845, allocations: 0.9772 MB / 404.7 MB, free: 9.727 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002352/0.3869, allocations: 1.143 MB / 405.8 MB, free: 9.332 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.12e-05/0.3869, allocations: 0 / 405.8 MB, free: 9.332 MB / 286.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 ‘Modelica.Utilities.Streams.readLine‘. [/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.001469/0.3884, allocations: 228.8 kB / 406.1 MB, free: 9.254 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.3885, allocations: 47.97 kB / 406.1 MB, free: 9.234 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.188e-06/0.3885, allocations: 0 / 406.1 MB, free: 9.234 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.361e-05/0.3886, allocations: 19.98 kB / 406.1 MB, free: 9.23 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.878e-05/0.3887, allocations: 2.969 kB / 406.1 MB, free: 9.23 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.93e-05/0.3887, allocations: 11.08 kB / 406.1 MB, free: 9.227 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.3889, allocations: 22.66 kB / 406.2 MB, free: 9.223 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.3889, allocations: 1.75 kB / 406.2 MB, free: 9.223 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004794/0.3894, allocations: 209 kB / 406.4 MB, free: 9.172 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.165e-05/0.3895, allocations: 34.41 kB / 406.4 MB, free: 9.164 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/0.3896, allocations: 28.95 kB / 406.4 MB, free: 9.133 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003989/0.39, allocations: 171.8 kB / 406.6 MB, free: 9.098 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.39, allocations: 1.031 kB / 406.6 MB, free: 9.098 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.39, allocations: 0 / 406.6 MB, free: 9.098 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.39, allocations: 0 / 406.6 MB, free: 9.098 MB / 286.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.0006094/0.3906, allocations: 414.9 kB / 407 MB, free: 8.691 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.029e-05/0.3907, allocations: 9.188 kB / 407 MB, free: 8.691 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.819e-05/0.3908, allocations: 86.62 kB / 407.1 MB, free: 8.609 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.3911, allocations: 287.6 kB / 407.4 MB, free: 8.324 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.75e-05/0.3912, allocations: 160.3 kB / 407.5 MB, free: 8.168 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.111e-05/0.3912, allocations: 154.5 kB / 407.7 MB, free: 8.016 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.739e-05/0.3913, allocations: 102.2 kB / 407.8 MB, free: 7.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.3913, allocations: 75.28 kB / 407.9 MB, free: 7.836 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.178e-05/0.3913, allocations: 158.6 kB / 408 MB, free: 7.68 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.515e-05/0.3914, allocations: 151.6 kB / 408.2 MB, free: 7.531 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.885e-05/0.3914, allocations: 156.7 kB / 408.3 MB, free: 7.379 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000311/0.3918, allocations: 468.7 kB / 408.8 MB, free: 6.895 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.608e-05/0.3918, allocations: 170.7 kB / 408.9 MB, free: 6.719 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.3919, allocations: 76.34 kB / 409 MB, free: 6.645 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.3919, allocations: 118.3 kB / 409.1 MB, free: 6.52 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.3919, allocations: 4.938 kB / 409.1 MB, free: 6.516 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 9.755e-05/0.392, allocations: 37.16 kB / 409.2 MB, free: 6.477 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.3921, allocations: 128.3 kB / 409.3 MB, free: 6.34 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.3924, allocations: 183.8 kB / 409.5 MB, free: 6.215 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.3924, allocations: 30.83 kB / 409.5 MB, free: 6.18 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.335e-05/0.3925, allocations: 97.66 kB / 409.6 MB, free: 6.086 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.3925, allocations: 4 kB / 409.6 MB, free: 6.082 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.3925, allocations: 0 / 409.6 MB, free: 6.082 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.699e-05/0.3926, allocations: 316.5 kB / 409.9 MB, free: 5.77 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.578e-06/0.3926, allocations: 0 / 409.9 MB, free: 5.77 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.426e-06/0.3926, allocations: 0 / 409.9 MB, free: 5.77 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.684e-05/0.3927, allocations: 80.94 kB / 410 MB, free: 5.691 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.841e-05/0.3927, allocations: 75.28 kB / 410.1 MB, free: 5.617 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.315e-05/0.3927, allocations: 38.5 kB / 410.1 MB, free: 5.578 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/0.3928, allocations: 85.58 kB / 410.2 MB, free: 5.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/0.3928, allocations: 80.59 kB / 410.3 MB, free: 5.422 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.121e-05/0.3929, allocations: 151.3 kB / 410.4 MB, free: 5.273 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.515e-05/0.3929, allocations: 81.41 kB / 410.5 MB, free: 5.195 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-05/0.393, allocations: 152.2 kB / 410.6 MB, free: 5.047 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.058e-05/0.3931, allocations: 78.84 kB / 410.7 MB, free: 4.973 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.3931, allocations: 87.97 kB / 410.8 MB, free: 4.887 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.3932, allocations: 266.2 kB / 411.1 MB, free: 4.625 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.717e-05/0.3933, allocations: 113.8 kB / 411.2 MB, free: 4.512 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.063e-05/0.3933, allocations: 115.6 kB / 411.3 MB, free: 4.395 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-05/0.3934, allocations: 181.4 kB / 411.5 MB, free: 4.211 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.323e-05/0.3934, allocations: 186.8 kB / 411.6 MB, free: 4.023 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.525e-05/0.3935, allocations: 182.1 kB / 411.8 MB, free: 3.84 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.3937, allocations: 416 kB / 412.2 MB, free: 3.395 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-05/0.3938, allocations: 111 kB / 412.3 MB, free: 3.281 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.015e-05/0.3938, allocations: 103 kB / 412.4 MB, free: 3.176 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.542e-05/0.3938, allocations: 181 kB / 412.6 MB, free: 2.992 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.701e-05/0.3939, allocations: 186.2 kB / 412.8 MB, free: 2.805 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-05/0.3939, allocations: 177.4 kB / 413 MB, free: 2.625 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.253e-05/0.394, allocations: 182.1 kB / 413.2 MB, free: 2.441 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.3941, allocations: 307.5 kB / 413.5 MB, free: 2.125 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.678e-05/0.3942, allocations: 200.1 kB / 413.6 MB, free: 1.914 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.55e-05/0.3943, allocations: 179.9 kB / 413.8 MB, free: 1.734 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.634e-05/0.3944, allocations: 116.6 kB / 413.9 MB, free: 1.617 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.3944, allocations: 177.9 kB / 414.1 MB, free: 1.438 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.3945, allocations: 106.6 kB / 414.2 MB, free: 1.328 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.3946, allocations: 150.2 kB / 414.4 MB, free: 1.23 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3946, allocations: 1.5 kB / 414.4 MB, free: 1.23 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005944/0.3952, allocations: 87.88 kB / 414.4 MB, free: 1.199 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008588/0.3961, allocations: 394.1 kB / 414.8 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 6.364e-05/0.3962, allocations: 4 kB / 414.8 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3962, allocations: 3.938 kB / 414.8 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.415e-06/0.3962, allocations: 0.9688 kB / 414.8 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.3965, allocations: 0.5267 MB / 415.4 MB, free: 452 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000454/0.3969, allocations: 247.1 kB / 415.6 MB, free: 236 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000506/0.3974, allocations: 0.6926 MB / 416.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.82e-05/0.3975, allocations: 15.17 kB / 416.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.229e-05/0.3975, allocations: 20.92 kB / 416.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3976, allocations: 0.9688 kB / 416.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of Templates: time 0.007071/0.4046, allocations: 2.054 MB / 418.4 MB, free: 15.31 MB / 302.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: