Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealParameter.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.001283/0.001283, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001618/0.001618, allocations: 220 kB / 22.24 MB, free: 5.109 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.82 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.006836/0.006836, allocations: 1.016 MB / 313.4 MB, free: 1.922 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.ReadRealParameter,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadRealParameter,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealParameter",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.001923/0.001923, allocations: 75.89 kB / 435.7 MB, free: 16.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09304/0.09496, allocations: 53.57 MB / 489.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.002347/0.09731, allocations: 1.204 MB / 490.4 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003426/0.1007, allocations: 2.139 MB / 492.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.022e-05/0.1008, allocations: 0 / 492.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.595e-05/0.1008, allocations: 0 / 492.6 MB, free: 7.43 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/readRealParameter.mo:2:1-99:22:writable] Warning: Pure function 'KeyWordIO.readRealParameter' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.001251/0.102, allocations: 474.5 kB / 493 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.287e-06/0.102, allocations: 0 / 493 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.153e-05/0.1021, allocations: 7.938 kB / 493 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.267e-05/0.1021, allocations: 7.984 kB / 493.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.873e-05/0.1021, allocations: 7.984 kB / 493.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.1024, allocations: 11.88 kB / 493.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.566e-06/0.1024, allocations: 0 / 493.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008108/0.1032, allocations: 495.5 kB / 493.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.833e-06/0.1032, allocations: 0 / 493.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.669e-05/0.1032, allocations: 4 kB / 493.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005222/0.1037, allocations: 383.3 kB / 493.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1037, allocations: 0 / 493.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1037, allocations: 0 / 493.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.1038, allocations: 0 / 493.9 MB, free: 6.066 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.0004371/0.1042, allocations: 353.4 kB / 494.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.1042, allocations: 12.03 kB / 494.3 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.615e-05/0.1043, allocations: 106 kB / 494.4 MB, free: 5.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.392e-05/0.1044, allocations: 80.16 kB / 494.5 MB, free: 5.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.1045, allocations: 189.8 kB / 494.7 MB, free: 5.277 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.065e-05/0.1046, allocations: 150.9 kB / 494.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.398e-05/0.1046, allocations: 158.5 kB / 495 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.227e-05/0.1047, allocations: 101 kB / 495.1 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.99e-05/0.1048, allocations: 79.27 kB / 495.1 MB, free: 4.789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.575e-05/0.1048, allocations: 154.6 kB / 495.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.376e-05/0.1049, allocations: 154.6 kB / 495.4 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.478e-05/0.105, allocations: 158.5 kB / 495.6 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/0.1052, allocations: 417 kB / 496 MB, free: 3.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.1053, allocations: 169.1 kB / 496.2 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.817e-05/0.1054, allocations: 80.14 kB / 496.2 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.929e-05/0.1054, allocations: 75.28 kB / 496.3 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.415e-05/0.1055, allocations: 113.8 kB / 496.4 MB, free: 3.426 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.1055, allocations: 0 / 496.4 MB, free: 3.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.463e-05/0.1056, allocations: 33.59 kB / 496.5 MB, free: 3.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.1056, allocations: 130.6 kB / 496.6 MB, free: 3.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.1057, allocations: 105.8 kB / 496.7 MB, free: 3.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.1057, allocations: 29.7 kB / 496.7 MB, free: 3.098 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.1058, allocations: 84.12 kB / 496.8 MB, free: 3.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/0.1058, allocations: 4 kB / 496.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/0.1058, allocations: 13.72 kB / 496.8 MB, free: 2.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.106, allocations: 310.8 kB / 497.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.138e-06/0.106, allocations: 0 / 497.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.484e-06/0.106, allocations: 0 / 497.1 MB, free: 2.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.725e-05/0.106, allocations: 79.28 kB / 497.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.058e-05/0.106, allocations: 75.28 kB / 497.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.726e-05/0.1061, allocations: 41.56 kB / 497.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.121e-05/0.1061, allocations: 87.28 kB / 497.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.53e-05/0.1062, allocations: 75.28 kB / 497.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.734e-05/0.1062, allocations: 158.5 kB / 497.6 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.764e-05/0.1063, allocations: 87.28 kB / 497.7 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-05/0.1063, allocations: 154.5 kB / 497.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.021e-05/0.1064, allocations: 79.22 kB / 497.9 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.1065, allocations: 79.28 kB / 498 MB, free: 1.766 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.0001311/0.1066, allocations: 264.3 kB / 498.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.768e-05/0.1067, allocations: 104.9 kB / 498.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.517e-05/0.1067, allocations: 116.1 kB / 498.5 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.541e-05/0.1068, allocations: 180.3 kB / 498.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.803e-05/0.1069, allocations: 184.2 kB / 498.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.111e-05/0.1069, allocations: 176.3 kB / 499 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.1072, allocations: 384.2 kB / 499.4 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-05/0.1072, allocations: 101 kB / 499.5 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.954e-05/0.1073, allocations: 101 kB / 499.6 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.819e-05/0.1074, allocations: 184.2 kB / 499.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.91e-05/0.1074, allocations: 184.2 kB / 500 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.866e-05/0.1075, allocations: 180.2 kB / 0.4884 GB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.461e-05/0.1076, allocations: 184.3 kB / 0.4886 GB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.1077, allocations: 304.1 kB / 0.4889 GB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-05/0.1078, allocations: 109 kB / 0.489 GB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-05/0.1079, allocations: 192.2 kB / 0.4892 GB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.456e-05/0.1079, allocations: 101 kB / 0.4893 GB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.857e-05/0.108, allocations: 188.1 kB / 0.4894 GB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/0.1081, allocations: 105 kB / 0.4895 GB, free: 14.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.919e-05/0.1081, allocations: 83.28 kB / 0.4896 GB, free: 14.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1081, allocations: 0 / 0.4896 GB, free: 14.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005034/0.1086, allocations: 143.5 kB / 0.4898 GB, free: 14.07 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.001455/0.1101, allocations: 1.217 MB / 0.4909 GB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.898e-05/0.1101, allocations: 0 / 0.4909 GB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1101, allocations: 3.938 kB / 0.4909 GB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.1101, allocations: 0 / 0.4909 GB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.1105, allocations: 459.7 kB / 0.4914 GB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.1119, allocations: 1.649 MB / 0.493 GB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.97e-05/0.1119, allocations: 55.42 kB / 0.493 GB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.016e-05/0.1119, allocations: 7.938 kB / 0.4931 GB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.1119, allocations: 15.42 kB / 0.4931 GB, free: 10.62 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1119, allocations: 0 / 0.4931 GB, free: 10.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03277/0.1447, allocations: 4.867 MB / 0.4978 GB, free: 5.883 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.69, allocations: 3.938 kB / 0.4978 GB, free: 5.879 MB / 366.1 MB " [Timeout remaining time 649] (rm -f KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealParameter.sim & python3 -m fmpy simulate --output-file KeyWordIO_KeyWordIO.Examples.ReadRealParameter_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_ReadRealParameter.fmu > KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.368081774096936] Failed to read output from testmodel.py, exit status != 0: 10.79502814123407 10.965610302 10.859405812 Calling exit ...