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.001789/0.001789, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.002247/0.002247, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.454/1.454, allocations: 230.6 MB / 252.8 MB, free: 8.98 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.007274/0.007274, allocations: 1.006 MB / 309.9 MB, free: 3.227 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.001901/0.001901, allocations: 67.84 kB / 430.5 MB, free: 18.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09889/0.1008, allocations: 53.54 MB / 484.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.00236/0.1032, allocations: 1.222 MB / 485.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003606/0.1068, allocations: 2.192 MB / 487.5 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.3e-05/0.1068, allocations: 0 / 487.5 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.1068, allocations: 3.938 kB / 487.5 MB, free: 9.016 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.001396/0.1082, allocations: 0.5007 MB / 488 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.406e-06/0.1082, allocations: 0 / 488 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.16e-05/0.1083, allocations: 15.94 kB / 488 MB, free: 8.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.537e-05/0.1083, allocations: 3.984 kB / 488 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.058e-05/0.1083, allocations: 7.984 kB / 488 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.1086, allocations: 15.88 kB / 488 MB, free: 8.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.354e-06/0.1086, allocations: 0 / 488 MB, free: 8.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008574/0.1094, allocations: 0.558 MB / 488.6 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-06/0.1094, allocations: 3.938 kB / 488.6 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.546e-05/0.1094, allocations: 0 / 488.6 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000648/0.1101, allocations: 415.2 kB / 489 MB, free: 7.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1101, allocations: 0 / 489 MB, free: 7.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.592e-06/0.1101, allocations: 0 / 489 MB, free: 7.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.1101, allocations: 0 / 489 MB, free: 7.504 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.0005666/0.1107, allocations: 438.3 kB / 489.4 MB, free: 7.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.1107, allocations: 12.03 kB / 489.5 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.155e-05/0.1108, allocations: 114 kB / 489.6 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.146e-05/0.1109, allocations: 76.22 kB / 489.6 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.1111, allocations: 247.6 kB / 489.9 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.174e-05/0.1112, allocations: 154.9 kB / 490 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.917e-05/0.1112, allocations: 154.5 kB / 490.2 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.564e-05/0.1113, allocations: 101 kB / 490.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.841e-05/0.1113, allocations: 83.27 kB / 490.4 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.249e-05/0.1114, allocations: 150.6 kB / 490.5 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.645e-05/0.1115, allocations: 154.6 kB / 490.7 MB, free: 5.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.503e-05/0.1116, allocations: 154.5 kB / 490.8 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003359/0.1119, allocations: 445.9 kB / 491.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.112, allocations: 177.1 kB / 491.4 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.005e-05/0.112, allocations: 84.08 kB / 491.5 MB, free: 4.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.696e-05/0.1121, allocations: 75.28 kB / 491.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.243e-05/0.1122, allocations: 109.8 kB / 491.7 MB, free: 4.648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1122, allocations: 3.938 kB / 491.7 MB, free: 4.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.853e-05/0.1122, allocations: 37.69 kB / 491.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.628e-05/0.1123, allocations: 126.7 kB / 491.8 MB, free: 4.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.1124, allocations: 101.9 kB / 491.9 MB, free: 4.355 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.1124, allocations: 25.7 kB / 492 MB, free: 4.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/0.1125, allocations: 84.12 kB / 492.1 MB, free: 4.238 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-06/0.1125, allocations: 0 / 492.1 MB, free: 4.238 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.167e-05/0.1125, allocations: 9.719 kB / 492.1 MB, free: 4.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1127, allocations: 322.8 kB / 492.4 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-06/0.1127, allocations: 0 / 492.4 MB, free: 3.898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.504e-06/0.1127, allocations: 0 / 492.4 MB, free: 3.898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.88e-05/0.1127, allocations: 75.53 kB / 492.5 MB, free: 3.824 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.112e-05/0.1128, allocations: 75.28 kB / 492.5 MB, free: 3.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.216e-05/0.1128, allocations: 41.58 kB / 492.6 MB, free: 3.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.766e-05/0.1129, allocations: 81.62 kB / 492.6 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.215e-05/0.1129, allocations: 75.28 kB / 492.7 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.009e-05/0.113, allocations: 166.5 kB / 492.9 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.93e-05/0.113, allocations: 75.28 kB / 493 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-05/0.1131, allocations: 154.5 kB / 493.1 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.742e-05/0.1132, allocations: 83.22 kB / 493.2 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.15e-05/0.1132, allocations: 75.28 kB / 493.3 MB, free: 3.004 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.0001504/0.1134, allocations: 268.4 kB / 493.5 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.067e-05/0.1135, allocations: 108.9 kB / 493.6 MB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.927e-05/0.1135, allocations: 112.1 kB / 493.7 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.956e-05/0.1136, allocations: 176.3 kB / 493.9 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.514e-05/0.1137, allocations: 184.2 kB / 494.1 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.18e-05/0.1138, allocations: 176.3 kB / 494.3 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.1141, allocations: 413.1 kB / 494.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.211e-05/0.1141, allocations: 105 kB / 494.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.457e-05/0.1142, allocations: 101 kB / 494.9 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.549e-05/0.1142, allocations: 188.2 kB / 495.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.942e-05/0.1143, allocations: 176.3 kB / 495.2 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.644e-05/0.1144, allocations: 180.2 kB / 495.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.738e-05/0.1145, allocations: 180.6 kB / 495.6 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.1147, allocations: 315.7 kB / 495.9 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.1148, allocations: 186.1 kB / 496.1 MB, free: 16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-05/0.1149, allocations: 180.2 kB / 496.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.886e-05/0.115, allocations: 109 kB / 496.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.849e-05/0.1151, allocations: 192.2 kB / 496.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.573e-05/0.1151, allocations: 104.9 kB / 496.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.167e-05/0.1152, allocations: 79.28 kB / 496.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1152, allocations: 0 / 496.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006154/0.1158, allocations: 167.4 kB / 496.9 MB, free: 15.15 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.001628/0.1174, allocations: 1.209 MB / 498.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.549e-05/0.1175, allocations: 4 kB / 498.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.1175, allocations: 4 kB / 498.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.1175, allocations: 0 / 498.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.1179, allocations: 459.7 kB / 498.5 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.1195, allocations: 1.657 MB / 0.4885 GB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.1198, allocations: 0.6768 MB / 0.4891 GB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.345e-05/0.1198, allocations: 8.031 kB / 0.4891 GB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.1198, allocations: 15.42 kB / 0.4892 GB, free: 11.06 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1198, allocations: 0 / 0.4892 GB, free: 11.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03011/0.1499, allocations: 4.56 MB / 0.4936 GB, free: 6.566 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.309/8.459, allocations: 2.953 kB / 0.4936 GB, free: 6.566 MB / 366.1 MB " [Timeout remaining time 651] (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: 11.083955244001118] Failed to read output from testmodel.py, exit status != 0: 8.52852569600509 8.549012527 8.433455082 Calling exit ...