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.001285/0.001285, allocations: 108.3 kB / 16.46 MB, free: 6.512 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.001356/0.001356, allocations: 208.3 kB / 19.43 MB, free: 3.645 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.416/1.416, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.009231/0.009231, allocations: 1.006 MB / 309.9 MB, free: 3.273 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.001938/0.001938, allocations: 64.19 kB / 430.5 MB, free: 18.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1071, allocations: 53.54 MB / 484.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.002337/0.1094, allocations: 1.21 MB / 485.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003333/0.1128, allocations: 2.133 MB / 487.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.841e-05/0.1128, allocations: 0 / 487.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.178e-05/0.1128, allocations: 3.938 kB / 487.4 MB, free: 9.125 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.001268/0.1141, allocations: 482.4 kB / 487.9 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.115e-06/0.1141, allocations: 0 / 487.9 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.943e-05/0.1141, allocations: 4 kB / 487.9 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.697e-05/0.1142, allocations: 7.938 kB / 487.9 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.304e-05/0.1142, allocations: 0 / 487.9 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01049/0.1247, allocations: 7.984 kB / 487.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.1247, allocations: 0 / 487.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001563/0.1262, allocations: 0.5306 MB / 488.5 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.357e-06/0.1263, allocations: 3.938 kB / 488.5 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.1263, allocations: 4 kB / 488.5 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000836/0.1271, allocations: 387.2 kB / 488.8 MB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1271, allocations: 0 / 488.8 MB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1271, allocations: 0 / 488.8 MB, free: 7.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1271, allocations: 0 / 488.8 MB, free: 7.715 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.0006365/0.1278, allocations: 426.5 kB / 489.3 MB, free: 7.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.1278, allocations: 12.02 kB / 489.3 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.95e-05/0.1279, allocations: 110 kB / 489.4 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.339e-05/0.128, allocations: 80.22 kB / 489.5 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.1282, allocations: 247.6 kB / 489.7 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.561e-05/0.1283, allocations: 150.9 kB / 489.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.672e-05/0.1284, allocations: 158.5 kB / 490 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.895e-05/0.1285, allocations: 104.9 kB / 490.1 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.617e-05/0.1285, allocations: 79.28 kB / 490.2 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.445e-05/0.1286, allocations: 154.5 kB / 490.3 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.423e-05/0.1287, allocations: 150.6 kB / 490.5 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.42e-05/0.1288, allocations: 154.6 kB / 490.6 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004787/0.1293, allocations: 446 kB / 491.1 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001451/0.1294, allocations: 177 kB / 491.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.007e-05/0.1295, allocations: 80.14 kB / 491.3 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.915e-05/0.1295, allocations: 75.28 kB / 491.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.985e-05/0.1296, allocations: 113.8 kB / 491.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.322e-06/0.1296, allocations: 4 kB / 491.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001141/0.1298, allocations: 33.66 kB / 491.5 MB, free: 4.828 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.1299, allocations: 126.7 kB / 491.7 MB, free: 4.691 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.13, allocations: 109.8 kB / 491.8 MB, free: 4.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.13, allocations: 25.7 kB / 491.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.442e-05/0.1301, allocations: 80.14 kB / 491.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-06/0.1301, allocations: 3.938 kB / 491.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.1301, allocations: 9.719 kB / 491.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002749/0.1304, allocations: 318.8 kB / 492.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.362e-06/0.1304, allocations: 0 / 492.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.288e-06/0.1304, allocations: 0 / 492.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.275e-05/0.1305, allocations: 75.28 kB / 492.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.44e-05/0.1306, allocations: 75.28 kB / 492.3 MB, free: 3.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.529e-05/0.1306, allocations: 37.64 kB / 492.4 MB, free: 3.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.82e-05/0.1307, allocations: 79.28 kB / 492.5 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.551e-05/0.1307, allocations: 83.2 kB / 492.5 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001066/0.1308, allocations: 154.6 kB / 492.7 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.055e-05/0.1309, allocations: 79.28 kB / 492.8 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.4e-05/0.131, allocations: 162.4 kB / 492.9 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.827e-05/0.1311, allocations: 75.28 kB / 493 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.793e-05/0.1311, allocations: 79.22 kB / 493.1 MB, free: 3.227 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.0001721/0.1313, allocations: 272.3 kB / 493.3 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.182e-05/0.1314, allocations: 105 kB / 493.4 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.547e-05/0.1315, allocations: 104.1 kB / 493.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001005/0.1316, allocations: 184.2 kB / 493.7 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-05/0.1316, allocations: 180.3 kB / 493.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001023/0.1317, allocations: 188.2 kB / 494.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.1321, allocations: 409.2 kB / 494.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.958e-05/0.1321, allocations: 101 kB / 494.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.845e-05/0.1322, allocations: 104.9 kB / 494.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001026/0.1323, allocations: 184.4 kB / 494.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.856e-05/0.1324, allocations: 184.2 kB / 495 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.809e-05/0.1325, allocations: 176.3 kB / 495.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001037/0.1326, allocations: 184.2 kB / 495.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.1328, allocations: 312.1 kB / 495.7 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.1329, allocations: 182 kB / 495.9 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.133, allocations: 184.3 kB / 496.1 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.1332, allocations: 108.9 kB / 496.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.1333, allocations: 180.2 kB / 496.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.276e-05/0.1334, allocations: 104.9 kB / 496.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.077e-05/0.1334, allocations: 87.28 kB / 496.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1334, allocations: 0 / 496.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009085/0.1344, allocations: 151.5 kB / 496.7 MB, free: 15.39 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.00213/0.1365, allocations: 1.193 MB / 497.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.386e-05/0.1365, allocations: 4 kB / 497.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1365, allocations: 8 kB / 497.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.315e-06/0.1365, allocations: 0 / 497.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006094/0.1371, allocations: 455.6 kB / 498.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.1392, allocations: 1.645 MB / 500 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.1396, allocations: 0.6729 MB / 0.4889 GB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.129e-05/0.1396, allocations: 4.062 kB / 0.4889 GB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.24e-05/0.1396, allocations: 15.42 kB / 0.4889 GB, free: 11.33 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1396, allocations: 0 / 0.4889 GB, free: 11.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03454/0.1741, allocations: 4.331 MB / 0.4932 GB, free: 7.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.182/8.357, allocations: 3.984 kB / 0.4932 GB, free: 7.066 MB / 366.1 MB " [Timeout remaining time 652] (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: 10.882095123000909] Failed to read output from testmodel.py, exit status != 0: 8.427641054993728 8.447126026 8.31617078 Calling exit ...