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.001305/0.001305, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001486/0.001486, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.526/1.526, allocations: 230.6 MB / 256 MB, free: 7.988 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.007663/0.007663, allocations: 1.014 MB / 313.4 MB, free: 2.191 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.002088/0.002088, allocations: 67.89 kB / 435.7 MB, free: 16.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1029, allocations: 53.58 MB / 489.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.001609/0.1045, allocations: 493 kB / 489.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002593/0.1071, allocations: 1.453 MB / 491.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.548e-05/0.1071, allocations: 0 / 491.3 MB, free: 9.031 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.001487/0.1086, allocations: 333.9 kB / 491.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.586e-05/0.1087, allocations: 23.97 kB / 491.6 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.172e-05/0.1087, allocations: 11.92 kB / 491.6 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.1089, allocations: 27.97 kB / 491.6 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.969e-05/0.109, allocations: 0 / 491.6 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.071e-05/0.109, allocations: 15.92 kB / 491.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.54e-05/0.1091, allocations: 23.97 kB / 491.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.1091, allocations: 3.938 kB / 491.7 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000555/0.1096, allocations: 371.5 kB / 492 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.411e-05/0.1097, allocations: 23.86 kB / 492.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.209e-05/0.1098, allocations: 27.91 kB / 492.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000548/0.1103, allocations: 299.5 kB / 492.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1103, allocations: 0 / 492.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1103, allocations: 0 / 492.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.1103, allocations: 0 / 492.4 MB, free: 7.895 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.0005534/0.1109, allocations: 365.4 kB / 492.7 MB, free: 7.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.652e-05/0.1109, allocations: 8.031 kB / 492.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.135e-05/0.111, allocations: 110 kB / 492.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.668e-05/0.1111, allocations: 84.17 kB / 492.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.1113, allocations: 225.7 kB / 493.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.803e-05/0.1114, allocations: 150.9 kB / 493.3 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.243e-05/0.1115, allocations: 150.9 kB / 493.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.196e-05/0.1115, allocations: 104.9 kB / 493.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.799e-05/0.1116, allocations: 75.28 kB / 493.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.1117, allocations: 158.6 kB / 493.8 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.407e-05/0.1118, allocations: 150.6 kB / 493.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.929e-05/0.1119, allocations: 154.5 kB / 494.1 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.1122, allocations: 436.9 kB / 494.5 MB, free: 5.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.1124, allocations: 173.1 kB / 494.7 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.455e-05/0.1124, allocations: 80.14 kB / 494.8 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001361/0.1126, allocations: 79.22 kB / 494.8 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001314/0.1127, allocations: 71.31 kB / 494.9 MB, free: 5.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.174e-06/0.1127, allocations: 0 / 494.9 MB, free: 5.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001258/0.1128, allocations: 41.62 kB / 494.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.1129, allocations: 51.41 kB / 495 MB, free: 5.117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.1131, allocations: 141.8 kB / 495.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.1131, allocations: 25.7 kB / 495.2 MB, free: 4.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.1132, allocations: 88.14 kB / 495.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.1132, allocations: 7.953 kB / 495.3 MB, free: 4.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.1133, allocations: 13.84 kB / 495.3 MB, free: 4.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1134, allocations: 314.8 kB / 495.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.315e-06/0.1134, allocations: 4 kB / 495.6 MB, free: 4.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.178e-06/0.1134, allocations: 0 / 495.6 MB, free: 4.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.352e-05/0.1134, allocations: 12.86 kB / 495.6 MB, free: 4.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1134, allocations: 0 / 495.6 MB, free: 4.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.28e-05/0.1135, allocations: 37.58 kB / 495.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1135, allocations: 8.094 kB / 495.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1135, allocations: 7.984 kB / 495.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1135, allocations: 0 / 495.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.562e-05/0.1135, allocations: 3.938 kB / 495.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.1135, allocations: 0 / 495.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.594e-05/0.1136, allocations: 4 kB / 495.7 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.1136, allocations: 0 / 495.7 MB, free: 4.418 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 0.0001403/0.1137, allocations: 117.8 kB / 495.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.1137, allocations: 15.88 kB / 495.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.1138, allocations: 7.422 kB / 495.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1138, allocations: 4 kB / 495.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.1138, allocations: 4 kB / 495.8 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1138, allocations: 3.984 kB / 495.8 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/0.1139, allocations: 136.7 kB / 495.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.1139, allocations: 7.938 kB / 495.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.166e-06/0.1139, allocations: 0 / 495.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.1139, allocations: 0 / 495.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-06/0.1139, allocations: 0 / 495.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.1139, allocations: 3.984 kB / 495.9 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1139, allocations: 0 / 495.9 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.966e-05/0.114, allocations: 69.02 kB / 496 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.931e-05/0.114, allocations: 15.94 kB / 496 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.1141, allocations: 0 / 496 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.991e-05/0.1141, allocations: 8 kB / 496 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.568e-06/0.1141, allocations: 3.984 kB / 496 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.1141, allocations: 0 / 496 MB, free: 3.953 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.1142, allocations: 115.6 kB / 496.2 MB, free: 3.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1142, allocations: 4.031 kB / 496.2 MB, free: 3.836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003341/0.1145, allocations: 103.6 kB / 496.3 MB, free: 3.734 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.001182/0.1157, allocations: 0.8757 MB / 497.1 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.125e-05/0.1158, allocations: 4 kB / 497.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.1158, allocations: 4 kB / 497.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.861e-06/0.1158, allocations: 0 / 497.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.1159, allocations: 16.11 kB / 497.2 MB, free: 2.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.1174, allocations: 1.257 MB / 498.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.1177, allocations: 0.6884 MB / 499.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.805e-05/0.1178, allocations: 15.98 kB / 499.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/0.1178, allocations: 27.42 kB / 499.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1178, allocations: 0 / 499.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03569/0.1535, allocations: 3.96 MB / 0.4913 GB, free: 12.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/11.96, allocations: 3.984 kB / 0.4913 GB, free: 12.94 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.97850415799985] Failed to read output from testmodel.py, exit status != 0: 12.071582639000553 12.361138631 11.98676442 Calling exit ...