Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.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.ReadStringCSVUnquoted,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted") translateModel(KeyWordIO.Examples.ReadStringCSVUnquoted,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009449/0.0009449, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009588/0.0009589, allocations: 195.5 kB / 16.14 MB, free: 6.656 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.213/1.213, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005467/0.005467, allocations: 0.9929 MB / 291 MB, free: 1.477 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000975/0.000975, allocations: 51.91 kB / 351.4 MB, free: 2.371 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08106/0.08205, allocations: 49.65 MB / 401 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001572/0.08365, allocations: 0.5544 MB / 401.6 MB, free: 132 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.1432/0.2269, allocations: 1.347 MB / 402.9 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.35e-05/0.2269, allocations: 0.625 kB / 402.9 MB, free: 9.773 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.001338/0.2283, allocations: 248 kB / 403.2 MB, free: 9.711 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.713e-05/0.2283, allocations: 27.2 kB / 403.2 MB, free: 9.699 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.398e-05/0.2284, allocations: 13.23 kB / 403.2 MB, free: 9.691 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.666e-05/0.2284, allocations: 11.59 kB / 403.2 MB, free: 9.691 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.14e-05/0.2285, allocations: 1.672 kB / 403.2 MB, free: 9.691 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.501e-05/0.2285, allocations: 18.72 kB / 403.2 MB, free: 9.68 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.223e-05/0.2286, allocations: 12.78 kB / 403.2 MB, free: 9.68 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.2286, allocations: 5.25 kB / 403.2 MB, free: 9.676 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000405/0.229, allocations: 314.8 kB / 403.6 MB, free: 9.57 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.023e-05/0.2291, allocations: 17.59 kB / 403.6 MB, free: 9.566 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/0.2291, allocations: 11.23 kB / 403.6 MB, free: 9.562 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000361/0.2295, allocations: 269.8 kB / 403.8 MB, free: 9.473 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.2295, allocations: 1.656 kB / 403.8 MB, free: 9.473 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.2295, allocations: 0 / 403.8 MB, free: 9.473 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.377e-06/0.2295, allocations: 0 / 403.8 MB, free: 9.473 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.0003071/0.2298, allocations: 418.9 kB / 404.3 MB, free: 9.047 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.2298, allocations: 9.469 kB / 404.3 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.81e-05/0.2299, allocations: 85.25 kB / 404.4 MB, free: 8.969 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.477e-05/0.23, allocations: 247.4 kB / 404.6 MB, free: 8.695 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.23, allocations: 155.8 kB / 404.7 MB, free: 8.547 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.23, allocations: 151.5 kB / 404.9 MB, free: 8.398 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.758e-05/0.2301, allocations: 111.4 kB / 405 MB, free: 8.285 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.2301, allocations: 77.23 kB / 405.1 MB, free: 8.211 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.2301, allocations: 152.5 kB / 405.2 MB, free: 8.062 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.2302, allocations: 159.2 kB / 405.4 MB, free: 7.906 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.902e-05/0.2302, allocations: 155.9 kB / 405.5 MB, free: 7.754 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.2303, allocations: 444.9 kB / 406 MB, free: 7.277 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.772e-05/0.2304, allocations: 170.9 kB / 406.1 MB, free: 7.102 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.39e-05/0.2304, allocations: 81.45 kB / 406.2 MB, free: 7.02 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.2304, allocations: 83.22 kB / 406.3 MB, free: 6.938 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.82e-05/0.2305, allocations: 71.25 kB / 406.4 MB, free: 6.855 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 2.415e-06/0.2305, allocations: 5.312 kB / 406.4 MB, free: 6.852 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001331/0.2307, allocations: 67.72 kB / 406.4 MB, free: 6.785 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.2307, allocations: 130.1 kB / 406.6 MB, free: 6.629 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.281e-05/0.2308, allocations: 114.7 kB / 406.7 MB, free: 6.523 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.41e-06/0.2308, allocations: 25.7 kB / 406.7 MB, free: 6.492 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.488e-05/0.2308, allocations: 85.2 kB / 406.8 MB, free: 6.406 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.109e-05/0.2308, allocations: 9.062 kB / 406.8 MB, free: 6.398 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.2309, allocations: 12.67 kB / 406.8 MB, free: 6.383 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.538e-05/0.2309, allocations: 313.5 kB / 407.1 MB, free: 6.07 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-06/0.2309, allocations: 1.125 kB / 407.1 MB, free: 6.07 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.38e-06/0.2309, allocations: 1.125 kB / 407.1 MB, free: 6.07 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.921e-05/0.231, allocations: 65.05 kB / 407.2 MB, free: 5.996 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.231, allocations: 0 / 407.2 MB, free: 5.996 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.208e-05/0.231, allocations: 68.5 kB / 407.2 MB, free: 5.926 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.2311, allocations: 31.73 kB / 407.3 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2311, allocations: 0 / 407.3 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.2311, allocations: 1.438 kB / 407.3 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.124e-06/0.2311, allocations: 0.7969 kB / 407.3 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.2311, allocations: 7.875 kB / 407.3 MB, free: 5.887 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.799e-05/0.2311, allocations: 1.094 kB / 407.3 MB, free: 5.887 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.2311, allocations: 4.828 kB / 407.3 MB, free: 5.883 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 5.148e-05/0.2312, allocations: 140.4 kB / 407.4 MB, free: 5.738 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.2312, allocations: 6.25 kB / 407.4 MB, free: 5.734 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.211e-05/0.2312, allocations: 9 kB / 407.4 MB, free: 5.723 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2312, allocations: 0 / 407.4 MB, free: 5.723 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2312, allocations: 0.75 kB / 407.4 MB, free: 5.723 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.2312, allocations: 1.219 kB / 407.4 MB, free: 5.723 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.439e-05/0.2313, allocations: 149.4 kB / 407.6 MB, free: 5.535 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2313, allocations: 3.938 kB / 407.6 MB, free: 5.531 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-07/0.2313, allocations: 2.25 kB / 407.6 MB, free: 5.531 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2313, allocations: 4.562 kB / 407.6 MB, free: 5.527 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.2313, allocations: 1.25 kB / 407.6 MB, free: 5.527 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2313, allocations: 0.5625 kB / 407.6 MB, free: 5.527 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2313, allocations: 1.062 kB / 407.6 MB, free: 5.527 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.641e-05/0.2314, allocations: 88.89 kB / 407.7 MB, free: 5.43 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.421e-05/0.2314, allocations: 88.83 kB / 407.8 MB, free: 5.328 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.2314, allocations: 2.188 kB / 407.8 MB, free: 5.328 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.634e-05/0.2315, allocations: 11.03 kB / 407.8 MB, free: 5.32 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.008e-05/0.2315, allocations: 0 / 407.8 MB, free: 5.32 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.2315, allocations: 5.031 kB / 407.8 MB, free: 5.316 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.392e-05/0.2315, allocations: 90.52 kB / 407.9 MB, free: 5.242 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2315, allocations: 0 / 407.9 MB, free: 5.242 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003403/0.2319, allocations: 98.59 kB / 408 MB, free: 5.211 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: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0006256/0.2325, allocations: 397.7 kB / 408.4 MB, free: 5.027 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.111e-05/0.2326, allocations: 62.05 kB / 408.4 MB, free: 4.961 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2326, allocations: 4 kB / 408.4 MB, free: 4.957 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.518e-05/0.2326, allocations: 55.72 kB / 408.5 MB, free: 4.895 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.2328, allocations: 12.25 kB / 408.5 MB, free: 4.887 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001829/0.233, allocations: 124.8 kB / 408.6 MB, free: 4.766 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.412e-05/0.2331, allocations: 0.6807 MB / 409.3 MB, free: 4.07 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.134e-05/0.2331, allocations: 6.172 kB / 409.3 MB, free: 4.066 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.462e-05/0.2331, allocations: 14.03 kB / 409.3 MB, free: 4.055 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2331, allocations: 0 / 409.3 MB, free: 4.055 MB / 286.1 MB Notification: Performance of Templates: time 0.004638/0.2378, allocations: 2.255 MB / 411.6 MB, free: 3.801 MB / 286.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.makefile (rm -f KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.sim & ./KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe 2>&1)