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.001685/0.001685, allocations: 111.4 kB / 16.37 MB, free: 5.539 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.001664/0.001664, allocations: 192.8 kB / 17.31 MB, free: 5.18 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.81/1.81, allocations: 222.9 MB / 241 MB, free: 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.007181/0.007181, allocations: 1.017 MB / 292.2 MB, free: 13.78 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001734, allocations: 63.89 kB / 353.5 MB, free: 416 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3962, allocations: 49.64 MB / 403.2 MB, free: 35.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.002591/0.3989, allocations: 1.248 MB / 404.4 MB, free: 34.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.4007, allocations: 1.216 MB / 405.6 MB, free: 32.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.237e-05/0.4008, allocations: 0 / 405.6 MB, free: 32.98 MB / 302.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.001494/0.4023, allocations: 258.7 kB / 405.9 MB, free: 32.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.496e-05/0.4024, allocations: 59.81 kB / 405.9 MB, free: 32.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.749e-06/0.4024, allocations: 0 / 405.9 MB, free: 32.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.878e-05/0.4025, allocations: 35.91 kB / 406 MB, free: 32.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.537e-05/0.4025, allocations: 0 / 406 MB, free: 32.63 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.245e-05/0.4026, allocations: 27.84 kB / 406 MB, free: 32.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.4027, allocations: 39.5 kB / 406 MB, free: 32.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.4027, allocations: 0 / 406 MB, free: 32.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003594/0.4031, allocations: 267.6 kB / 406.3 MB, free: 32.31 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.028e-05/0.4032, allocations: 23.98 kB / 406.3 MB, free: 32.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.4032, allocations: 19.91 kB / 406.3 MB, free: 32.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.4035, allocations: 223.5 kB / 406.6 MB, free: 32.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4035, allocations: 4 kB / 406.6 MB, free: 32.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4036, allocations: 0 / 406.6 MB, free: 32.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.4036, allocations: 3.938 kB / 406.6 MB, free: 32.04 MB / 302.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.0003732/0.4039, allocations: 400.1 kB / 406.9 MB, free: 31.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.404, allocations: 8.031 kB / 407 MB, free: 31.6 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/0.404, allocations: 84.12 kB / 407 MB, free: 31.52 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.4042, allocations: 263.6 kB / 407.3 MB, free: 31.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.4043, allocations: 150.9 kB / 407.4 MB, free: 31.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.4043, allocations: 158.9 kB / 407.6 MB, free: 30.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.435e-05/0.4043, allocations: 109.1 kB / 407.7 MB, free: 30.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.4044, allocations: 75.28 kB / 407.8 MB, free: 30.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.4044, allocations: 150.6 kB / 407.9 MB, free: 30.58 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.778e-05/0.4044, allocations: 150.6 kB / 408.1 MB, free: 30.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.181e-05/0.4045, allocations: 150.6 kB / 408.2 MB, free: 30.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002787/0.4048, allocations: 461.9 kB / 408.7 MB, free: 29.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.599e-05/0.4049, allocations: 173.1 kB / 408.8 MB, free: 29.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.582e-05/0.4049, allocations: 80.14 kB / 408.9 MB, free: 29.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.4049, allocations: 75.28 kB / 409 MB, free: 29.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.4049, allocations: 113.8 kB / 409.1 MB, free: 29.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.405, allocations: 3.938 kB / 409.1 MB, free: 29.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 8.417e-05/0.405, allocations: 33.64 kB / 409.1 MB, free: 29.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.4051, allocations: 126.7 kB / 409.3 MB, free: 29.15 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.4052, allocations: 137.8 kB / 409.4 MB, free: 29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.123e-06/0.4053, allocations: 29.7 kB / 409.4 MB, free: 28.97 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.041e-05/0.4053, allocations: 84.14 kB / 409.5 MB, free: 28.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-06/0.4053, allocations: 4 kB / 409.5 MB, free: 28.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-05/0.4053, allocations: 9.719 kB / 409.5 MB, free: 28.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.556e-05/0.4054, allocations: 322.8 kB / 409.8 MB, free: 28.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.096e-06/0.4054, allocations: 0 / 409.8 MB, free: 28.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.547e-06/0.4054, allocations: 0 / 409.8 MB, free: 28.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.656e-05/0.4054, allocations: 75.28 kB / 409.9 MB, free: 28.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.554e-05/0.4055, allocations: 75.28 kB / 410 MB, free: 28.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.98e-05/0.4055, allocations: 33.64 kB / 410 MB, free: 28.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.4056, allocations: 83.28 kB / 410.1 MB, free: 28.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/0.4056, allocations: 83.22 kB / 410.2 MB, free: 28.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.47e-05/0.4056, allocations: 150.6 kB / 410.3 MB, free: 28.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.047e-05/0.4057, allocations: 79.22 kB / 410.4 MB, free: 27.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.792e-05/0.4057, allocations: 162.6 kB / 410.6 MB, free: 27.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.754e-05/0.4058, allocations: 79.28 kB / 410.6 MB, free: 27.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.4058, allocations: 83.39 kB / 410.7 MB, free: 27.64 MB / 302.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.0001126/0.4059, allocations: 268.3 kB / 411 MB, free: 27.37 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-05/0.406, allocations: 116.8 kB / 411.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.374e-05/0.4061, allocations: 120.4 kB / 411.2 MB, free: 27.12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-05/0.4061, allocations: 176.3 kB / 411.4 MB, free: 26.94 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-05/0.4061, allocations: 188.1 kB / 411.6 MB, free: 26.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.029e-05/0.4062, allocations: 176.3 kB / 411.7 MB, free: 26.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.4064, allocations: 413.2 kB / 412.1 MB, free: 26.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.223e-05/0.4064, allocations: 104.9 kB / 412.3 MB, free: 26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.435e-05/0.4064, allocations: 104.9 kB / 412.4 MB, free: 25.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.994e-05/0.4065, allocations: 180.2 kB / 412.5 MB, free: 25.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.307e-05/0.4065, allocations: 188.3 kB / 412.7 MB, free: 25.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.946e-05/0.4066, allocations: 180.2 kB / 412.9 MB, free: 25.33 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.316e-05/0.4066, allocations: 184.1 kB / 413.1 MB, free: 25.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.732e-05/0.4067, allocations: 307.8 kB / 413.4 MB, free: 24.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.4068, allocations: 201.9 kB / 413.6 MB, free: 24.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.419e-05/0.4068, allocations: 176.3 kB / 413.7 MB, free: 24.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.811e-05/0.4069, allocations: 104.9 kB / 413.8 MB, free: 24.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.407, allocations: 176.3 kB / 414 MB, free: 24.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.407, allocations: 108.9 kB / 414.1 MB, free: 24.01 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.92e-05/0.4071, allocations: 115.2 kB / 414.2 MB, free: 23.9 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4071, allocations: 4 kB / 414.2 MB, free: 23.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004461/0.4075, allocations: 71.98 kB / 414.3 MB, free: 23.82 MB / 302.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.0006768/0.4082, allocations: 398.9 kB / 414.7 MB, free: 23.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 5.467e-05/0.4083, allocations: 4 kB / 414.7 MB, free: 23.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.207e-06/0.4083, allocations: 0 / 414.7 MB, free: 23.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.975e-06/0.4083, allocations: 4 kB / 414.7 MB, free: 23.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.4086, allocations: 455.6 kB / 415.1 MB, free: 23.03 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003752/0.409, allocations: 250.2 kB / 415.4 MB, free: 22.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.4092, allocations: 0.6924 MB / 416.1 MB, free: 22.04 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.517e-05/0.4092, allocations: 7.984 kB / 416.1 MB, free: 22.03 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.305e-05/0.4092, allocations: 11.44 kB / 416.1 MB, free: 22.02 MB / 302.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4092, allocations: 0 / 416.1 MB, free: 22.02 MB / 302.1 MB Notification: Performance of Templates: time 0.004746/0.414, allocations: 1.828 MB / 417.9 MB, free: 20.19 MB / 302.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 -s cvode -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe 2>&1)