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.001888/0.001888, 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.002265/0.002265, 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.476/1.476, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.007108/0.007108, allocations: 1.009 MB / 309.9 MB, free: 3.25 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.001986/0.001986, allocations: 63.91 kB / 430.5 MB, free: 18.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09364/0.09563, allocations: 53.55 MB / 484.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.002364/0.09799, allocations: 1.269 MB / 485.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.1, allocations: 1.226 MB / 486.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.1001, allocations: 0 / 486.6 MB, free: 9.961 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.001473/0.1015, allocations: 262.2 kB / 486.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.1017, allocations: 55.88 kB / 486.9 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.306e-06/0.1017, allocations: 0 / 486.9 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.905e-05/0.1017, allocations: 35.84 kB / 486.9 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.1018, allocations: 8 kB / 486.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.335e-05/0.1018, allocations: 31.84 kB / 487 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.102, allocations: 31.91 kB / 487 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.017e-06/0.102, allocations: 0 / 487 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004645/0.1025, allocations: 271.6 kB / 487.3 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.881e-05/0.1026, allocations: 35.94 kB / 487.3 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.836e-05/0.1026, allocations: 19.88 kB / 487.3 MB, free: 9.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000406/0.103, allocations: 251.4 kB / 487.6 MB, free: 8.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.103, allocations: 3.938 kB / 487.6 MB, free: 8.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.103, allocations: 0 / 487.6 MB, free: 8.977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.103, allocations: 0 / 487.6 MB, free: 8.977 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.0006032/0.1036, allocations: 442.5 kB / 488 MB, free: 8.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1037, allocations: 8.031 kB / 488 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.975e-05/0.1037, allocations: 114 kB / 488.1 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.551e-05/0.1038, allocations: 80.17 kB / 488.2 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.1041, allocations: 279.5 kB / 488.5 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.212e-05/0.1041, allocations: 150.9 kB / 488.6 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.003e-05/0.1042, allocations: 154.9 kB / 488.8 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.556e-05/0.1043, allocations: 104.9 kB / 488.9 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.421e-05/0.1043, allocations: 79.28 kB / 489 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.026e-05/0.1044, allocations: 150.6 kB / 489.1 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-05/0.1044, allocations: 150.6 kB / 489.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.873e-05/0.1045, allocations: 154.6 kB / 489.4 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.1049, allocations: 473.8 kB / 489.9 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.105, allocations: 169.1 kB / 490 MB, free: 6.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.265e-05/0.105, allocations: 84.14 kB / 490.1 MB, free: 6.266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.336e-05/0.1051, allocations: 79.22 kB / 490.2 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.728e-05/0.1051, allocations: 109.8 kB / 490.3 MB, free: 6.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1051, allocations: 0 / 490.3 MB, free: 6.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 9.53e-05/0.1052, allocations: 37.59 kB / 490.3 MB, free: 6.027 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.783e-05/0.1053, allocations: 126.7 kB / 490.5 MB, free: 5.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.1056, allocations: 164.9 kB / 490.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.1056, allocations: 25.7 kB / 490.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.636e-05/0.1056, allocations: 104.1 kB / 490.7 MB, free: 5.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-06/0.1056, allocations: 4 kB / 490.7 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.468e-05/0.1057, allocations: 13.72 kB / 490.8 MB, free: 5.559 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.1058, allocations: 314.8 kB / 491.1 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.601e-06/0.1058, allocations: 0 / 491.1 MB, free: 5.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.661e-06/0.1059, allocations: 3.984 kB / 491.1 MB, free: 5.238 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.369e-05/0.1059, allocations: 83.28 kB / 491.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.711e-05/0.1059, allocations: 75.28 kB / 491.2 MB, free: 5.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.994e-05/0.106, allocations: 45.66 kB / 491.3 MB, free: 5.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.204e-05/0.1061, allocations: 85.94 kB / 491.4 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.641e-05/0.1061, allocations: 79.3 kB / 491.4 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.145e-05/0.1062, allocations: 154.6 kB / 491.6 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.719e-05/0.1062, allocations: 79.22 kB / 491.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.49e-05/0.1063, allocations: 150.6 kB / 491.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.1064, allocations: 87.2 kB / 491.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/0.1065, allocations: 83.28 kB / 492 MB, free: 4.324 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.0001615/0.1066, allocations: 264.4 kB / 492.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.307e-05/0.1067, allocations: 116.8 kB / 492.3 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.842e-05/0.1068, allocations: 116.8 kB / 492.5 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.192e-05/0.1069, allocations: 180.3 kB / 492.6 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-05/0.107, allocations: 184.2 kB / 492.8 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.216e-05/0.1071, allocations: 180.3 kB / 493 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003093/0.1074, allocations: 417.1 kB / 493.4 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.111e-05/0.1074, allocations: 112.9 kB / 493.5 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.793e-05/0.1075, allocations: 101 kB / 493.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.083e-05/0.1075, allocations: 184.2 kB / 493.8 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-05/0.1076, allocations: 184.3 kB / 494 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.806e-05/0.1077, allocations: 180.2 kB / 494.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.082e-05/0.1078, allocations: 176.3 kB / 494.3 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.108, allocations: 319.7 kB / 494.6 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.1081, allocations: 194 kB / 494.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.1082, allocations: 184.2 kB / 495 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.1083, allocations: 105 kB / 495.1 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.992e-05/0.1084, allocations: 184.2 kB / 495.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.918e-05/0.1085, allocations: 104.9 kB / 495.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.1086, allocations: 130.3 kB / 495.5 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1086, allocations: 3.938 kB / 495.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004304/0.109, allocations: 87.67 kB / 495.6 MB, free: 476 kB / 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: 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.001219/0.1102, allocations: 1.015 MB / 496.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.739e-05/0.1103, allocations: 3.938 kB / 496.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1103, allocations: 0 / 496.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.1103, allocations: 4 kB / 496.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.1107, allocations: 455.7 kB / 497.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.1127, allocations: 1.978 MB / 499 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.1131, allocations: 0.6885 MB / 499.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.175e-05/0.1131, allocations: 12 kB / 499.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.475e-05/0.1132, allocations: 35.41 kB / 499.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1132, allocations: 0 / 499.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0334/0.1466, allocations: 3.481 MB / 0.4915 GB, free: 8.793 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.098/8.245, allocations: 7.5 kB / 0.4915 GB, free: 8.789 MB / 366.1 MB " [Timeout remaining time 652] (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: 10.80692141399777] Failed to read output from testmodel.py, exit status != 0: 8.315139048994752 8.337391389 8.230233243 Calling exit ...