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.0009754/0.0009754, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001009/0.001009, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9535/0.9535, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo): time 0.003864/0.003864, allocations: 0.7908 MB / 260 MB, free: 12.46 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readLineWithoutCache.mo:2:1-87:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/writeLine.mo:2:1-61:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package KeyWordIO with version 0.12.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/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: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 382.3 MB, free: 14.47 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.32e-05, allocations: 2.281 kB / 382.3 MB, free: 14.47 MB / 314.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.001677/0.001701, allocations: 1.233 MB / 383.5 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002443/0.004144, allocations: 2.181 MB / 385.7 MB, free: 11.04 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.398e-05/0.004168, allocations: 0 / 385.7 MB, free: 11.04 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 2.003e-05/0.004188, allocations: 0 / 385.7 MB, free: 11.04 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/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.1/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.001283/0.00547, allocations: 0.5097 MB / 386.2 MB, free: 10.53 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.158e-06/0.005475, allocations: 0 / 386.2 MB, free: 10.53 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.837e-05/0.005523, allocations: 11.94 kB / 386.2 MB, free: 10.52 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.005565, allocations: 7.984 kB / 386.2 MB, free: 10.51 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.17e-05/0.005597, allocations: 7.984 kB / 386.2 MB, free: 10.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.693e-05/0.005664, allocations: 11.56 kB / 386.2 MB, free: 10.49 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.007e-06/0.005673, allocations: 4 kB / 386.2 MB, free: 10.49 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007107/0.006384, allocations: 0.507 MB / 386.7 MB, free: 9.98 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.598e-06/0.006393, allocations: 7.922 kB / 386.7 MB, free: 9.973 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.486e-05/0.006408, allocations: 4 kB / 386.7 MB, free: 9.969 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005257/0.006934, allocations: 498.8 kB / 387.2 MB, free: 9.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.006938, allocations: 4 kB / 387.2 MB, free: 9.477 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.006939, allocations: 0 / 387.2 MB, free: 9.477 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.006944, allocations: 0 / 387.2 MB, free: 9.477 MB / 314.7 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.0003784/0.007323, allocations: 357.3 kB / 387.6 MB, free: 9.098 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.007369, allocations: 12.03 kB / 387.6 MB, free: 9.086 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.06e-05/0.007419, allocations: 114 kB / 387.7 MB, free: 8.965 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.45e-05/0.007464, allocations: 76.22 kB / 387.8 MB, free: 8.891 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.007591, allocations: 193 kB / 388 MB, free: 8.676 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/0.007634, allocations: 150.9 kB / 388.1 MB, free: 8.527 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/0.007674, allocations: 158.9 kB / 388.3 MB, free: 8.371 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.407e-05/0.007738, allocations: 109.3 kB / 388.4 MB, free: 8.258 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.007762, allocations: 75.28 kB / 388.5 MB, free: 8.184 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.415e-05/0.007806, allocations: 150.6 kB / 388.6 MB, free: 8.035 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-05/0.007846, allocations: 150.6 kB / 388.7 MB, free: 7.887 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.504e-05/0.007891, allocations: 154.6 kB / 388.9 MB, free: 7.734 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002238/0.008115, allocations: 425 kB / 389.3 MB, free: 7.277 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.747e-05/0.008192, allocations: 177 kB / 389.5 MB, free: 7.094 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.8e-05/0.00822, allocations: 80.14 kB / 389.6 MB, free: 7.012 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.008245, allocations: 75.28 kB / 389.6 MB, free: 6.938 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.008282, allocations: 113.8 kB / 389.8 MB, free: 6.816 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.008282, allocations: 0 / 389.8 MB, free: 6.816 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 6.363e-05/0.008346, allocations: 29.69 kB / 389.8 MB, free: 6.781 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.008401, allocations: 138.6 kB / 389.9 MB, free: 6.633 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.548e-05/0.008497, allocations: 101.9 kB / 390 MB, free: 6.523 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.446e-06/0.008505, allocations: 25.7 kB / 390 MB, free: 6.492 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.111e-05/0.008536, allocations: 88.12 kB / 390.1 MB, free: 6.402 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.008538, allocations: 0 / 390.1 MB, free: 6.402 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.623e-05/0.008555, allocations: 9.719 kB / 390.1 MB, free: 6.387 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.837e-05/0.008643, allocations: 314.8 kB / 390.4 MB, free: 6.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.41e-06/0.008648, allocations: 0 / 390.4 MB, free: 6.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.426e-06/0.008652, allocations: 0 / 390.4 MB, free: 6.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.295e-05/0.008675, allocations: 75.28 kB / 390.5 MB, free: 5.996 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.099e-05/0.008696, allocations: 75.28 kB / 390.6 MB, free: 5.922 MB / 314.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.747e-05/0.008733, allocations: 33.7 kB / 390.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.008763, allocations: 83.22 kB / 390.7 MB, free: 5.801 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.402e-05/0.008787, allocations: 83.22 kB / 390.8 MB, free: 5.719 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.555e-05/0.008832, allocations: 158.5 kB / 390.9 MB, free: 5.562 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.207e-05/0.008854, allocations: 79.22 kB / 391 MB, free: 5.484 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.879e-05/0.008893, allocations: 154.5 kB / 391.2 MB, free: 5.332 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.14e-05/0.008945, allocations: 83.22 kB / 391.2 MB, free: 5.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.008966, allocations: 79.22 kB / 391.3 MB, free: 5.172 MB / 314.7 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 8.896e-05/0.009055, allocations: 266.4 kB / 391.6 MB, free: 4.902 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.009094, allocations: 104.9 kB / 391.7 MB, free: 4.793 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.949e-05/0.009133, allocations: 115.8 kB / 391.8 MB, free: 4.672 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.667e-05/0.00918, allocations: 180.3 kB / 392 MB, free: 4.488 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-05/0.009225, allocations: 176.3 kB / 392.2 MB, free: 4.309 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.807e-05/0.009273, allocations: 188.5 kB / 392.3 MB, free: 4.117 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.009424, allocations: 376.3 kB / 392.7 MB, free: 3.699 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-05/0.009454, allocations: 113 kB / 392.8 MB, free: 3.582 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.736e-05/0.009481, allocations: 101.2 kB / 392.9 MB, free: 3.477 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.944e-05/0.009531, allocations: 184.2 kB / 393.1 MB, free: 3.289 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.235e-05/0.009583, allocations: 196.1 kB / 393.3 MB, free: 3.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.593e-05/0.009629, allocations: 176.3 kB / 393.5 MB, free: 2.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.764e-05/0.009677, allocations: 180.2 kB / 393.6 MB, free: 2.727 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.009784, allocations: 315.7 kB / 393.9 MB, free: 2.395 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.009817, allocations: 101 kB / 394 MB, free: 2.289 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.839e-05/0.009875, allocations: 188.2 kB / 394.2 MB, free: 2.098 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.228e-05/0.009927, allocations: 104.9 kB / 394.3 MB, free: 1.988 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.009976, allocations: 176.3 kB / 394.5 MB, free: 1.809 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.01, allocations: 112.9 kB / 394.6 MB, free: 1.691 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.01e-05/0.01004, allocations: 83.28 kB / 394.7 MB, free: 1.609 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01005, allocations: 0 / 394.7 MB, free: 1.609 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000372/0.01042, allocations: 159.5 kB / 394.8 MB, free: 1.453 MB / 314.7 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.001075/0.01149, allocations: 1.26 MB / 396.1 MB, free: 248 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 4.083e-05/0.01153, allocations: 7.938 kB / 396.1 MB, free: 240 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.01153, allocations: 0 / 396.1 MB, free: 240 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.91e-07/0.01154, allocations: 3.938 kB / 396.1 MB, free: 236 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.01179, allocations: 458.7 kB / 396.6 MB, free: 15.78 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.01285, allocations: 1.657 MB / 398.2 MB, free: 14.04 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.375e-05/0.01289, allocations: 63.41 kB / 398.3 MB, free: 13.96 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.322e-05/0.0129, allocations: 0 / 398.3 MB, free: 13.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.046e-05/0.01295, allocations: 24.48 kB / 398.3 MB, free: 13.94 MB / 330.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01295, allocations: 0 / 398.3 MB, free: 13.94 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01982/0.03277, allocations: 5.257 MB / 403.6 MB, free: 8.789 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.504/7.537, allocations: 0 / 403.6 MB, free: 8.789 MB / 330.7 MB " [Timeout remaining time 652] (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: 9.645858693867922] Failed to read output from testmodel.py, exit status != 0: 7.6189330238848925 7.831940707 7.822603354 Calling exit ...