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.001376/0.001376, allocations: 114.3 kB / 18.94 MB, free: 2.789 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.001943/0.001943, allocations: 219.9 kB / 22.26 MB, free: 5.211 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.696/1.696, allocations: 230.6 MB / 256 MB, free: 7.988 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.01018/0.01018, allocations: 1.013 MB / 313.4 MB, free: 2.086 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.002069/0.002069, allocations: 63.91 kB / 435.7 MB, free: 16.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1401, allocations: 53.58 MB / 489.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001908/0.142, allocations: 497 kB / 489.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003009/0.145, allocations: 1.441 MB / 491.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.706e-05/0.1451, allocations: 4 kB / 491.2 MB, free: 9.168 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.001786/0.1469, allocations: 330.9 kB / 491.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.236e-05/0.1469, allocations: 23.92 kB / 491.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.094e-05/0.147, allocations: 15.97 kB / 491.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.436e-05/0.147, allocations: 8 kB / 491.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.1471, allocations: 0 / 491.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.542e-05/0.1471, allocations: 15.98 kB / 491.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.1472, allocations: 19.86 kB / 491.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.1472, allocations: 0 / 491.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006083/0.1479, allocations: 371.5 kB / 492 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.299e-05/0.1479, allocations: 19.97 kB / 492 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.904e-05/0.148, allocations: 23.86 kB / 492.1 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006316/0.1486, allocations: 291.5 kB / 492.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1486, allocations: 0 / 492.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1486, allocations: 3.938 kB / 492.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.373e-06/0.1486, allocations: 0 / 492.3 MB, free: 8.066 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.0006029/0.1492, allocations: 375.2 kB / 492.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.1493, allocations: 8.031 kB / 492.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.713e-05/0.1494, allocations: 110 kB / 492.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/0.1496, allocations: 84.17 kB / 492.9 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.1499, allocations: 217.6 kB / 493.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.601e-05/0.15, allocations: 154.9 kB / 493.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.872e-05/0.15, allocations: 154.9 kB / 493.4 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.087e-05/0.1501, allocations: 104.9 kB / 493.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.077e-05/0.1502, allocations: 75.28 kB / 493.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.791e-05/0.1503, allocations: 154.6 kB / 493.7 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.792e-05/0.1504, allocations: 158.5 kB / 493.9 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.176e-05/0.1504, allocations: 150.6 kB / 494 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.1508, allocations: 425 kB / 494.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.151, allocations: 173.1 kB / 494.6 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.416e-05/0.151, allocations: 80.14 kB / 494.7 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.856e-05/0.1511, allocations: 87.16 kB / 494.8 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003122/0.1514, allocations: 69.11 kB / 494.9 MB, free: 5.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.084e-06/0.1514, allocations: 0 / 494.9 MB, free: 5.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002201/0.1516, allocations: 71.39 kB / 494.9 MB, free: 5.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.153e-05/0.1517, allocations: 128.5 kB / 495.1 MB, free: 5.145 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.1519, allocations: 133.8 kB / 495.2 MB, free: 5.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.1519, allocations: 25.7 kB / 495.2 MB, free: 4.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.452e-05/0.1519, allocations: 92.02 kB / 495.3 MB, free: 4.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.152, allocations: 4 kB / 495.3 MB, free: 4.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-05/0.152, allocations: 9.719 kB / 495.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.1521, allocations: 322.8 kB / 495.6 MB, free: 4.535 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.061e-05/0.1521, allocations: 4.125 kB / 495.6 MB, free: 4.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.268e-06/0.1522, allocations: 0 / 495.6 MB, free: 4.531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.315e-05/0.1522, allocations: 60.27 kB / 495.7 MB, free: 4.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1522, allocations: 0 / 495.7 MB, free: 4.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.356e-05/0.1523, allocations: 75.28 kB / 495.8 MB, free: 4.371 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/0.1523, allocations: 29.7 kB / 495.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1523, allocations: 0 / 495.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.1524, allocations: 8 kB / 495.8 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.1524, allocations: 4.094 kB / 495.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.1524, allocations: 3.938 kB / 495.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.427e-05/0.1524, allocations: 0 / 495.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.1524, allocations: 4 kB / 495.8 MB, free: 4.316 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.0001232/0.1525, allocations: 139.5 kB / 496 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.1526, allocations: 7.938 kB / 496 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.308e-05/0.1526, allocations: 11.42 kB / 496 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1526, allocations: 0 / 496 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1526, allocations: 0 / 496 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1526, allocations: 0 / 496 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.1527, allocations: 136.7 kB / 496.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1527, allocations: 0 / 496.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.444e-06/0.1527, allocations: 3.984 kB / 496.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.1527, allocations: 3.938 kB / 496.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.1528, allocations: 0 / 496.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/0.1528, allocations: 4 kB / 496.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.1528, allocations: 0 / 496.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.153, allocations: 106.7 kB / 496.2 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.369e-05/0.153, allocations: 8 kB / 496.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.153, allocations: 0 / 496.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.513e-05/0.1531, allocations: 7.938 kB / 496.2 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.808e-06/0.1531, allocations: 0 / 496.2 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.1531, allocations: 0 / 496.2 MB, free: 3.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.999e-05/0.1532, allocations: 111.2 kB / 496.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1532, allocations: 0 / 496.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000335/0.1535, allocations: 99.61 kB / 496.4 MB, free: 3.602 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.001295/0.1548, allocations: 0.9118 MB / 497.4 MB, free: 2.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.1549, allocations: 63.34 kB / 497.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1549, allocations: 0 / 497.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.652e-05/0.155, allocations: 55.41 kB / 497.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.1551, allocations: 10.66 kB / 497.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.1566, allocations: 1.259 MB / 498.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.157, allocations: 0.6846 MB / 499.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.27e-05/0.157, allocations: 12 kB / 499.4 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.814e-05/0.1571, allocations: 23.42 kB / 499.5 MB, free: 492 kB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1571, allocations: 0 / 499.5 MB, free: 492 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03969/0.1968, allocations: 3.771 MB / 0.4914 GB, free: 12.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/12.99, allocations: 9.688 kB / 0.4914 GB, free: 12.83 MB / 366.1 MB " [Timeout remaining time 647] (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: 16.25846932712011] Failed to read output from testmodel.py, exit status != 0: 13.093215044820681 13.391257597 12.96158251 Calling exit ...