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.001433/0.001433, allocations: 110.4 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.001611/0.001611, allocations: 217.5 kB / 22.25 MB, free: 5.121 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.965 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.007378/0.007378, allocations: 1.014 MB / 313.5 MB, free: 2.066 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.002073/0.002073, allocations: 63.91 kB / 435.7 MB, free: 16.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09315/0.09523, allocations: 53.58 MB / 489.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.002292/0.09752, allocations: 1.216 MB / 490.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003757/0.1013, allocations: 2.294 MB / 492.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.144e-05/0.1013, allocations: 0 / 492.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.052e-05/0.1013, allocations: 0 / 492.8 MB, free: 7.406 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.001569/0.1029, allocations: 0.5136 MB / 493.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.327e-06/0.1029, allocations: 0 / 493.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.467e-05/0.1029, allocations: 15.92 kB / 493.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.089e-05/0.103, allocations: 4 kB / 493.4 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.891e-05/0.103, allocations: 7.938 kB / 493.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.1033, allocations: 11.92 kB / 493.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.594e-06/0.1033, allocations: 0 / 493.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009813/0.1042, allocations: 0.558 MB / 493.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.442e-06/0.1042, allocations: 0 / 493.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.487e-05/0.1043, allocations: 15.91 kB / 493.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006511/0.1049, allocations: 403.3 kB / 494.3 MB, free: 5.887 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1049, allocations: 4 kB / 494.3 MB, free: 5.883 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1049, allocations: 0 / 494.3 MB, free: 5.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1049, allocations: 3.938 kB / 494.4 MB, free: 5.879 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.0005017/0.1054, allocations: 365.2 kB / 494.7 MB, free: 5.492 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1055, allocations: 12.03 kB / 494.7 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.508e-05/0.1055, allocations: 106 kB / 494.8 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.279e-05/0.1056, allocations: 76.22 kB / 494.9 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.1058, allocations: 189.8 kB / 495.1 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.69e-05/0.1059, allocations: 158.9 kB / 495.2 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.848e-05/0.1059, allocations: 162.5 kB / 495.4 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.3e-05/0.106, allocations: 101 kB / 495.5 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.475e-05/0.1061, allocations: 79.27 kB / 495.6 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-05/0.1061, allocations: 150.6 kB / 495.7 MB, free: 4.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.297e-05/0.1062, allocations: 158.5 kB / 495.9 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.104e-05/0.1063, allocations: 150.6 kB / 496 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003095/0.1066, allocations: 417 kB / 496.4 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.1067, allocations: 169.1 kB / 496.6 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.225e-05/0.1067, allocations: 92.17 kB / 496.7 MB, free: 3.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.883e-05/0.1068, allocations: 79.28 kB / 496.8 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.864e-05/0.1068, allocations: 113.8 kB / 496.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.1068, allocations: 0 / 496.9 MB, free: 3.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.178e-05/0.1069, allocations: 25.7 kB / 496.9 MB, free: 3.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.612e-05/0.107, allocations: 126.7 kB / 497 MB, free: 3.043 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.1071, allocations: 105.8 kB / 497.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.1071, allocations: 29.7 kB / 497.2 MB, free: 2.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.1072, allocations: 84.14 kB / 497.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-06/0.1072, allocations: 0 / 497.2 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-05/0.1072, allocations: 9.719 kB / 497.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1074, allocations: 318.8 kB / 497.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.649e-06/0.1074, allocations: 0 / 497.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.146e-06/0.1074, allocations: 0 / 497.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.977e-05/0.1074, allocations: 83.22 kB / 497.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.231e-05/0.1074, allocations: 79.28 kB / 497.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.179e-05/0.1075, allocations: 33.62 kB / 497.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.787e-05/0.1075, allocations: 83.28 kB / 497.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.363e-05/0.1076, allocations: 75.28 kB / 497.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.76e-05/0.1077, allocations: 158.4 kB / 498.1 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.088e-05/0.1077, allocations: 75.28 kB / 498.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-05/0.1077, allocations: 158.5 kB / 498.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.585e-05/0.1078, allocations: 83.28 kB / 498.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.1079, allocations: 75.28 kB / 498.4 MB, free: 1.574 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.0001374/0.108, allocations: 264.3 kB / 498.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.565e-05/0.1081, allocations: 108.9 kB / 498.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.904e-05/0.1081, allocations: 104.1 kB / 498.9 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.881e-05/0.1082, allocations: 184.2 kB / 499.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.075e-05/0.1083, allocations: 184.3 kB / 499.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.177e-05/0.1084, allocations: 180.2 kB / 499.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.1087, allocations: 384.2 kB / 499.8 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.534e-05/0.1087, allocations: 105 kB / 499.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.592e-05/0.1088, allocations: 105.2 kB / 0.4883 GB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.043e-05/0.1089, allocations: 180.3 kB / 0.4885 GB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.919e-05/0.1089, allocations: 184.3 kB / 0.4887 GB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.501e-05/0.109, allocations: 180.2 kB / 0.4888 GB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.766e-05/0.1091, allocations: 176.6 kB / 0.489 GB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.1093, allocations: 319.7 kB / 0.4893 GB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.072e-05/0.1094, allocations: 112.9 kB / 0.4894 GB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.1095, allocations: 176.3 kB / 0.4896 GB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.731e-05/0.1096, allocations: 109 kB / 0.4897 GB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.409e-05/0.1097, allocations: 180.2 kB / 0.4898 GB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.472e-05/0.1097, allocations: 109 kB / 0.49 GB, free: 14.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.138e-05/0.1098, allocations: 83.28 kB / 0.49 GB, free: 14.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1098, allocations: 0 / 0.49 GB, free: 14.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006797/0.1104, allocations: 163.4 kB / 0.4902 GB, free: 13.86 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.001708/0.1122, allocations: 1.217 MB / 0.4914 GB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.679e-05/0.1122, allocations: 8 kB / 0.4914 GB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1122, allocations: 0 / 0.4914 GB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.1122, allocations: 0 / 0.4914 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.0004162/0.1126, allocations: 459.7 kB / 0.4918 GB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.1142, allocations: 1.669 MB / 0.4935 GB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.1146, allocations: 0.6729 MB / 0.4941 GB, free: 9.777 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.244e-05/0.1146, allocations: 4 kB / 0.4941 GB, free: 9.773 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.1146, allocations: 11.44 kB / 0.4941 GB, free: 9.762 MB / 366.1 MB Notification: Performance of SimCode: time 1.092e-06/0.1146, allocations: 0 / 0.4941 GB, free: 9.762 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03601/0.1506, allocations: 4.681 MB / 0.4987 GB, free: 5.203 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.37, allocations: 7.984 kB / 0.4987 GB, free: 5.195 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: 14.189502281002206] Failed to read output from testmodel.py, exit status != 0: 11.478649292999762 11.677461713 11.569563047 Calling exit ...