Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealCSV.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.001323/0.001323, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001586/0.001586, allocations: 210.3 kB / 22.24 MB, free: 5.262 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.385/1.385, allocations: 230.6 MB / 256 MB, free: 7.793 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.00684/0.00684, allocations: 1.009 MB / 313.4 MB, free: 1.906 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.ReadRealCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealCSV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadRealCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealCSV",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.001916/0.001916, allocations: 67.89 kB / 435.7 MB, free: 16.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08848/0.0904, allocations: 53.58 MB / 489.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.002405/0.0928, allocations: 1.266 MB / 490.5 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.09478, allocations: 1.297 MB / 491.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.811e-05/0.09481, allocations: 0 / 491.8 MB, free: 8.188 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/readRealCSV.mo:2:1-72:16:writable] Warning: Pure function 'KeyWordIO.readRealCSV' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeComponents: time 0.001242/0.09605, allocations: 266 kB / 492.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.09617, allocations: 59.88 kB / 492.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.176e-06/0.09617, allocations: 4 kB / 492.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.655e-05/0.09624, allocations: 39.84 kB / 492.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.558e-05/0.09627, allocations: 0 / 492.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.498e-05/0.09631, allocations: 23.91 kB / 492.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001236/0.09643, allocations: 27.91 kB / 492.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.927e-06/0.09644, allocations: 0 / 492.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004155/0.09685, allocations: 255.6 kB / 492.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.277e-05/0.09693, allocations: 39.89 kB / 492.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.09696, allocations: 19.92 kB / 492.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003596/0.09732, allocations: 239.5 kB / 492.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.09732, allocations: 4 kB / 492.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.09732, allocations: 0 / 492.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.09733, allocations: 0 / 492.8 MB, free: 7.23 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.0004598/0.09779, allocations: 361.4 kB / 493.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.09782, allocations: 12.03 kB / 493.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.561e-05/0.09787, allocations: 106 kB / 493.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.929e-05/0.09794, allocations: 84.17 kB / 493.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.09816, allocations: 221.7 kB / 493.5 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.992e-05/0.09822, allocations: 150.9 kB / 493.7 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.638e-05/0.09827, allocations: 154.9 kB / 493.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.725e-05/0.09835, allocations: 120.9 kB / 493.9 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.151e-05/0.09838, allocations: 75.28 kB / 494 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.97e-05/0.09844, allocations: 150.6 kB / 494.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.866e-05/0.0985, allocations: 150.6 kB / 494.3 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.399e-05/0.09856, allocations: 150.6 kB / 494.5 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.09888, allocations: 445 kB / 494.9 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.626e-05/0.09897, allocations: 169.1 kB / 495.1 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.899e-05/0.099, allocations: 84.14 kB / 495.1 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.09904, allocations: 79.22 kB / 495.2 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.841e-05/0.09909, allocations: 105.8 kB / 495.3 MB, free: 4.523 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.09909, allocations: 0 / 495.3 MB, free: 4.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.496e-05/0.09916, allocations: 33.66 kB / 495.4 MB, free: 4.484 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/0.09923, allocations: 134.6 kB / 495.5 MB, free: 4.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.09942, allocations: 173.4 kB / 495.7 MB, free: 4.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.09943, allocations: 25.7 kB / 495.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/0.09949, allocations: 96.14 kB / 495.8 MB, free: 4.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.222e-06/0.09949, allocations: 0 / 495.8 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.942e-05/0.09951, allocations: 9.719 kB / 495.8 MB, free: 4.016 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.09964, allocations: 322.8 kB / 496.1 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.047e-06/0.09964, allocations: 0 / 496.1 MB, free: 3.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.194e-06/0.09964, allocations: 3.938 kB / 496.1 MB, free: 3.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.162e-05/0.09968, allocations: 75.28 kB / 496.2 MB, free: 3.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.82e-05/0.0997, allocations: 75.28 kB / 496.3 MB, free: 3.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.578e-05/0.09977, allocations: 45.66 kB / 496.3 MB, free: 3.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.639e-05/0.09981, allocations: 83.28 kB / 496.4 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.465e-05/0.09984, allocations: 79.22 kB / 496.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.472e-05/0.09991, allocations: 154.6 kB / 496.6 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.26e-05/0.09994, allocations: 91.2 kB / 496.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-05/0.1, allocations: 154.5 kB / 496.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.072e-05/0.1001, allocations: 79.28 kB / 496.9 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.1001, allocations: 79.22 kB / 497 MB, free: 2.777 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 0.000127/0.1002, allocations: 268.4 kB / 497.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.196e-05/0.1003, allocations: 112.9 kB / 497.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.622e-05/0.1004, allocations: 116.7 kB / 497.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.26e-05/0.1005, allocations: 184.3 kB / 497.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.206e-05/0.1005, allocations: 180.2 kB / 497.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.679e-05/0.1006, allocations: 184.2 kB / 498 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.1008, allocations: 392.3 kB / 498.4 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.967e-05/0.1009, allocations: 108.9 kB / 498.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.894e-05/0.1009, allocations: 101 kB / 498.6 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.275e-05/0.101, allocations: 184.2 kB / 498.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.062e-05/0.1011, allocations: 184.1 kB / 499 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.711e-05/0.1011, allocations: 180.3 kB / 499.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.901e-05/0.1012, allocations: 184.2 kB / 499.3 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.1014, allocations: 311.7 kB / 499.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.518e-05/0.1014, allocations: 116.9 kB / 499.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.618e-05/0.1015, allocations: 180.3 kB / 499.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.536e-05/0.1016, allocations: 108.9 kB / 0.4883 GB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.518e-05/0.1017, allocations: 184.3 kB / 0.4885 GB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.195e-05/0.1018, allocations: 104.9 kB / 0.4886 GB, free: 15.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.1019, allocations: 135.2 kB / 0.4887 GB, free: 15.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1019, allocations: 0 / 0.4887 GB, free: 15.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003836/0.1023, allocations: 83.61 kB / 0.4888 GB, free: 15.05 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0009704/0.1032, allocations: 1.026 MB / 0.4898 GB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.15e-05/0.1033, allocations: 8 kB / 0.4898 GB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1033, allocations: 3.938 kB / 0.4898 GB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.856e-06/0.1033, allocations: 3.938 kB / 0.4898 GB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.1036, allocations: 455.7 kB / 0.4902 GB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.1054, allocations: 1.965 MB / 0.4922 GB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.957e-05/0.1055, allocations: 75.27 kB / 0.4922 GB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.255e-05/0.1055, allocations: 23.97 kB / 0.4923 GB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/0.1056, allocations: 31.42 kB / 0.4923 GB, free: 11.4 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1056, allocations: 0 / 0.4923 GB, free: 11.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03886/0.1444, allocations: 4.027 MB / 0.4962 GB, free: 7.508 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.64, allocations: 6.578 kB / 0.4962 GB, free: 7.504 MB / 366.1 MB " [Timeout remaining time 649] (rm -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealCSV.sim & python3 -m fmpy simulate --output-file KeyWordIO_KeyWordIO.Examples.ReadRealCSV_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_ReadRealCSV.fmu > KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.287789579015225] Failed to read output from testmodel.py, exit status != 0: 10.745669080875814 10.929158165 10.829215589 Calling exit ...