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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001918/0.001918, allocations: 105.1 kB / 18.99 MB, free: 2.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003245/0.003245, allocations: 216 kB / 22.3 MB, free: 5.305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.646/1.646, allocations: 230.6 MB / 256.1 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo): time 0.01054/0.01054, allocations: 1.01 MB / 313.5 MB, free: 1.855 MB / 238.1 MB " [Timeout remaining time 180] Using package KeyWordIO with version 0.12.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(KeyWordIO.Examples.ReadStringCSVUnquoted,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadStringCSVUnquoted,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: KeyWordIO requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 63.91 kB / 435.8 MB, free: 16.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1647, allocations: 53.59 MB / 489.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.002841/0.1675, allocations: 0.4884 MB / 489.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003137/0.1706, allocations: 1.422 MB / 491.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.083e-05/0.1707, allocations: 0 / 491.3 MB, free: 8.789 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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.12.0/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.12.0/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.12.0/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.002236/0.1729, allocations: 323 kB / 491.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.595e-05/0.173, allocations: 19.98 kB / 491.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.852e-05/0.1731, allocations: 11.98 kB / 491.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.1732, allocations: 23.86 kB / 491.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.669e-05/0.1732, allocations: 4 kB / 491.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.588e-05/0.1733, allocations: 23.91 kB / 491.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.1734, allocations: 7.25 kB / 491.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.1734, allocations: 0 / 491.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006269/0.174, allocations: 323.5 kB / 492 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.698e-05/0.1741, allocations: 19.92 kB / 492 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.125e-05/0.1742, allocations: 15.92 kB / 492 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007745/0.175, allocations: 283.5 kB / 492.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.175, allocations: 4 kB / 492.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.175, allocations: 0 / 492.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.175, allocations: 0 / 492.3 MB, free: 7.754 MB / 350.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.0007531/0.1757, allocations: 379.2 kB / 492.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/0.1758, allocations: 16.02 kB / 492.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.1759, allocations: 106 kB / 492.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.176, allocations: 84.17 kB / 492.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.1763, allocations: 217.6 kB / 493.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.1764, allocations: 150.9 kB / 493.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.02e-05/0.1765, allocations: 150.9 kB / 493.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.1766, allocations: 108.9 kB / 493.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.052e-05/0.1767, allocations: 83.22 kB / 493.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.879e-05/0.1767, allocations: 150.6 kB / 493.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.803e-05/0.1768, allocations: 154.6 kB / 493.9 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.688e-05/0.1769, allocations: 158.6 kB / 494 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004468/0.1774, allocations: 429 kB / 494.4 MB, free: 5.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.1775, allocations: 169.1 kB / 494.6 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.733e-05/0.1776, allocations: 84.08 kB / 494.7 MB, free: 5.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-05/0.1776, allocations: 79.22 kB / 494.8 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002244/0.1778, allocations: 102.8 kB / 494.9 MB, free: 5.023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 4.338e-06/0.1778, allocations: 0 / 494.9 MB, free: 5.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002864/0.1781, allocations: 114.8 kB / 495 MB, free: 4.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/0.1783, allocations: 140.5 kB / 495.1 MB, free: 4.719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.1785, allocations: 138 kB / 495.2 MB, free: 4.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.1785, allocations: 25.7 kB / 495.3 MB, free: 4.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.056e-05/0.1786, allocations: 92.08 kB / 495.4 MB, free: 4.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.1786, allocations: 0 / 495.4 MB, free: 4.449 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.785e-05/0.1787, allocations: 13.7 kB / 495.4 MB, free: 4.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002839/0.1789, allocations: 318.8 kB / 495.7 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.769e-05/0.179, allocations: 25.7 kB / 495.7 MB, free: 4.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.765e-05/0.179, allocations: 29.7 kB / 495.7 MB, free: 4.043 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.368e-05/0.1791, allocations: 60.25 kB / 495.8 MB, free: 3.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1791, allocations: 64 / 495.8 MB, free: 3.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001757/0.1793, allocations: 108.9 kB / 495.9 MB, free: 3.844 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.093e-05/0.1794, allocations: 29.7 kB / 495.9 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.1794, allocations: 3.938 kB / 495.9 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.122e-05/0.1794, allocations: 0 / 495.9 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.255e-06/0.1794, allocations: 0 / 495.9 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/0.1794, allocations: 7.984 kB / 495.9 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.921e-05/0.1795, allocations: 0 / 495.9 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.1795, allocations: 4 kB / 495.9 MB, free: 3.793 MB / 350.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 0.000184/0.1797, allocations: 135.5 kB / 496.1 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.1797, allocations: 7.969 kB / 496.1 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.781e-05/0.1797, allocations: 19.41 kB / 496.1 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1797, allocations: 0 / 496.1 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.1797, allocations: 0 / 496.1 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1797, allocations: 0 / 496.1 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.1799, allocations: 132.7 kB / 496.2 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.1799, allocations: 0 / 496.2 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.923e-06/0.1799, allocations: 4 kB / 496.2 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1799, allocations: 0 / 496.2 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.1799, allocations: 4 kB / 496.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1799, allocations: 0 / 496.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1799, allocations: 0 / 496.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.1801, allocations: 136.4 kB / 496.4 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.308e-05/0.1802, allocations: 4 kB / 496.4 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.1802, allocations: 0 / 496.4 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.12e-05/0.1802, allocations: 11.98 kB / 496.4 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/0.1802, allocations: 0 / 496.4 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-06/0.1802, allocations: 4 kB / 496.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.1804, allocations: 111.2 kB / 496.5 MB, free: 3.141 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1804, allocations: 0 / 496.5 MB, free: 3.141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005278/0.1809, allocations: 99.59 kB / 496.6 MB, free: 3.043 MB / 350.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.001903/0.1828, allocations: 0.9413 MB / 497.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.183, allocations: 118.7 kB / 497.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.183, allocations: 3.938 kB / 497.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.212e-05/0.1831, allocations: 81.11 kB / 497.7 MB, free: 1.895 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.1833, allocations: 8 kB / 497.7 MB, free: 1.887 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.1852, allocations: 1.4 MB / 499.1 MB, free: 376 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.1853, allocations: 63.34 kB / 499.2 MB, free: 292 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.709e-05/0.1853, allocations: 15.97 kB / 499.2 MB, free: 276 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.49e-05/0.1854, allocations: 24.5 kB / 499.2 MB, free: 252 kB / 350.1 MB Notification: Performance of SimCode: time 1.774e-06/0.1854, allocations: 4.219 kB / 499.2 MB, free: 248 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04283/0.2282, allocations: 4.302 MB / 0.4917 GB, free: 12.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/13.96, allocations: 10.41 kB / 0.4918 GB, free: 12.07 MB / 366.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted.fmu > KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.48177841596771] Failed to read output from testmodel.py, exit status != 0: 14.083026744017843 14.549825993 14.368195382 Calling exit ...