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.0008271/0.0008272, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.006656/0.006656, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.346/1.346, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005486/0.005486, allocations: 0.989 MB / 292.4 MB, free: 1.129 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002927/0.0002927, allocations: 8 kB / 353.8 MB, free: 2.078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2869, allocations: 50.63 MB / 404.4 MB, free: 9.965 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.0005762/0.2876, allocations: 233.3 kB / 404.7 MB, free: 9.957 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002533/0.2901, allocations: 1.33 MB / 406 MB, free: 9.824 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.012e-05/0.2902, allocations: 0 / 406 MB, free: 9.824 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.001634/0.2918, allocations: 250 kB / 406.2 MB, free: 9.762 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.365e-05/0.2919, allocations: 25.56 kB / 406.3 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.278e-05/0.2919, allocations: 16.27 kB / 406.3 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.355e-05/0.292, allocations: 22.7 kB / 406.3 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.2921, allocations: 2.172 kB / 406.3 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.821e-05/0.2921, allocations: 19.31 kB / 406.3 MB, free: 9.738 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.023e-05/0.2922, allocations: 19.97 kB / 406.3 MB, free: 9.738 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.2922, allocations: 2 kB / 406.3 MB, free: 9.738 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000609/0.2928, allocations: 314.4 kB / 406.6 MB, free: 9.648 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.775e-05/0.2929, allocations: 22.72 kB / 406.7 MB, free: 9.645 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.378e-05/0.2929, allocations: 44.58 kB / 406.7 MB, free: 9.602 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004908/0.2934, allocations: 264 kB / 407 MB, free: 9.543 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2934, allocations: 1.094 kB / 407 MB, free: 9.543 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.2934, allocations: 0 / 407 MB, free: 9.543 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.2935, allocations: 7.938 kB / 407 MB, free: 9.535 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.0003296/0.2938, allocations: 392.9 kB / 407.4 MB, free: 9.141 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2938, allocations: 9.5 kB / 407.4 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.2939, allocations: 87.12 kB / 407.5 MB, free: 9.059 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.294, allocations: 253.1 kB / 407.7 MB, free: 8.781 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.294, allocations: 152 kB / 407.9 MB, free: 8.633 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.2941, allocations: 158.9 kB / 408 MB, free: 8.477 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.004e-05/0.2941, allocations: 106.1 kB / 408.1 MB, free: 8.367 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.2941, allocations: 75.28 kB / 408.2 MB, free: 8.293 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.2942, allocations: 151.6 kB / 408.3 MB, free: 8.145 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.2942, allocations: 151.6 kB / 408.5 MB, free: 7.996 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.516e-05/0.2942, allocations: 157.8 kB / 408.6 MB, free: 7.844 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002244/0.2945, allocations: 452.9 kB / 409.1 MB, free: 7.359 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.117e-05/0.2945, allocations: 170.2 kB / 409.2 MB, free: 7.184 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.678e-05/0.2945, allocations: 81.22 kB / 409.3 MB, free: 7.102 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.2945, allocations: 76.31 kB / 409.4 MB, free: 7.027 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.2947, allocations: 72.06 kB / 409.5 MB, free: 6.969 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 2.414e-06/0.2947, allocations: 0 / 409.5 MB, free: 6.969 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001318/0.2948, allocations: 41.94 kB / 409.5 MB, free: 6.93 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.2949, allocations: 53.12 kB / 409.6 MB, free: 6.867 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.986e-05/0.295, allocations: 116.9 kB / 409.7 MB, free: 6.762 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.212e-06/0.295, allocations: 26.73 kB / 409.7 MB, free: 6.73 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.113e-05/0.295, allocations: 85.97 kB / 409.8 MB, free: 6.645 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.362e-05/0.295, allocations: 4.609 kB / 409.8 MB, free: 6.641 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.898e-05/0.295, allocations: 10.88 kB / 409.8 MB, free: 6.625 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.381e-05/0.2951, allocations: 312.9 kB / 410.1 MB, free: 6.312 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-06/0.2951, allocations: 0 / 410.1 MB, free: 6.312 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.883e-06/0.2951, allocations: 5.75 kB / 410.1 MB, free: 6.309 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.14e-05/0.2952, allocations: 11.8 kB / 410.1 MB, free: 6.297 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2952, allocations: 0.6562 kB / 410.1 MB, free: 6.297 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.915e-05/0.2952, allocations: 41.34 kB / 410.2 MB, free: 6.258 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2952, allocations: 4.875 kB / 410.2 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2952, allocations: 0 / 410.2 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.2953, allocations: 2.016 kB / 410.2 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.914e-05/0.2953, allocations: 0 / 410.2 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.2953, allocations: 0 / 410.2 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.106e-05/0.2953, allocations: 1.734 kB / 410.2 MB, free: 6.258 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.2953, allocations: 4.031 kB / 410.2 MB, free: 6.254 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.084e-05/0.2954, allocations: 119.6 kB / 410.3 MB, free: 6.137 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.2954, allocations: 14.25 kB / 410.3 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.2955, allocations: 6.656 kB / 410.3 MB, free: 6.121 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2955, allocations: 1.25 kB / 410.3 MB, free: 6.121 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2955, allocations: 0 / 410.3 MB, free: 6.121 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.2955, allocations: 0.9375 kB / 410.3 MB, free: 6.121 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.211e-05/0.2956, allocations: 154.8 kB / 410.5 MB, free: 5.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.2956, allocations: 5.875 kB / 410.5 MB, free: 5.926 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-06/0.2956, allocations: 4 kB / 410.5 MB, free: 5.922 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2956, allocations: 1.062 kB / 410.5 MB, free: 5.922 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-06/0.2956, allocations: 5.062 kB / 410.5 MB, free: 5.918 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2956, allocations: 0 / 410.5 MB, free: 5.918 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2956, allocations: 1.062 kB / 410.5 MB, free: 5.918 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.398e-05/0.2957, allocations: 59.27 kB / 410.5 MB, free: 5.852 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.103e-05/0.2957, allocations: 91.86 kB / 410.6 MB, free: 5.746 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.2957, allocations: 6.734 kB / 410.6 MB, free: 5.742 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.86e-05/0.2957, allocations: 7.688 kB / 410.6 MB, free: 5.738 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/0.2958, allocations: 2.25 kB / 410.6 MB, free: 5.738 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.2958, allocations: 0 / 410.6 MB, free: 5.738 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.213e-05/0.2958, allocations: 93.31 kB / 410.7 MB, free: 5.66 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2958, allocations: 1.062 kB / 410.7 MB, free: 5.66 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004905/0.2963, allocations: 103.5 kB / 410.8 MB, free: 5.629 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 (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.0007556/0.2971, allocations: 385.3 kB / 411.2 MB, free: 5.461 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.613e-05/0.2972, allocations: 8.047 kB / 411.2 MB, free: 5.457 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.2972, allocations: 1.938 kB / 411.2 MB, free: 5.457 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.361e-06/0.2972, allocations: 5.062 kB / 411.2 MB, free: 5.453 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.2974, allocations: 14.66 kB / 411.2 MB, free: 5.445 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002341/0.2976, allocations: 128.6 kB / 411.4 MB, free: 5.32 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.2978, allocations: 0.681 MB / 412.1 MB, free: 4.625 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.533e-05/0.2978, allocations: 15.25 kB / 412.1 MB, free: 4.621 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.774e-05/0.2978, allocations: 11.06 kB / 412.1 MB, free: 4.613 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2978, allocations: 3.938 kB / 412.1 MB, free: 4.609 MB / 286.1 MB Notification: Performance of Templates: time 0.006036/0.3039, allocations: 2.412 MB / 414.5 MB, free: 4.363 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: