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.0007655/0.0007654, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.000819/0.000819, allocations: 168.7 kB / 15.95 MB, free: 204 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.274/1.274, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005307/0.005306, allocations: 0.9852 MB / 292.1 MB, free: 1.234 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003313, allocations: 8 kB / 353.2 MB, free: 2.43 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2814, allocations: 50.62 MB / 403.8 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.001311/0.2827, allocations: 0.9786 MB / 404.8 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.2845, allocations: 1.143 MB / 405.9 MB, free: 9.344 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.041e-05/0.2846, allocations: 0.7812 kB / 405.9 MB, free: 9.344 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.0009255/0.2855, allocations: 229.9 kB / 406.2 MB, free: 9.266 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.981e-05/0.2856, allocations: 60.44 kB / 406.2 MB, free: 9.242 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.615e-06/0.2856, allocations: 0 / 406.2 MB, free: 9.242 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.2857, allocations: 86.41 kB / 406.3 MB, free: 9.223 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.365e-05/0.2858, allocations: 1.812 kB / 406.3 MB, free: 9.223 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.539e-05/0.2858, allocations: 13.75 kB / 406.3 MB, free: 9.219 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.2859, allocations: 48.67 kB / 406.4 MB, free: 9.207 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.286, allocations: 1.062 kB / 406.4 MB, free: 9.207 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004069/0.2864, allocations: 234.5 kB / 406.6 MB, free: 9.148 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.603e-05/0.2864, allocations: 28.73 kB / 406.6 MB, free: 9.145 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.462e-05/0.2865, allocations: 32.17 kB / 406.7 MB, free: 9.109 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.2867, allocations: 153.3 kB / 406.8 MB, free: 9.082 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2867, allocations: 0 / 406.8 MB, free: 9.082 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2868, allocations: 0 / 406.8 MB, free: 9.082 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.2868, allocations: 0 / 406.8 MB, free: 9.082 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.000291/0.2871, allocations: 402.5 kB / 407.2 MB, free: 8.676 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.2871, allocations: 9.219 kB / 407.2 MB, free: 8.676 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/0.2872, allocations: 81.88 kB / 407.3 MB, free: 8.598 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.2873, allocations: 261.8 kB / 407.5 MB, free: 8.32 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.2874, allocations: 150.6 kB / 407.7 MB, free: 8.172 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.2874, allocations: 151.3 kB / 407.8 MB, free: 8.023 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.074e-05/0.2874, allocations: 106.1 kB / 407.9 MB, free: 7.914 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.2875, allocations: 79.28 kB / 408 MB, free: 7.836 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.2875, allocations: 152.4 kB / 408.2 MB, free: 7.688 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.507e-05/0.2875, allocations: 150.6 kB / 408.3 MB, free: 7.539 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.529e-05/0.2875, allocations: 159.5 kB / 408.5 MB, free: 7.383 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002/0.2878, allocations: 453.5 kB / 408.9 MB, free: 6.902 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.31e-05/0.2878, allocations: 170.2 kB / 409.1 MB, free: 6.727 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.696e-05/0.2878, allocations: 81.2 kB / 409.2 MB, free: 6.645 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.2878, allocations: 75.28 kB / 409.2 MB, free: 6.57 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.2879, allocations: 111.8 kB / 409.3 MB, free: 6.453 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.2879, allocations: 0 / 409.3 MB, free: 6.453 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 6.63e-05/0.288, allocations: 43.53 kB / 409.4 MB, free: 6.41 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.288, allocations: 127.7 kB / 409.5 MB, free: 6.273 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.2881, allocations: 129 kB / 409.6 MB, free: 6.168 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.611e-06/0.2881, allocations: 26.86 kB / 409.7 MB, free: 6.137 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.361e-05/0.2882, allocations: 85.45 kB / 409.8 MB, free: 6.051 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.202e-06/0.2882, allocations: 0 / 409.8 MB, free: 6.051 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.91e-07/0.2882, allocations: 1.344 kB / 409.8 MB, free: 6.051 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.503e-05/0.2882, allocations: 322.3 kB / 410.1 MB, free: 5.73 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.975e-06/0.2882, allocations: 4 kB / 410.1 MB, free: 5.727 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.585e-06/0.2882, allocations: 0 / 410.1 MB, free: 5.727 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.477e-05/0.2883, allocations: 76.25 kB / 410.1 MB, free: 5.652 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/0.2883, allocations: 79.22 kB / 410.2 MB, free: 5.574 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.95e-05/0.2883, allocations: 33.95 kB / 410.3 MB, free: 5.539 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.2884, allocations: 80 kB / 410.3 MB, free: 5.465 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.2884, allocations: 77.78 kB / 410.4 MB, free: 5.391 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-05/0.2884, allocations: 167.5 kB / 410.6 MB, free: 5.227 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.13e-05/0.2884, allocations: 76.31 kB / 410.6 MB, free: 5.152 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.295e-05/0.2885, allocations: 162.5 kB / 410.8 MB, free: 4.996 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.562e-05/0.2886, allocations: 75.28 kB / 410.9 MB, free: 4.922 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.2886, allocations: 80.47 kB / 411 MB, free: 4.844 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 6.661e-05/0.2886, allocations: 268.2 kB / 411.2 MB, free: 4.578 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.2887, allocations: 110 kB / 411.3 MB, free: 4.469 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.2887, allocations: 111.6 kB / 411.4 MB, free: 4.352 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.732e-05/0.2888, allocations: 185.3 kB / 411.6 MB, free: 4.164 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.721e-05/0.2888, allocations: 179.8 kB / 411.8 MB, free: 3.984 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.441e-05/0.2888, allocations: 177.4 kB / 412 MB, free: 3.805 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.289, allocations: 413.1 kB / 412.4 MB, free: 3.352 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.289, allocations: 109.3 kB / 412.5 MB, free: 3.242 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.314e-05/0.289, allocations: 110.3 kB / 412.6 MB, free: 3.129 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.125e-05/0.289, allocations: 177.2 kB / 412.8 MB, free: 2.949 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.289, allocations: 177.5 kB / 412.9 MB, free: 2.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.137e-05/0.2891, allocations: 185.2 kB / 413.1 MB, free: 2.586 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-05/0.2891, allocations: 185.5 kB / 413.3 MB, free: 2.398 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.966e-05/0.2892, allocations: 312 kB / 413.6 MB, free: 2.074 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.621e-05/0.2892, allocations: 186.1 kB / 413.8 MB, free: 1.875 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.2892, allocations: 181.4 kB / 414 MB, free: 1.691 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.342e-05/0.2893, allocations: 106.1 kB / 414.1 MB, free: 1.582 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.2893, allocations: 185.2 kB / 414.2 MB, free: 1.395 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.2894, allocations: 110.1 kB / 414.3 MB, free: 1.281 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.523e-05/0.2894, allocations: 109.9 kB / 414.5 MB, free: 1.199 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2894, allocations: 3.938 kB / 414.5 MB, free: 1.195 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003944/0.2898, allocations: 74.8 kB / 414.5 MB, free: 1.176 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.0005441/0.2904, allocations: 403.7 kB / 414.9 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 4.192e-05/0.2904, allocations: 6.078 kB / 414.9 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.2904, allocations: 0 / 414.9 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.2904, allocations: 0 / 414.9 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.2907, allocations: 0.5282 MB / 415.5 MB, free: 416 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003182/0.291, allocations: 251.2 kB / 415.7 MB, free: 212 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.2913, allocations: 0.6892 MB / 416.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.45e-05/0.2913, allocations: 2.781 kB / 416.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.2914, allocations: 12.86 kB / 416.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2914, allocations: 0 / 416.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of Templates: time 0.004655/0.296, allocations: 1.794 MB / 418.2 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: