Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadStringCSV.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.001196/0.001196, 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.00148/0.00148, allocations: 162 kB / 22.56 MB, free: 1.965 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.9231/0.9231, allocations: 177.1 MB / 202.9 MB, free: 5.707 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.003582/0.003582, allocations: 0.8017 MB / 260.1 MB, free: 12.41 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.ReadStringCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadStringCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSV",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.605e-06/2.605e-06, allocations: 3.938 kB / 382.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.907e-05, allocations: 2.281 kB / 382.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.001369/0.001399, allocations: 487 kB / 383 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.003136, allocations: 1.441 MB / 384.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.651e-05/0.003172, allocations: 0 / 384.4 MB, free: 13.65 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.001467/0.004639, allocations: 326.8 kB / 384.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 4.527e-05/0.004684, allocations: 19.98 kB / 384.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.831e-05/0.004732, allocations: 15.91 kB / 384.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 8.183e-05/0.004814, allocations: 35.91 kB / 384.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.719e-05/0.004852, allocations: 0 / 384.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.306e-05/0.004895, allocations: 15.98 kB / 384.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.537e-05/0.00494, allocations: 19.92 kB / 384.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.004956, allocations: 4 kB / 384.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004749/0.005431, allocations: 323.4 kB / 385.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.12e-05/0.005512, allocations: 23.91 kB / 385.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.754e-05/0.005549, allocations: 11.98 kB / 385.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004731/0.006022, allocations: 331.2 kB / 385.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.006026, allocations: 0 / 385.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.006027, allocations: 0 / 385.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.006034, allocations: 3.984 kB / 385.5 MB, free: 12.54 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.0004795/0.006514, allocations: 373.4 kB / 385.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.006558, allocations: 8.031 kB / 385.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.034e-05/0.006608, allocations: 118 kB / 386 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.719e-05/0.006665, allocations: 88.17 kB / 386.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.00686, allocations: 216.9 kB / 386.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.443e-05/0.006914, allocations: 154.9 kB / 386.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.738e-05/0.006961, allocations: 150.9 kB / 386.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.203e-05/0.007023, allocations: 105.5 kB / 386.7 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.007051, allocations: 75.47 kB / 386.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.264e-05/0.007103, allocations: 154.5 kB / 386.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.8e-05/0.007151, allocations: 150.6 kB / 387.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.568e-05/0.007197, allocations: 162.4 kB / 387.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002282/0.007425, allocations: 437 kB / 387.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.778e-05/0.007493, allocations: 169.1 kB / 387.8 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.005e-05/0.007523, allocations: 80.14 kB / 387.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.007547, allocations: 79.28 kB / 388 MB, free: 9.938 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.007687, allocations: 67.31 kB / 388 MB, free: 9.859 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 2.776e-06/0.00769, allocations: 0 / 388 MB, free: 9.859 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001625/0.007853, allocations: 45.53 kB / 388.1 MB, free: 9.809 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.0079, allocations: 55.41 kB / 388.1 MB, free: 9.742 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.008045, allocations: 149.9 kB / 388.3 MB, free: 9.586 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.008055, allocations: 25.7 kB / 388.3 MB, free: 9.555 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.706e-05/0.008102, allocations: 84.14 kB / 388.4 MB, free: 9.469 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.008118, allocations: 4 kB / 388.4 MB, free: 9.465 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.008143, allocations: 13.72 kB / 388.4 MB, free: 9.445 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.948e-05/0.008232, allocations: 314.8 kB / 388.7 MB, free: 9.129 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.087e-05/0.008243, allocations: 3.984 kB / 388.7 MB, free: 9.125 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.029e-06/0.008248, allocations: 0 / 388.7 MB, free: 9.125 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.812e-05/0.008276, allocations: 8.859 kB / 388.7 MB, free: 9.113 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.008279, allocations: 0 / 388.7 MB, free: 9.113 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.11e-05/0.00833, allocations: 45.7 kB / 388.8 MB, free: 9.062 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.008345, allocations: 7.938 kB / 388.8 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.008351, allocations: 0 / 388.8 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.008363, allocations: 0 / 388.8 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.598e-05/0.008389, allocations: 0 / 388.8 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.008397, allocations: 0 / 388.8 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.852e-05/0.008425, allocations: 4 kB / 388.8 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.008431, allocations: 0 / 388.8 MB, free: 9.051 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): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 8.441e-05/0.008515, allocations: 117.8 kB / 388.9 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.222e-05/0.008528, allocations: 7.953 kB / 388.9 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/0.008565, allocations: 27.38 kB / 388.9 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.008568, allocations: 0 / 388.9 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.008573, allocations: 0 / 388.9 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.008576, allocations: 0 / 388.9 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.008689, allocations: 132.7 kB / 389.1 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.008691, allocations: 4 kB / 389.1 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-06/0.008696, allocations: 0 / 389.1 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.008699, allocations: 4 kB / 389.1 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.008706, allocations: 3.938 kB / 389.1 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.008707, allocations: 0 / 389.1 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.008708, allocations: 0 / 389.1 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.747e-05/0.008785, allocations: 77 kB / 389.2 MB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.965e-05/0.008805, allocations: 11.98 kB / 389.2 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.00882, allocations: 3.938 kB / 389.2 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.713e-05/0.008837, allocations: 8 kB / 389.2 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/0.008855, allocations: 0 / 389.2 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.008859, allocations: 3.984 kB / 389.2 MB, free: 8.582 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.504e-05/0.008924, allocations: 111.3 kB / 389.3 MB, free: 8.473 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008924, allocations: 0 / 389.3 MB, free: 8.473 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003066/0.00923, allocations: 103.6 kB / 389.4 MB, free: 8.371 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: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.0009154/0.01015, allocations: 0.8997 MB / 390.3 MB, free: 7.516 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.923e-05/0.01023, allocations: 12 kB / 390.3 MB, free: 7.504 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.01023, allocations: 0 / 390.3 MB, free: 7.504 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.797e-06/0.01023, allocations: 4 kB / 390.3 MB, free: 7.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.01037, allocations: 18.94 kB / 390.3 MB, free: 7.484 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.0114, allocations: 1.266 MB / 391.6 MB, free: 6.137 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.819e-05/0.01145, allocations: 63.34 kB / 391.7 MB, free: 6.055 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.899e-05/0.01149, allocations: 15.98 kB / 391.7 MB, free: 6.039 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.009e-05/0.01155, allocations: 32.48 kB / 391.7 MB, free: 6.008 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01155, allocations: 4.156 kB / 391.7 MB, free: 6.004 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.03492, allocations: 4.571 MB / 396.3 MB, free: 1.543 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.613/6.648, allocations: 11.62 kB / 396.3 MB, free: 1.535 MB / 362.7 MB " [Timeout remaining time 653] (rm -f KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadStringCSV.sim & python3 -m fmpy simulate --output-file KeyWordIO_KeyWordIO.Examples.ReadStringCSV_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_ReadStringCSV.fmu > KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.55179730989039] Failed to read output from testmodel.py, exit status != 0: 6.73205965384841 6.740922745 6.733179207 Calling exit ...