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.00086/0.00086, allocations: 79.69 kB / 19.25 MB, free: 0.6211 MB / 13.93 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.0008839/0.0008839, allocations: 162 kB / 22.55 MB, free: 1.969 MB / 18.57 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 0.9041/0.9041, allocations: 177.1 MB / 202.9 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo): time 0.003766/0.003766, allocations: 0.7877 MB / 260.1 MB, free: 12.43 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readLineWithoutCache.mo:2:1-87:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/writeLine.mo:2:1-61:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package KeyWordIO with version 0.12.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 382.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.163e-05/1.328e-05, allocations: 6.219 kB / 382.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001118/0.001131, allocations: 487.9 kB / 383 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.002455, allocations: 1.429 MB / 384.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.595e-05/0.00248, allocations: 0 / 384.4 MB, free: 13.67 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/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.1/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.1/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.1/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.0009952/0.003476, allocations: 333 kB / 384.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 3.389e-05/0.00351, allocations: 23.97 kB / 384.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.102e-05/0.003541, allocations: 11.98 kB / 384.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 6.255e-05/0.003603, allocations: 15.92 kB / 384.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.378e-05/0.003647, allocations: 11.92 kB / 384.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.072e-05/0.003688, allocations: 12 kB / 384.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.356e-05/0.003741, allocations: 11.98 kB / 384.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.003754, allocations: 0 / 384.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003025/0.004056, allocations: 323.3 kB / 385.1 MB, free: 12.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.068e-05/0.004117, allocations: 23.92 kB / 385.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.761e-05/0.004145, allocations: 8 kB / 385.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003156/0.00446, allocations: 323.2 kB / 385.5 MB, free: 12.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.004462, allocations: 0 / 385.5 MB, free: 12.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004463, allocations: 0 / 385.5 MB, free: 12.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.004467, allocations: 4 kB / 385.5 MB, free: 12.6 MB / 362.7 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.0003707/0.004837, allocations: 383.2 kB / 385.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.004876, allocations: 8.031 kB / 385.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.184e-05/0.004918, allocations: 114 kB / 386 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.987e-05/0.004968, allocations: 84.17 kB / 386 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.005113, allocations: 212.9 kB / 386.3 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.005153, allocations: 154.9 kB / 386.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.585e-05/0.005189, allocations: 154.9 kB / 386.6 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.643e-05/0.005236, allocations: 101.5 kB / 386.7 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.005256, allocations: 79.47 kB / 386.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.869e-05/0.005295, allocations: 154.5 kB / 386.9 MB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.031e-05/0.005325, allocations: 150.6 kB / 387 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.404e-05/0.005359, allocations: 150.6 kB / 387.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002063/0.005566, allocations: 433 kB / 387.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.748e-05/0.005643, allocations: 173.1 kB / 387.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.419e-05/0.005667, allocations: 80.14 kB / 387.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.005687, allocations: 75.28 kB / 387.9 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001155/0.005802, allocations: 106.8 kB / 388 MB, free: 9.875 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 2.175e-06/0.005805, allocations: 0 / 388 MB, free: 9.875 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001423/0.005947, allocations: 122.7 kB / 388.1 MB, free: 9.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.63e-05/0.006033, allocations: 132.5 kB / 388.3 MB, free: 9.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.114e-05/0.006124, allocations: 141.7 kB / 388.4 MB, free: 9.422 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/0.006132, allocations: 25.7 kB / 388.4 MB, free: 9.391 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.022e-05/0.006162, allocations: 84.14 kB / 388.5 MB, free: 9.305 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.006177, allocations: 15.94 kB / 388.5 MB, free: 9.289 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.86e-05/0.006196, allocations: 9.719 kB / 388.5 MB, free: 9.273 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.184e-05/0.006268, allocations: 323 kB / 388.9 MB, free: 8.949 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.006283, allocations: 25.7 kB / 388.9 MB, free: 8.918 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.112e-05/0.006294, allocations: 25.7 kB / 388.9 MB, free: 8.887 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.222e-05/0.006326, allocations: 64.27 kB / 389 MB, free: 8.809 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.006328, allocations: 0 / 389 MB, free: 8.809 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001172/0.006445, allocations: 97.03 kB / 389.1 MB, free: 8.695 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.006471, allocations: 33.64 kB / 389.1 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.006475, allocations: 0 / 389.1 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.006489, allocations: 0 / 389.1 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.01e-07/0.00649, allocations: 4.094 kB / 389.1 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.006494, allocations: 0 / 389.1 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.066e-05/0.006515, allocations: 4 kB / 389.1 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/0.00652, allocations: 0 / 389.1 MB, free: 8.648 MB / 362.7 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 6.424e-05/0.006584, allocations: 147.5 kB / 389.3 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.006594, allocations: 11.94 kB / 389.3 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.495e-05/0.006609, allocations: 15.36 kB / 389.3 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.006612, allocations: 0 / 389.3 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.006616, allocations: 0 / 389.3 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.006618, allocations: 0 / 389.3 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.371e-05/0.006682, allocations: 128.8 kB / 389.4 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.7e-07/0.006682, allocations: 4 kB / 389.4 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-07/0.006682, allocations: 0 / 389.4 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-07/0.006683, allocations: 0 / 389.4 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.006689, allocations: 7.938 kB / 389.4 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.006691, allocations: 7.984 kB / 389.4 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.006692, allocations: 0 / 389.4 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.867e-05/0.00676, allocations: 116.5 kB / 389.5 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.475e-05/0.006775, allocations: 15.94 kB / 389.6 MB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.006788, allocations: 3.938 kB / 389.6 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.433e-05/0.006803, allocations: 7.938 kB / 389.6 MB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.23e-05/0.006815, allocations: 4.031 kB / 389.6 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.006817, allocations: 4 kB / 389.6 MB, free: 8.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.785e-05/0.006865, allocations: 111.2 kB / 389.7 MB, free: 7.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006865, allocations: 0 / 389.7 MB, free: 7.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002189/0.007084, allocations: 99.61 kB / 389.8 MB, free: 7.883 MB / 362.7 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.0006673/0.007751, allocations: 0.9477 MB / 390.7 MB, free: 6.965 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000101/0.007852, allocations: 114.8 kB / 390.8 MB, free: 6.828 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.007855, allocations: 0 / 390.8 MB, free: 6.828 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.897e-05/0.007874, allocations: 81.11 kB / 390.9 MB, free: 6.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001086/0.007983, allocations: 8 kB / 390.9 MB, free: 6.723 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007609/0.008744, allocations: 1.413 MB / 392.3 MB, free: 5.191 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.777e-05/0.008781, allocations: 67.34 kB / 392.4 MB, free: 5.105 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.377e-05/0.008795, allocations: 8 kB / 392.4 MB, free: 5.098 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.565e-05/0.008831, allocations: 24.48 kB / 392.4 MB, free: 5.074 MB / 362.7 MB Notification: Performance of SimCode: time 2.91e-07/0.008831, allocations: 3.938 kB / 392.4 MB, free: 5.07 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0168/0.02563, allocations: 4.356 MB / 396.8 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.762/6.788, allocations: 9.875 kB / 396.8 MB, free: 0.8242 MB / 362.7 MB " [Timeout remaining time 653] (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: 8.651663615368307] Failed to read output from testmodel.py, exit status != 0: 6.865304036997259 6.873468106 6.867289981 Calling exit ...