Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadStringCSV.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.ReadStringCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSV") translateModel(KeyWordIO.Examples.ReadStringCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009583/0.0009583, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008865/0.0008865, allocations: 172.7 kB / 15.95 MB, free: 208 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.275/1.275, 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.005349/0.005348, allocations: 0.989 MB / 292.1 MB, free: 1.223 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002885/0.0002887, allocations: 8 kB / 353.2 MB, free: 2.406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2742, allocations: 50.63 MB / 403.8 MB, free: 9.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.000466/0.2747, allocations: 226.8 kB / 404 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.2764, allocations: 1.26 MB / 405.3 MB, free: 9.625 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.2765, allocations: 0.9062 kB / 405.3 MB, free: 9.625 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/readSizeCSV.mo:2:1-41:16:writable] Warning: Pure function ‘KeyWordIO.readSizeCSV‘ contains a call to impure function ‘KeyWordIO.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/readColsCSV.mo:2:1-18:16:writable] Warning: Pure function ‘KeyWordIO.readColsCSV‘ contains a call to impure function ‘KeyWordIO.readSizeCSV‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/readStringCSV.mo:2:1-85:18:writable] Warning: Pure function ‘KeyWordIO.readStringCSV‘ contains a call to impure function ‘KeyWordIO.readLine‘. Notification: Performance of NFTyping.typeComponents: time 0.0008876/0.2774, allocations: 264.2 kB / 405.6 MB, free: 9.574 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.424e-05/0.2774, allocations: 26.53 kB / 405.6 MB, free: 9.562 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.902e-05/0.2775, allocations: 12.05 kB / 405.6 MB, free: 9.559 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.996e-05/0.2775, allocations: 24.09 kB / 405.6 MB, free: 9.555 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.638e-05/0.2776, allocations: 2.656 kB / 405.6 MB, free: 9.555 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.184e-05/0.2776, allocations: 13.91 kB / 405.6 MB, free: 9.551 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.146e-05/0.2777, allocations: 23.38 kB / 405.7 MB, free: 9.547 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.2777, allocations: 0.5938 kB / 405.7 MB, free: 9.547 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004101/0.2781, allocations: 293.2 kB / 405.9 MB, free: 9.473 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.019e-05/0.2782, allocations: 26.77 kB / 406 MB, free: 9.465 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.204e-05/0.2782, allocations: 26.98 kB / 406 MB, free: 9.434 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.2785, allocations: 192 kB / 406.2 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2785, allocations: 0 / 406.2 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2785, allocations: 0 / 406.2 MB, free: 9.395 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.2785, allocations: 1.188 kB / 406.2 MB, free: 9.395 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.0002652/0.2788, allocations: 392.2 kB / 406.6 MB, free: 9.004 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.2788, allocations: 9.438 kB / 406.6 MB, free: 9.004 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.2788, allocations: 83.03 kB / 406.7 MB, free: 8.926 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.279, allocations: 252.5 kB / 406.9 MB, free: 8.648 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.279, allocations: 154.6 kB / 407.1 MB, free: 8.496 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.279, allocations: 151.8 kB / 407.2 MB, free: 8.348 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.36e-05/0.279, allocations: 108.9 kB / 407.3 MB, free: 8.234 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.2791, allocations: 75.28 kB / 407.4 MB, free: 8.16 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.2791, allocations: 156.8 kB / 407.5 MB, free: 8.008 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.2791, allocations: 156.5 kB / 407.7 MB, free: 7.855 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.948e-05/0.2791, allocations: 150.6 kB / 407.8 MB, free: 7.707 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.2793, allocations: 451.8 kB / 408.3 MB, free: 7.227 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.812e-05/0.2794, allocations: 169.1 kB / 408.4 MB, free: 7.051 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.56e-05/0.2794, allocations: 86 kB / 408.5 MB, free: 6.965 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.687e-06/0.2794, allocations: 79.22 kB / 408.6 MB, free: 6.887 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001262/0.2795, allocations: 72.89 kB / 408.7 MB, free: 6.828 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 1.563e-06/0.2795, allocations: 0 / 408.7 MB, free: 6.828 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 9.546e-05/0.2796, allocations: 37.81 kB / 408.7 MB, free: 6.793 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.8e-05/0.2797, allocations: 52.98 kB / 408.8 MB, free: 6.73 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.791e-05/0.2797, allocations: 114.8 kB / 408.9 MB, free: 6.625 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.639e-06/0.2797, allocations: 26.95 kB / 408.9 MB, free: 6.594 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.523e-05/0.2798, allocations: 81.83 kB / 409 MB, free: 6.512 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.358e-06/0.2798, allocations: 0 / 409 MB, free: 6.512 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.593e-06/0.2798, allocations: 0 / 409 MB, free: 6.512 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.195e-05/0.2798, allocations: 317.3 kB / 409.3 MB, free: 6.195 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.961e-06/0.2798, allocations: 5.75 kB / 409.3 MB, free: 6.191 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.837e-06/0.2798, allocations: 0.8438 kB / 409.3 MB, free: 6.191 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.055e-05/0.2798, allocations: 7.234 kB / 409.3 MB, free: 6.188 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2799, allocations: 0 / 409.3 MB, free: 6.188 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.836e-05/0.2799, allocations: 35.8 kB / 409.3 MB, free: 6.152 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.2799, allocations: 5.344 kB / 409.3 MB, free: 6.152 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2799, allocations: 3.953 kB / 409.4 MB, free: 6.148 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.2799, allocations: 1.891 kB / 409.4 MB, free: 6.148 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.53e-05/0.28, allocations: 0 / 409.4 MB, free: 6.148 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.28, allocations: 5.219 kB / 409.4 MB, free: 6.145 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.391e-05/0.28, allocations: 0.6094 kB / 409.4 MB, free: 6.145 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.28, allocations: 5.094 kB / 409.4 MB, free: 6.145 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 4.973e-05/0.28, allocations: 118.1 kB / 409.5 MB, free: 6.027 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.069e-05/0.2801, allocations: 4.406 kB / 409.5 MB, free: 6.027 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.044e-05/0.2801, allocations: 5.969 kB / 409.5 MB, free: 6.02 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.2801, allocations: 4.562 kB / 409.5 MB, free: 6.016 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.2801, allocations: 3.469 kB / 409.5 MB, free: 6.016 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-06/0.2801, allocations: 0 / 409.5 MB, free: 6.016 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.891e-05/0.2802, allocations: 161.3 kB / 409.7 MB, free: 5.82 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.2802, allocations: 1.156 kB / 409.7 MB, free: 5.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-06/0.2802, allocations: 8.625 kB / 409.7 MB, free: 5.812 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2802, allocations: 1.125 kB / 409.7 MB, free: 5.812 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-06/0.2802, allocations: 0 / 409.7 MB, free: 5.812 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2802, allocations: 0 / 409.7 MB, free: 5.812 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.2802, allocations: 5.609 kB / 409.7 MB, free: 5.809 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.846e-05/0.2803, allocations: 67.38 kB / 409.7 MB, free: 5.734 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.817e-05/0.2803, allocations: 79.98 kB / 409.8 MB, free: 5.641 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.2803, allocations: 2.969 kB / 409.8 MB, free: 5.641 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.65e-05/0.2803, allocations: 3.922 kB / 409.8 MB, free: 5.641 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.955e-06/0.2804, allocations: 4.75 kB / 409.8 MB, free: 5.637 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-06/0.2804, allocations: 0 / 409.8 MB, free: 5.637 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.354e-05/0.2804, allocations: 94.86 kB / 409.9 MB, free: 5.559 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2804, allocations: 0 / 409.9 MB, free: 5.559 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003118/0.2807, allocations: 102.2 kB / 410 MB, free: 5.527 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0005799/0.2813, allocations: 397.7 kB / 410.4 MB, free: 5.352 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 4.946e-05/0.2814, allocations: 7.031 kB / 410.4 MB, free: 5.348 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2814, allocations: 1.156 kB / 410.4 MB, free: 5.348 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.22e-06/0.2814, allocations: 1.219 kB / 410.4 MB, free: 5.348 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001272/0.2815, allocations: 7.109 kB / 410.4 MB, free: 5.348 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001629/0.2817, allocations: 127.2 kB / 410.5 MB, free: 5.227 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.186e-05/0.2818, allocations: 0.6799 MB / 411.2 MB, free: 4.531 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.536e-05/0.2818, allocations: 16.53 kB / 411.2 MB, free: 4.523 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.491e-05/0.2818, allocations: 19.27 kB / 411.3 MB, free: 4.512 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2818, allocations: 0 / 411.3 MB, free: 4.512 MB / 286.1 MB Notification: Performance of Templates: time 0.004779/0.2866, allocations: 2.361 MB / 413.6 MB, free: 4.273 MB / 286.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadStringCSV.makefile Environment - environmentSimulation: (rm -f KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadStringCSV.sim & ./KeyWordIO_KeyWordIO.Examples.ReadStringCSV -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe 2>&1) Environment - environmentSimulation: