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.00169/0.00169, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001412/0.001412, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.437/1.437, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.006987/0.006987, allocations: 1.01 MB / 309.9 MB, free: 3.258 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.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: 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.001913/0.001913, allocations: 67.91 kB / 430.5 MB, free: 18.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09102/0.09293, allocations: 53.55 MB / 484.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.001657/0.09459, allocations: 484.1 kB / 484.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.09674, allocations: 1.354 MB / 485.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.567e-05/0.09677, allocations: 4 kB / 485.9 MB, free: 10.63 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.001375/0.09814, allocations: 312.6 kB / 486.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.802e-05/0.09819, allocations: 27.91 kB / 486.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.439e-05/0.09825, allocations: 15.97 kB / 486.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.189e-05/0.09833, allocations: 23.98 kB / 486.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.977e-05/0.09837, allocations: 7.984 kB / 486.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.959e-05/0.0984, allocations: 15.92 kB / 486.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.142e-05/0.09848, allocations: 19.92 kB / 486.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.09849, allocations: 0 / 486.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004987/0.09899, allocations: 343.5 kB / 486.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.281e-05/0.09905, allocations: 27.91 kB / 486.7 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.09908, allocations: 23.86 kB / 486.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004091/0.09949, allocations: 295.4 kB / 487 MB, free: 9.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.09949, allocations: 0 / 487 MB, free: 9.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.0995, allocations: 0 / 487 MB, free: 9.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.0995, allocations: 0 / 487 MB, free: 9.543 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.0005252/0.1, allocations: 438.5 kB / 487.4 MB, free: 9.066 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1001, allocations: 8.031 kB / 487.5 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.145e-05/0.1001, allocations: 118 kB / 487.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.024e-05/0.1002, allocations: 88.17 kB / 487.7 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.1005, allocations: 271.6 kB / 487.9 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.457e-05/0.1005, allocations: 150.9 kB / 488.1 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.002e-05/0.1006, allocations: 150.9 kB / 488.2 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.832e-05/0.1007, allocations: 112.9 kB / 488.3 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/0.1007, allocations: 79.27 kB / 488.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.186e-05/0.1008, allocations: 162.5 kB / 488.6 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.205e-05/0.1008, allocations: 150.6 kB / 488.7 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.982e-05/0.1009, allocations: 150.6 kB / 488.9 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.1012, allocations: 457.9 kB / 489.3 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.1013, allocations: 181.1 kB / 489.5 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.133e-05/0.1014, allocations: 88.08 kB / 489.6 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.1014, allocations: 79.22 kB / 489.6 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.1015, allocations: 71.31 kB / 489.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.024e-06/0.1015, allocations: 0 / 489.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001341/0.1017, allocations: 33.7 kB / 489.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.1017, allocations: 51.41 kB / 489.8 MB, free: 6.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.1019, allocations: 141.8 kB / 489.9 MB, free: 6.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.1019, allocations: 25.7 kB / 490 MB, free: 6.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.1019, allocations: 88.12 kB / 490 MB, free: 6.289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.1019, allocations: 12.06 kB / 490.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.102, allocations: 13.72 kB / 490.1 MB, free: 6.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.1021, allocations: 314.8 kB / 490.4 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/0.1021, allocations: 4 kB / 490.4 MB, free: 5.938 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-06/0.1021, allocations: 0 / 490.4 MB, free: 5.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.478e-05/0.1022, allocations: 12.78 kB / 490.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.1022, allocations: 4 kB / 490.4 MB, free: 5.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.169e-05/0.1022, allocations: 37.7 kB / 490.4 MB, free: 5.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1022, allocations: 8.031 kB / 490.4 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1022, allocations: 4 kB / 490.4 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1023, allocations: 0 / 490.4 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.827e-05/0.1023, allocations: 0 / 490.4 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.1023, allocations: 0 / 490.4 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.503e-05/0.1023, allocations: 3.938 kB / 490.5 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.1023, allocations: 4 kB / 490.5 MB, free: 5.855 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): 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.531e-05/0.1024, allocations: 113.8 kB / 490.6 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.1024, allocations: 11.89 kB / 490.6 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/0.1025, allocations: 19.47 kB / 490.6 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1025, allocations: 0 / 490.6 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1025, allocations: 3.938 kB / 490.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.1025, allocations: 0 / 490.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.1026, allocations: 169.6 kB / 490.8 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1026, allocations: 0 / 490.8 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-06/0.1026, allocations: 0 / 490.8 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.1026, allocations: 7.938 kB / 490.8 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-06/0.1026, allocations: 0 / 490.8 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1026, allocations: 0 / 490.8 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1026, allocations: 4 kB / 490.8 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.768e-05/0.1027, allocations: 65.06 kB / 490.8 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.85e-05/0.1028, allocations: 89.06 kB / 490.9 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.1028, allocations: 3.984 kB / 490.9 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.657e-05/0.1028, allocations: 4 kB / 490.9 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.406e-06/0.1028, allocations: 0 / 490.9 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.1028, allocations: 4 kB / 490.9 MB, free: 5.266 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.989e-05/0.1029, allocations: 119.2 kB / 491.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1029, allocations: 0 / 491.1 MB, free: 5.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003624/0.1033, allocations: 107.6 kB / 491.2 MB, free: 5.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: 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.001118/0.1044, allocations: 0.868 MB / 492 MB, free: 4.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.537e-05/0.1045, allocations: 4 kB / 492 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1045, allocations: 0 / 492 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.518e-06/0.1045, allocations: 11.98 kB / 492 MB, free: 4.195 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001589/0.1047, allocations: 8 kB / 492.1 MB, free: 4.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.1059, allocations: 1.26 MB / 493.3 MB, free: 2.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.1062, allocations: 0.6807 MB / 494 MB, free: 2.145 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.542e-05/0.1062, allocations: 15.98 kB / 494 MB, free: 2.129 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.1063, allocations: 27.42 kB / 494 MB, free: 2.102 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1063, allocations: 0 / 494 MB, free: 2.102 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02647/0.1327, allocations: 3.851 MB / 497.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.295/8.428, allocations: 7.984 kB / 497.9 MB, free: 14.31 MB / 366.1 MB " [Timeout remaining time 652] (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: 10.970578330001445] Failed to read output from testmodel.py, exit status != 0: 8.49937331599358 8.522977861 8.419181108 Calling exit ...