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.001216/0.001216, allocations: 99.86 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.001649/0.001649, 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.537/1.537, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.006012/0.006012, allocations: 0.9928 MB / 292 MB, free: 1.262 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003473, allocations: 12 kB / 353.1 MB, free: 2.441 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3065, allocations: 50.63 MB / 403.7 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.0006732/0.3072, allocations: 225.2 kB / 403.9 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002275/0.3095, allocations: 1.258 MB / 405.2 MB, free: 9.633 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.003e-05/0.3095, allocations: 1.25 kB / 405.2 MB, free: 9.633 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.001137/0.3107, allocations: 265 kB / 405.5 MB, free: 9.582 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.647e-05/0.3107, allocations: 24.25 kB / 405.5 MB, free: 9.574 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.752e-05/0.3108, allocations: 15.7 kB / 405.5 MB, free: 9.566 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.121e-05/0.3109, allocations: 26.5 kB / 405.5 MB, free: 9.559 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.591e-05/0.3109, allocations: 3.469 kB / 405.5 MB, free: 9.559 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.284e-05/0.311, allocations: 16.72 kB / 405.5 MB, free: 9.555 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.395e-05/0.311, allocations: 16.52 kB / 405.6 MB, free: 9.551 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.3111, allocations: 2.312 kB / 405.6 MB, free: 9.551 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004688/0.3115, allocations: 260.3 kB / 405.8 MB, free: 9.488 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.68e-05/0.3116, allocations: 18.47 kB / 405.8 MB, free: 9.488 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.3116, allocations: 30.77 kB / 405.9 MB, free: 9.453 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.312, allocations: 197.8 kB / 406.1 MB, free: 9.418 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.312, allocations: 0 / 406.1 MB, free: 9.418 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.312, allocations: 1.25 kB / 406.1 MB, free: 9.418 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.312, allocations: 4 kB / 406.1 MB, free: 9.414 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.0004252/0.3125, allocations: 418.2 kB / 406.5 MB, free: 9.008 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3125, allocations: 9.531 kB / 406.5 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.644e-05/0.3126, allocations: 79.91 kB / 406.6 MB, free: 8.934 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.3128, allocations: 275.9 kB / 406.8 MB, free: 8.648 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.114e-05/0.3128, allocations: 150.6 kB / 407 MB, free: 8.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.3129, allocations: 156.8 kB / 407.1 MB, free: 8.348 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.335e-05/0.3129, allocations: 104.9 kB / 407.2 MB, free: 8.238 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.3129, allocations: 80.84 kB / 407.3 MB, free: 8.16 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/0.313, allocations: 156.1 kB / 407.5 MB, free: 8.008 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.113e-05/0.313, allocations: 153 kB / 407.6 MB, free: 7.859 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.536e-05/0.313, allocations: 150.6 kB / 407.8 MB, free: 7.711 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002594/0.3133, allocations: 465.6 kB / 408.2 MB, free: 7.227 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.594e-05/0.3134, allocations: 170 kB / 408.4 MB, free: 7.051 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.3134, allocations: 79.22 kB / 408.5 MB, free: 6.973 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.3136, allocations: 64.97 kB / 408.5 MB, free: 6.922 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 3.126e-06/0.3136, allocations: 0 / 408.5 MB, free: 6.922 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001528/0.3137, allocations: 58.88 kB / 408.6 MB, free: 6.867 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.3138, allocations: 53.03 kB / 408.6 MB, free: 6.805 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.3139, allocations: 145.4 kB / 408.8 MB, free: 6.695 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.3139, allocations: 29.83 kB / 408.8 MB, free: 6.66 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/0.314, allocations: 91.67 kB / 408.9 MB, free: 6.57 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.314, allocations: 0.9688 kB / 408.9 MB, free: 6.57 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.834e-06/0.314, allocations: 0 / 408.9 MB, free: 6.57 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.89e-05/0.3141, allocations: 314.9 kB / 409.2 MB, free: 6.258 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-06/0.3141, allocations: 5 kB / 409.2 MB, free: 6.254 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.87e-06/0.3141, allocations: 1 kB / 409.2 MB, free: 6.254 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.244e-05/0.3141, allocations: 0.9688 kB / 409.2 MB, free: 6.254 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3141, allocations: 8.188 kB / 409.2 MB, free: 6.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.83e-05/0.3142, allocations: 35.89 kB / 409.2 MB, free: 6.215 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3142, allocations: 5.625 kB / 409.2 MB, free: 6.215 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3142, allocations: 3.938 kB / 409.3 MB, free: 6.211 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3142, allocations: 3.953 kB / 409.3 MB, free: 6.207 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.135e-05/0.3143, allocations: 1.25 kB / 409.3 MB, free: 6.207 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.3143, allocations: 4 kB / 409.3 MB, free: 6.203 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.645e-05/0.3143, allocations: 2.156 kB / 409.3 MB, free: 6.203 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.3143, allocations: 0 / 409.3 MB, free: 6.203 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 7.271e-05/0.3144, allocations: 121.9 kB / 409.4 MB, free: 6.086 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.3144, allocations: 7.312 kB / 409.4 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.939e-05/0.3144, allocations: 13.58 kB / 409.4 MB, free: 6.07 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3145, allocations: 5.078 kB / 409.4 MB, free: 6.066 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3145, allocations: 0 / 409.4 MB, free: 6.066 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3145, allocations: 0 / 409.4 MB, free: 6.066 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.867e-05/0.3146, allocations: 163.4 kB / 409.6 MB, free: 5.875 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3146, allocations: 0 / 409.6 MB, free: 5.875 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.126e-06/0.3146, allocations: 0 / 409.6 MB, free: 5.875 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.3146, allocations: 1.406 kB / 409.6 MB, free: 5.875 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-06/0.3146, allocations: 4 kB / 409.6 MB, free: 5.871 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3146, allocations: 0 / 409.6 MB, free: 5.871 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3146, allocations: 5.109 kB / 409.6 MB, free: 5.867 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.76e-05/0.3147, allocations: 68.33 kB / 409.6 MB, free: 5.793 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.004e-05/0.3147, allocations: 89.16 kB / 409.7 MB, free: 5.695 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.3148, allocations: 4.562 kB / 409.7 MB, free: 5.695 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.769e-05/0.3148, allocations: 3.25 kB / 409.7 MB, free: 5.695 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.3148, allocations: 1.219 kB / 409.7 MB, free: 5.695 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.3148, allocations: 7.953 kB / 409.7 MB, free: 5.688 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.172e-05/0.3149, allocations: 124 kB / 409.9 MB, free: 5.598 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3149, allocations: 0 / 409.9 MB, free: 5.598 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004031/0.3153, allocations: 101.2 kB / 410 MB, free: 5.57 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.0007355/0.3161, allocations: 381.7 kB / 410.3 MB, free: 5.402 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 6.983e-05/0.3162, allocations: 7.656 kB / 410.3 MB, free: 5.398 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3162, allocations: 1.125 kB / 410.3 MB, free: 5.398 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.003e-06/0.3162, allocations: 6.844 kB / 410.4 MB, free: 5.395 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001134/0.3163, allocations: 9.5 kB / 410.4 MB, free: 5.391 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002319/0.3166, allocations: 121.7 kB / 410.5 MB, free: 5.27 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.3167, allocations: 0.6845 MB / 411.2 MB, free: 4.574 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.264e-05/0.3167, allocations: 16.72 kB / 411.2 MB, free: 4.574 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.3168, allocations: 22.09 kB / 411.2 MB, free: 4.562 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3168, allocations: 0 / 411.2 MB, free: 4.562 MB / 286.1 MB Notification: Performance of Templates: time 0.006797/0.3236, allocations: 2.574 MB / 413.8 MB, free: 4.297 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: