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-master/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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.001202/0.001202, allocations: 106.3 kB / 16.37 MB, free: 6.453 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.001202/0.001202, allocations: 192.9 kB / 17.31 MB, free: 5.816 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.26/1.26, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.005812/0.005811, allocations: 1.014 MB / 292.2 MB, free: 13.81 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.91 kB / 353.5 MB, free: 444 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1732, allocations: 49.64 MB / 403.1 MB, free: 35.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.00138/0.1746, allocations: 0.4913 MB / 403.6 MB, free: 34.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.176, allocations: 1.348 MB / 405 MB, free: 33.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.33e-05/0.176, allocations: 0 / 405 MB, free: 33.61 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readLine.mo:2:1-36:13:writable] Warning: Pure function 'KeyWordIO.readLine' contains a call to impure function 'KeyWordIO.readLineWithoutCache'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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-master/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-master/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.001035/0.1771, allocations: 303.7 kB / 405.3 MB, free: 33.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.948e-05/0.1771, allocations: 23.98 kB / 405.3 MB, free: 33.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.216e-05/0.1771, allocations: 15.92 kB / 405.3 MB, free: 33.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.9e-05/0.1772, allocations: 15.98 kB / 405.3 MB, free: 33.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.999e-05/0.1772, allocations: 0 / 405.3 MB, free: 33.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.091e-05/0.1773, allocations: 19.91 kB / 405.4 MB, free: 33.24 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.16e-05/0.1773, allocations: 15.25 kB / 405.4 MB, free: 33.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.1774, allocations: 0 / 405.4 MB, free: 33.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003082/0.1777, allocations: 339.5 kB / 405.7 MB, free: 32.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.04e-05/0.1777, allocations: 15.98 kB / 405.7 MB, free: 32.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.1777, allocations: 7.938 kB / 405.7 MB, free: 32.87 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.178, allocations: 271.5 kB / 406 MB, free: 32.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.178, allocations: 0 / 406 MB, free: 32.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.178, allocations: 0 / 406 MB, free: 32.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.178, allocations: 0 / 406 MB, free: 32.61 MB / 302.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.0002529/0.1783, allocations: 424.7 kB / 406.4 MB, free: 32.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.658e-05/0.1783, allocations: 12.02 kB / 406.4 MB, free: 32.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.1784, allocations: 80.22 kB / 406.5 MB, free: 32.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.696e-05/0.1785, allocations: 249.4 kB / 406.7 MB, free: 31.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.1785, allocations: 154.9 kB / 406.9 MB, free: 31.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.1785, allocations: 150.9 kB / 407 MB, free: 31.47 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.084e-05/0.1785, allocations: 107 kB / 407.1 MB, free: 31.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1786, allocations: 75.28 kB / 407.2 MB, free: 31.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.1786, allocations: 158.6 kB / 407.4 MB, free: 31.13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.1786, allocations: 154.5 kB / 407.5 MB, free: 30.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.699e-05/0.1786, allocations: 150.6 kB / 407.7 MB, free: 30.83 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.1788, allocations: 449.9 kB / 408.1 MB, free: 30.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.226e-05/0.1788, allocations: 169.1 kB / 408.3 MB, free: 30.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.288e-05/0.1788, allocations: 88.12 kB / 408.4 MB, free: 30.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.1788, allocations: 75.28 kB / 408.4 MB, free: 30 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.344e-05/0.1789, allocations: 76.98 kB / 408.5 MB, free: 29.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=1): time 1.974e-06/0.1789, allocations: 0 / 408.5 MB, free: 29.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001198/0.1791, allocations: 67.33 kB / 408.6 MB, free: 29.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.1791, allocations: 140.6 kB / 408.7 MB, free: 29.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.744e-05/0.1792, allocations: 113.8 kB / 408.8 MB, free: 29.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.889e-06/0.1792, allocations: 25.7 kB / 408.8 MB, free: 29.51 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.359e-05/0.1792, allocations: 80.14 kB / 408.9 MB, free: 29.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.518e-06/0.1792, allocations: 0 / 408.9 MB, free: 29.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/0.1792, allocations: 17.72 kB / 408.9 MB, free: 29.4 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.261e-05/0.1793, allocations: 314.8 kB / 409.2 MB, free: 29.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.843e-06/0.1793, allocations: 0 / 409.2 MB, free: 29.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.508e-06/0.1793, allocations: 8 kB / 409.3 MB, free: 29.08 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.371e-05/0.1793, allocations: 60.2 kB / 409.3 MB, free: 29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1793, allocations: 4 kB / 409.3 MB, free: 29 MB / 302.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.583e-05/0.1794, allocations: 67.25 kB / 409.4 MB, free: 28.92 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1794, allocations: 37.69 kB / 409.4 MB, free: 28.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.1794, allocations: 0 / 409.4 MB, free: 28.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.1794, allocations: 3.938 kB / 409.4 MB, free: 28.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.1794, allocations: 0 / 409.4 MB, free: 28.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.1795, allocations: 96 / 409.4 MB, free: 28.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.537e-05/0.1795, allocations: 4 kB / 409.4 MB, free: 28.87 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.1795, allocations: 4 kB / 409.4 MB, free: 28.87 MB / 302.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 4.246e-05/0.1795, allocations: 135.5 kB / 409.6 MB, free: 28.72 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.1795, allocations: 7.938 kB / 409.6 MB, free: 28.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.366e-06/0.1796, allocations: 7.109 kB / 409.6 MB, free: 28.7 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1796, allocations: 0 / 409.6 MB, free: 28.7 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.1796, allocations: 0 / 409.6 MB, free: 28.7 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.1796, allocations: 0 / 409.6 MB, free: 28.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.63e-05/0.1796, allocations: 153.7 kB / 409.7 MB, free: 28.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1796, allocations: 7.938 kB / 409.7 MB, free: 28.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1796, allocations: 4 kB / 409.7 MB, free: 28.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1796, allocations: 0 / 409.7 MB, free: 28.49 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.1797, allocations: 3.938 kB / 409.7 MB, free: 28.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.1797, allocations: 0 / 409.7 MB, free: 28.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1797, allocations: 0 / 409.7 MB, free: 28.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.657e-05/0.1797, allocations: 94.77 kB / 409.8 MB, free: 28.37 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.228e-05/0.1797, allocations: 81.05 kB / 409.9 MB, free: 28.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.1798, allocations: 8.031 kB / 409.9 MB, free: 28.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.41e-05/0.1798, allocations: 256 / 409.9 MB, free: 28.26 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.245e-06/0.1798, allocations: 0 / 409.9 MB, free: 28.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.1798, allocations: 4 kB / 409.9 MB, free: 28.26 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.651e-05/0.1798, allocations: 95.27 kB / 410 MB, free: 28.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1798, allocations: 0 / 410 MB, free: 28.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.1801, allocations: 99.97 kB / 410.1 MB, free: 28.07 MB / 302.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.0005303/0.1806, allocations: 395.6 kB / 410.5 MB, free: 27.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.619e-05/0.1807, allocations: 71.38 kB / 410.6 MB, free: 27.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1807, allocations: 0 / 410.6 MB, free: 27.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.299e-05/0.1808, allocations: 51.41 kB / 410.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.1809, allocations: 11.94 kB / 410.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001509/0.181, allocations: 124.8 kB / 410.8 MB, free: 27.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.754e-05/0.1811, allocations: 0.6807 MB / 411.4 MB, free: 26.73 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.747e-06/0.1811, allocations: 0 / 411.4 MB, free: 26.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.465e-05/0.1812, allocations: 15.55 kB / 411.5 MB, free: 26.72 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1812, allocations: 4 kB / 411.5 MB, free: 26.71 MB / 302.1 MB Notification: Performance of Templates: time 0.003988/0.1852, allocations: 2.274 MB / 413.7 MB, free: 24.44 MB / 302.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 -s gbode -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe 2>&1)