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.001259/0.001259, allocations: 107.4 kB / 16.45 MB, free: 6.5 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.001326/0.001326, allocations: 210.4 kB / 19.42 MB, free: 3.66 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.425/1.425, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.007109/0.007109, allocations: 1.006 MB / 309.9 MB, free: 3.254 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.002689/0.002689, allocations: 67.91 kB / 430.5 MB, free: 18.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1338, allocations: 53.55 MB / 484.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001968/0.1358, allocations: 0.4918 MB / 484.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002623/0.1384, allocations: 1.351 MB / 485.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.629e-05/0.1384, allocations: 0 / 485.9 MB, free: 10.62 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.002098/0.1405, allocations: 309 kB / 486.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.993e-05/0.1406, allocations: 27.91 kB / 486.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.383e-05/0.1406, allocations: 12 kB / 486.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.801e-05/0.1407, allocations: 11.98 kB / 486.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.224e-05/0.1408, allocations: 11.98 kB / 486.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.885e-05/0.1408, allocations: 7.938 kB / 486.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.1409, allocations: 15.92 kB / 486.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.141, allocations: 0 / 486.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006881/0.1416, allocations: 343.5 kB / 486.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.712e-05/0.1417, allocations: 15.98 kB / 486.7 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.946e-05/0.1418, allocations: 23.8 kB / 486.7 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005903/0.1424, allocations: 283.5 kB / 487 MB, free: 9.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1424, allocations: 0 / 487 MB, free: 9.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.1424, allocations: 7.938 kB / 487 MB, free: 9.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.1424, allocations: 3.984 kB / 487 MB, free: 9.578 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.0006984/0.1431, allocations: 456.3 kB / 487.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.1431, allocations: 8.031 kB / 487.4 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.979e-05/0.1432, allocations: 110 kB / 487.5 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.1433, allocations: 80.17 kB / 487.6 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.1436, allocations: 267.5 kB / 487.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.521e-05/0.1437, allocations: 158.9 kB / 488 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-05/0.1438, allocations: 154.9 kB / 488.2 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.1439, allocations: 104.9 kB / 488.3 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.284e-05/0.1439, allocations: 75.28 kB / 488.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.698e-05/0.144, allocations: 154.5 kB / 488.5 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.047e-05/0.1441, allocations: 150.6 kB / 488.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.363e-05/0.1442, allocations: 154.6 kB / 488.8 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004144/0.1446, allocations: 465.9 kB / 489.3 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.1447, allocations: 173.1 kB / 489.4 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.153e-05/0.1448, allocations: 84.08 kB / 489.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.147e-05/0.1448, allocations: 83.22 kB / 489.6 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.145, allocations: 69.11 kB / 489.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 3.327e-06/0.145, allocations: 0 / 489.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002373/0.1452, allocations: 63.41 kB / 489.7 MB, free: 6.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.1454, allocations: 132.5 kB / 489.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.1455, allocations: 137.7 kB / 490 MB, free: 6.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.1455, allocations: 29.83 kB / 490 MB, free: 6.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.802e-05/0.1456, allocations: 92.12 kB / 490.1 MB, free: 6.184 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.1456, allocations: 0 / 490.1 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.1457, allocations: 21.66 kB / 490.1 MB, free: 6.156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1458, allocations: 310.8 kB / 490.4 MB, free: 5.844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.116e-05/0.1458, allocations: 0 / 490.4 MB, free: 5.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.047e-06/0.1458, allocations: 4 kB / 490.4 MB, free: 5.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.927e-05/0.1459, allocations: 60.33 kB / 490.5 MB, free: 5.766 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.1459, allocations: 0 / 490.5 MB, free: 5.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001035/0.146, allocations: 75.28 kB / 490.6 MB, free: 5.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.173e-05/0.1461, allocations: 33.7 kB / 490.6 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1461, allocations: 0 / 490.6 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.1461, allocations: 3.938 kB / 490.6 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.303e-06/0.1461, allocations: 0 / 490.6 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1461, allocations: 0 / 490.6 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.913e-05/0.1461, allocations: 4 kB / 490.6 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.1461, allocations: 3.938 kB / 490.6 MB, free: 5.629 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.0001357/0.1463, allocations: 147.6 kB / 490.8 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.1463, allocations: 7.938 kB / 490.8 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.456e-05/0.1463, allocations: 11.48 kB / 490.8 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1463, allocations: 0 / 490.8 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1463, allocations: 0 / 490.8 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.1463, allocations: 7.984 kB / 490.8 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.1465, allocations: 157.6 kB / 490.9 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1465, allocations: 0 / 490.9 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-07/0.1465, allocations: 4 kB / 490.9 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1465, allocations: 0 / 490.9 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.1465, allocations: 4 kB / 490.9 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1465, allocations: 0 / 490.9 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1465, allocations: 0 / 490.9 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.1467, allocations: 102.7 kB / 491 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.978e-05/0.1467, allocations: 85.09 kB / 491.1 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.1468, allocations: 4 kB / 491.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.706e-05/0.1468, allocations: 4 kB / 491.1 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.762e-05/0.1468, allocations: 4.031 kB / 491.1 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.1468, allocations: 4 kB / 491.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.214e-05/0.1469, allocations: 103.2 kB / 491.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1469, allocations: 0 / 491.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004777/0.1474, allocations: 103.6 kB / 491.3 MB, free: 4.777 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.001426/0.1488, allocations: 0.8908 MB / 492.2 MB, free: 3.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001648/0.149, allocations: 75.33 kB / 492.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.149, allocations: 0 / 492.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.117e-05/0.149, allocations: 55.41 kB / 492.4 MB, free: 3.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.1492, allocations: 4 kB / 492.4 MB, free: 3.758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.1507, allocations: 1.263 MB / 493.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.1511, allocations: 0.6807 MB / 494.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.178e-05/0.1511, allocations: 8 kB / 494.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.921e-05/0.1512, allocations: 23.42 kB / 494.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1512, allocations: 0 / 494.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03184/0.183, allocations: 3.644 MB / 498 MB, free: 14.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.247, allocations: 15.98 kB / 498 MB, free: 14.08 MB / 366.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted.fmu > KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.79975937200652] Failed to read output from testmodel.py, exit status != 0: 8.315098585997475 8.329387973 8.183831749 Calling exit ...