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.0009854/0.0009854, allocations: 75.7 kB / 19.25 MB, free: 0.6211 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.00115/0.00115, allocations: 170 kB / 22.57 MB, free: 1.953 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.8791/0.8791, allocations: 177.1 MB / 202.9 MB, free: 5.688 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.003602/0.003602, allocations: 0.7939 MB / 260.1 MB, free: 12.43 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.054e-06/2.054e-06, allocations: 0 / 382.5 MB, free: 14.4 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.472e-05, allocations: 2.281 kB / 382.5 MB, free: 14.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.001817/0.001841, allocations: 1.232 MB / 383.7 MB, free: 13.16 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002577/0.004419, allocations: 2.185 MB / 385.9 MB, free: 10.96 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.511e-05/0.004444, allocations: 0 / 385.9 MB, free: 10.96 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.715e-05/0.004461, allocations: 0 / 385.9 MB, free: 10.96 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.001225/0.005686, allocations: 0.5163 MB / 386.4 MB, free: 10.45 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.597e-06/0.00569, allocations: 0 / 386.4 MB, free: 10.45 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.483e-05/0.005734, allocations: 15.92 kB / 386.4 MB, free: 10.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.527e-05/0.00577, allocations: 0 / 386.4 MB, free: 10.43 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.904e-05/0.005799, allocations: 11.94 kB / 386.4 MB, free: 10.42 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.345e-05/0.005862, allocations: 4 kB / 386.4 MB, free: 10.41 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.616e-06/0.005871, allocations: 0 / 386.4 MB, free: 10.41 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007596/0.00663, allocations: 0.5148 MB / 387 MB, free: 9.898 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.069e-05/0.006641, allocations: 7.938 kB / 387 MB, free: 9.891 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.642e-05/0.006658, allocations: 4 kB / 387 MB, free: 9.887 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000567/0.007225, allocations: 498.8 kB / 387.5 MB, free: 9.398 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.007227, allocations: 0 / 387.5 MB, free: 9.398 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.007228, allocations: 0 / 387.5 MB, free: 9.398 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.007234, allocations: 0 / 387.5 MB, free: 9.398 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.0003533/0.007587, allocations: 361.3 kB / 387.8 MB, free: 9.016 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.007624, allocations: 12.03 kB / 387.8 MB, free: 9.004 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.113e-05/0.007665, allocations: 106 kB / 387.9 MB, free: 8.891 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.933e-05/0.007724, allocations: 80.22 kB / 388 MB, free: 8.812 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.007859, allocations: 189 kB / 388.2 MB, free: 8.602 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.122e-05/0.0079, allocations: 158.9 kB / 388.3 MB, free: 8.445 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/0.007938, allocations: 158.8 kB / 388.5 MB, free: 8.289 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.658e-05/0.007995, allocations: 105.3 kB / 388.6 MB, free: 8.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.008015, allocations: 75.28 kB / 388.7 MB, free: 8.105 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.742e-05/0.008053, allocations: 150.6 kB / 388.8 MB, free: 7.957 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.981e-05/0.008092, allocations: 154.6 kB / 389 MB, free: 7.805 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.288e-05/0.008135, allocations: 158.5 kB / 389.1 MB, free: 7.648 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002083/0.008344, allocations: 421 kB / 389.5 MB, free: 7.195 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.974e-05/0.008413, allocations: 173.1 kB / 389.7 MB, free: 7.016 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.445e-05/0.008438, allocations: 84.14 kB / 389.8 MB, free: 6.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.008458, allocations: 75.28 kB / 389.9 MB, free: 6.855 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.008492, allocations: 109.8 kB / 390 MB, free: 6.738 MB / 314.7 MB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.008493, allocations: 0 / 390 MB, free: 6.738 MB / 314.7 MB Notification: Performance of matching and sorting (n=0): time 6.694e-05/0.00856, allocations: 37.64 kB / 390 MB, free: 6.695 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.008605, allocations: 126.7 kB / 390.1 MB, free: 6.559 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.04e-05/0.008695, allocations: 105.8 kB / 390.2 MB, free: 6.445 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/0.008703, allocations: 29.7 kB / 390.3 MB, free: 6.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.475e-05/0.008728, allocations: 80.14 kB / 390.3 MB, free: 6.328 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.008729, allocations: 0 / 390.3 MB, free: 6.328 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.706e-05/0.008746, allocations: 13.72 kB / 390.4 MB, free: 6.309 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.957e-05/0.008826, allocations: 314.8 kB / 390.7 MB, free: 5.992 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.368e-06/0.00883, allocations: 0 / 390.7 MB, free: 5.992 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.935e-06/0.008833, allocations: 0 / 390.7 MB, free: 5.992 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.1e-05/0.008854, allocations: 79.28 kB / 390.7 MB, free: 5.914 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-05/0.008876, allocations: 79.28 kB / 390.8 MB, free: 5.836 MB / 314.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.236e-05/0.008908, allocations: 25.7 kB / 390.8 MB, free: 5.805 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.008943, allocations: 87.22 kB / 390.9 MB, free: 5.719 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/0.008962, allocations: 83.22 kB / 391 MB, free: 5.637 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.299e-05/0.009005, allocations: 150.6 kB / 391.2 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.026e-05/0.009025, allocations: 79.22 kB / 391.2 MB, free: 5.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.615e-05/0.009061, allocations: 158.5 kB / 391.4 MB, free: 5.254 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.9e-05/0.00911, allocations: 83.2 kB / 391.5 MB, free: 5.172 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.009131, allocations: 83.22 kB / 391.5 MB, free: 5.09 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 9.042e-05/0.009222, allocations: 260.4 kB / 391.8 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.617e-05/0.009278, allocations: 104.9 kB / 391.9 MB, free: 4.715 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.085e-05/0.009329, allocations: 115.9 kB / 392 MB, free: 4.594 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.946e-05/0.009378, allocations: 184.2 kB / 392.2 MB, free: 4.406 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.797e-05/0.009426, allocations: 184.2 kB / 392.4 MB, free: 4.219 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.821e-05/0.009474, allocations: 188.5 kB / 392.6 MB, free: 4.027 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.009617, allocations: 372.3 kB / 392.9 MB, free: 3.613 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.794e-05/0.009645, allocations: 109.2 kB / 393 MB, free: 3.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.87e-05/0.009673, allocations: 109 kB / 393.1 MB, free: 3.387 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.358e-05/0.009727, allocations: 188.1 kB / 393.3 MB, free: 3.195 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.671e-05/0.009774, allocations: 176.3 kB / 393.5 MB, free: 3.016 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.426e-05/0.009818, allocations: 180.2 kB / 393.7 MB, free: 2.832 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.905e-05/0.009867, allocations: 184.2 kB / 393.8 MB, free: 2.645 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.614e-05/0.009963, allocations: 307.7 kB / 394.1 MB, free: 2.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.775e-05/0.009991, allocations: 101 kB / 394.2 MB, free: 2.215 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.768e-05/0.01005, allocations: 192.2 kB / 394.4 MB, free: 2.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.754e-05/0.01011, allocations: 104.9 kB / 394.5 MB, free: 1.91 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.01017, allocations: 180.3 kB / 394.7 MB, free: 1.727 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.134e-05/0.0102, allocations: 104.9 kB / 394.8 MB, free: 1.617 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.333e-05/0.01024, allocations: 87.27 kB / 394.9 MB, free: 1.531 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01024, allocations: 0 / 394.9 MB, free: 1.531 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000389/0.01063, allocations: 159.5 kB / 395.1 MB, free: 1.375 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.001351/0.01198, allocations: 1.267 MB / 396.3 MB, free: 164 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.062e-05/0.01203, allocations: 7.938 kB / 396.3 MB, free: 156 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01204, allocations: 0 / 396.3 MB, free: 156 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.515e-06/0.01204, allocations: 3.984 kB / 396.3 MB, free: 152 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.01233, allocations: 458.9 kB / 396.8 MB, free: 15.7 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009492/0.01328, allocations: 1.657 MB / 398.4 MB, free: 13.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.711e-05/0.01332, allocations: 63.41 kB / 398.5 MB, free: 13.88 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.903e-05/0.01334, allocations: 4 kB / 398.5 MB, free: 13.88 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.01337, allocations: 12.5 kB / 398.5 MB, free: 13.86 MB / 330.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01337, allocations: 0 / 398.5 MB, free: 13.86 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.03713, allocations: 5.218 MB / 403.7 MB, free: 8.754 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.894/6.931, allocations: 7.344 kB / 403.7 MB, free: 8.75 MB / 330.7 MB " [Timeout remaining time 653] (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: 8.8095249729231] Failed to read output from testmodel.py, exit status != 0: 7.011020556092262 7.176540423 7.166865235 Calling exit ...