Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadReal_m.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.001359/0.001359, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001563/0.001563, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.41/1.41, allocations: 230.6 MB / 256 MB, free: 7.805 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.006845/0.006845, allocations: 1.012 MB / 313.4 MB, free: 1.91 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.ReadReal_m,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadReal_m",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadReal_m,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadReal_m",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.001914/0.001914, allocations: 71.88 kB / 435.7 MB, free: 16.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09269/0.0946, allocations: 53.58 MB / 489.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.002308/0.09691, allocations: 1.216 MB / 490.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003387/0.1003, allocations: 2.185 MB / 492.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.277e-05/0.1003, allocations: 0 / 492.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.1003, allocations: 0 / 492.6 MB, free: 7.355 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/readReal_m.mo:2:1-79:15:writable] Warning: Pure function 'KeyWordIO.readReal_m' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.001243/0.1016, allocations: 0.5083 MB / 493.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.996e-06/0.1016, allocations: 0 / 493.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.352e-05/0.1016, allocations: 11.94 kB / 493.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.404e-05/0.1017, allocations: 0 / 493.2 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.745e-05/0.1017, allocations: 11.94 kB / 493.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.1019, allocations: 11.92 kB / 493.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.496e-06/0.1019, allocations: 0 / 493.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008164/0.1028, allocations: 0.515 MB / 493.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.895e-06/0.1028, allocations: 0 / 493.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.659e-05/0.1028, allocations: 7.938 kB / 493.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005582/0.1033, allocations: 403.3 kB / 494.1 MB, free: 5.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1033, allocations: 3.938 kB / 494.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1033, allocations: 0 / 494.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.1033, allocations: 4 kB / 494.1 MB, free: 5.887 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.0004366/0.1038, allocations: 357.2 kB / 494.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.1038, allocations: 12.03 kB / 494.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.651e-05/0.1039, allocations: 110 kB / 494.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.279e-05/0.1039, allocations: 80.22 kB / 494.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.1041, allocations: 189.8 kB / 494.8 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/0.1042, allocations: 150.9 kB / 495 MB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.256e-05/0.1042, allocations: 154.5 kB / 495.1 MB, free: 4.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.167e-05/0.1043, allocations: 109 kB / 495.2 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/0.1043, allocations: 79.22 kB / 495.3 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.972e-05/0.1044, allocations: 150.6 kB / 495.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.976e-05/0.1044, allocations: 150.6 kB / 495.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.868e-05/0.1045, allocations: 158.6 kB / 495.8 MB, free: 4.145 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002925/0.1048, allocations: 417 kB / 496.2 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.36e-05/0.1049, allocations: 173.1 kB / 496.3 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.285e-05/0.1049, allocations: 84.12 kB / 496.4 MB, free: 3.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.819e-05/0.105, allocations: 83.27 kB / 496.5 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.539e-05/0.105, allocations: 109.8 kB / 496.6 MB, free: 3.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.105, allocations: 0 / 496.6 MB, free: 3.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.922e-05/0.1051, allocations: 25.7 kB / 496.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.1052, allocations: 126.7 kB / 496.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.1053, allocations: 105.8 kB / 496.9 MB, free: 2.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.1053, allocations: 29.7 kB / 496.9 MB, free: 2.914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.1053, allocations: 88.14 kB / 497 MB, free: 2.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.363e-06/0.1053, allocations: 3.938 kB / 497 MB, free: 2.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/0.1054, allocations: 9.719 kB / 497 MB, free: 2.805 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1055, allocations: 314.8 kB / 497.3 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-06/0.1055, allocations: 3.938 kB / 497.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.475e-06/0.1055, allocations: 0 / 497.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.036e-05/0.1055, allocations: 75.28 kB / 497.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.323e-05/0.1056, allocations: 75.28 kB / 497.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.424e-05/0.1056, allocations: 37.62 kB / 497.5 MB, free: 2.293 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.358e-05/0.1057, allocations: 79.28 kB / 497.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.169e-05/0.1057, allocations: 79.22 kB / 497.6 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.106e-05/0.1058, allocations: 166.5 kB / 497.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.825e-05/0.1058, allocations: 75.28 kB / 497.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.469e-05/0.1059, allocations: 154.5 kB / 498 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.502e-05/0.1059, allocations: 79.28 kB / 498.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.106, allocations: 79.22 kB / 498.2 MB, free: 1.59 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.000121/0.1061, allocations: 268.3 kB / 498.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.611e-05/0.1062, allocations: 105 kB / 498.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.953e-05/0.1062, allocations: 104.1 kB / 498.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.352e-05/0.1063, allocations: 184.2 kB / 498.8 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-05/0.1064, allocations: 176.3 kB / 499 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.32e-05/0.1064, allocations: 188.2 kB / 499.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.1067, allocations: 380.2 kB / 499.6 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-05/0.1067, allocations: 105 kB / 499.7 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.67e-05/0.1068, allocations: 112.9 kB / 499.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.838e-05/0.1068, allocations: 176.5 kB / 499.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.612e-05/0.1069, allocations: 188.2 kB / 0.4884 GB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.914e-05/0.107, allocations: 180.3 kB / 0.4886 GB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.718e-05/0.107, allocations: 176.6 kB / 0.4887 GB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.1072, allocations: 323.7 kB / 0.4891 GB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.1072, allocations: 104.9 kB / 0.4892 GB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.051e-05/0.1073, allocations: 180.3 kB / 0.4893 GB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.01e-05/0.1074, allocations: 109 kB / 0.4894 GB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.543e-05/0.1075, allocations: 180.2 kB / 0.4896 GB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.193e-05/0.1075, allocations: 101 kB / 0.4897 GB, free: 14.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.056e-05/0.1076, allocations: 87.28 kB / 0.4898 GB, free: 14.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1076, allocations: 0 / 0.4898 GB, free: 14.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004882/0.1081, allocations: 163.4 kB / 0.4899 GB, free: 13.88 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.001532/0.1096, allocations: 1.238 MB / 0.4912 GB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 3.646e-05/0.1096, allocations: 7.984 kB / 0.4912 GB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.1096, allocations: 4 kB / 0.4912 GB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.1096, allocations: 0 / 0.4912 GB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.11, allocations: 455.6 kB / 0.4916 GB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.1113, allocations: 1.665 MB / 0.4932 GB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.737e-05/0.1114, allocations: 59.42 kB / 0.4933 GB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.037e-05/0.1114, allocations: 3.984 kB / 0.4933 GB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.113e-05/0.1114, allocations: 11.44 kB / 0.4933 GB, free: 10.39 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1114, allocations: 0 / 0.4933 GB, free: 10.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03329/0.1447, allocations: 5.098 MB / 0.4983 GB, free: 5.422 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.66, allocations: 0 / 0.4983 GB, free: 5.422 MB / 366.1 MB " [Timeout remaining time 649] (rm -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadReal_m.sim & python3 -m fmpy simulate --output-file KeyWordIO_KeyWordIO.Examples.ReadReal_m_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_ReadReal_m.fmu > KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.309276151936501] Failed to read output from testmodel.py, exit status != 0: 10.767945816274732 10.961412589 10.8555542 Calling exit ...