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.001775/0.001775, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001493/0.001493, allocations: 215.5 kB / 22.25 MB, free: 5.113 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 8.004 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.007365/0.007365, allocations: 1.008 MB / 313.4 MB, free: 2.098 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.002028/0.002028, allocations: 67.88 kB / 435.7 MB, free: 16.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1066, allocations: 53.58 MB / 489.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.002416/0.1091, allocations: 1.207 MB / 490.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004085/0.1131, allocations: 2.252 MB / 492.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.967e-05/0.1132, allocations: 0 / 492.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.241e-05/0.1132, allocations: 0 / 492.8 MB, free: 7.48 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.001538/0.1147, allocations: 478.4 kB / 493.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.318e-06/0.1147, allocations: 0 / 493.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.932e-05/0.1148, allocations: 7.938 kB / 493.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.438e-05/0.1149, allocations: 4 kB / 493.2 MB, free: 7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.326e-05/0.1149, allocations: 0 / 493.2 MB, free: 7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.1152, allocations: 11.92 kB / 493.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.1152, allocations: 0 / 493.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.1162, allocations: 0.5307 MB / 493.8 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.1162, allocations: 7.938 kB / 493.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.553e-05/0.1163, allocations: 0 / 493.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005827/0.1168, allocations: 387.3 kB / 494.2 MB, free: 6.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.1169, allocations: 3.984 kB / 494.2 MB, free: 6.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1169, allocations: 3.938 kB / 494.2 MB, free: 6.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.1169, allocations: 0 / 494.2 MB, free: 6.062 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.0004803/0.1173, allocations: 349.4 kB / 494.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.1174, allocations: 12.03 kB / 494.5 MB, free: 5.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.992e-05/0.1175, allocations: 110 kB / 494.6 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.774e-05/0.1175, allocations: 76.22 kB / 494.7 MB, free: 5.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.1178, allocations: 189.8 kB / 494.9 MB, free: 5.277 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.43e-05/0.1178, allocations: 150.9 kB / 495.1 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-05/0.1179, allocations: 154.5 kB / 495.2 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.983e-05/0.118, allocations: 101 kB / 495.3 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.95e-05/0.118, allocations: 79.28 kB / 495.4 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.778e-05/0.1181, allocations: 154.5 kB / 495.5 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.065e-05/0.1181, allocations: 158.5 kB / 495.7 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.756e-05/0.1182, allocations: 150.6 kB / 495.8 MB, free: 4.336 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003178/0.1185, allocations: 413 kB / 496.2 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.1186, allocations: 177.1 kB / 496.4 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.449e-05/0.1187, allocations: 80.14 kB / 496.5 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.196e-05/0.1187, allocations: 83.22 kB / 496.6 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.479e-05/0.1188, allocations: 113.8 kB / 496.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.1188, allocations: 0 / 496.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001035/0.1189, allocations: 37.66 kB / 496.7 MB, free: 3.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.602e-05/0.119, allocations: 126.7 kB / 496.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.1191, allocations: 97.86 kB / 496.9 MB, free: 3.137 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.1191, allocations: 25.7 kB / 497 MB, free: 3.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.1192, allocations: 92.06 kB / 497 MB, free: 3.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-06/0.1192, allocations: 0 / 497 MB, free: 3.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.181e-05/0.1192, allocations: 9.719 kB / 497.1 MB, free: 2.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1194, allocations: 310.8 kB / 497.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.749e-06/0.1194, allocations: 4 kB / 497.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.499e-06/0.1194, allocations: 3.938 kB / 497.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.729e-05/0.1194, allocations: 79.28 kB / 497.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.448e-05/0.1195, allocations: 79.33 kB / 497.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.068e-05/0.1195, allocations: 33.64 kB / 497.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.622e-05/0.1196, allocations: 83.28 kB / 497.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.303e-05/0.1196, allocations: 75.28 kB / 497.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.683e-05/0.1197, allocations: 162.5 kB / 497.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.353e-05/0.1197, allocations: 75.28 kB / 497.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.453e-05/0.1198, allocations: 158.5 kB / 498.1 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.157e-05/0.1199, allocations: 75.28 kB / 498.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.1199, allocations: 75.28 kB / 498.2 MB, free: 1.785 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.0001637/0.1201, allocations: 268.3 kB / 498.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.946e-05/0.1202, allocations: 109 kB / 498.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.794e-05/0.1202, allocations: 108.1 kB / 498.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.613e-05/0.1203, allocations: 180.4 kB / 498.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.964e-05/0.1204, allocations: 180.3 kB / 499.1 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.63e-05/0.1205, allocations: 184.2 kB / 499.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003253/0.1208, allocations: 384.2 kB / 499.6 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.187e-05/0.1209, allocations: 105 kB / 499.7 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-05/0.1209, allocations: 104.9 kB / 499.8 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.978e-05/0.121, allocations: 184.2 kB / 0.4883 GB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-05/0.1211, allocations: 184.2 kB / 0.4885 GB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.072e-05/0.1212, allocations: 180.3 kB / 0.4886 GB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.68e-05/0.1213, allocations: 180.3 kB / 0.4888 GB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.1215, allocations: 312.1 kB / 0.4891 GB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.1215, allocations: 104.9 kB / 0.4892 GB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.614e-05/0.1216, allocations: 184.3 kB / 0.4894 GB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-05/0.1217, allocations: 105 kB / 0.4895 GB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-05/0.1218, allocations: 180.2 kB / 0.4897 GB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.649e-05/0.1219, allocations: 109 kB / 0.4898 GB, free: 14.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.893e-05/0.1219, allocations: 79.28 kB / 0.4898 GB, free: 14.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1219, allocations: 11.88 kB / 0.4898 GB, free: 14.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006835/0.1226, allocations: 147.5 kB / 0.49 GB, free: 14.08 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.001668/0.1243, allocations: 1.201 MB / 0.4912 GB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.377e-05/0.1243, allocations: 4 kB / 0.4912 GB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1243, allocations: 4 kB / 0.4912 GB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.1243, allocations: 0 / 0.4912 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.000407/0.1247, allocations: 451.7 kB / 0.4916 GB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.1263, allocations: 1.649 MB / 0.4932 GB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.1266, allocations: 0.6767 MB / 0.4939 GB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.977e-06/0.1266, allocations: 64 / 0.4939 GB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.1267, allocations: 19.42 kB / 0.4939 GB, free: 10.01 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1267, allocations: 0 / 0.4939 GB, free: 10.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03366/0.1603, allocations: 4.451 MB / 0.4982 GB, free: 5.684 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.71, allocations: 0 / 0.4982 GB, free: 5.684 MB / 366.1 MB " [Timeout remaining time 648] (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: 14.74659272700228] Failed to read output from testmodel.py, exit status != 0: 11.839682920999621 12.094303141 11.974553721 Calling exit ...