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.001315/0.001315, 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.001195/0.001195, 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.9183/0.9183, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.003739/0.003739, allocations: 0.8015 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.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: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 382.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.234e-05, allocations: 2.281 kB / 382.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.001727/0.001749, allocations: 1.207 MB / 383.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.003994, allocations: 2.134 MB / 385.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.037e-05/0.004014, allocations: 0 / 385.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.857e-05/0.004033, allocations: 7.938 kB / 385.6 MB, free: 12.3 MB / 362.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/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.001182/0.005215, allocations: 485.3 kB / 386.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.007e-06/0.005219, allocations: 0 / 386.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.151e-05/0.005261, allocations: 7.938 kB / 386.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.832e-05/0.005299, allocations: 7.984 kB / 386.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.659e-05/0.005326, allocations: 7.938 kB / 386.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.331e-05/0.005389, allocations: 4 kB / 386.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.005401, allocations: 0 / 386.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006328/0.006033, allocations: 491.3 kB / 386.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.034e-06/0.00604, allocations: 7.938 kB / 386.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.209e-05/0.006053, allocations: 4 kB / 386.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004734/0.006526, allocations: 478.8 kB / 387.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.006528, allocations: 0 / 387.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.00653, allocations: 0 / 387.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.006534, allocations: 0 / 387.1 MB, free: 10.84 MB / 362.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.0003284/0.006862, allocations: 360.2 kB / 387.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.006902, allocations: 8.031 kB / 387.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.103e-05/0.006943, allocations: 106 kB / 387.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.006987, allocations: 80.22 kB / 387.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.007099, allocations: 189 kB / 387.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/0.007138, allocations: 154.9 kB / 387.9 MB, free: 9.898 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.007171, allocations: 150.9 kB / 388.1 MB, free: 9.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.41e-05/0.007226, allocations: 109.3 kB / 388.2 MB, free: 9.637 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.007247, allocations: 83.28 kB / 388.3 MB, free: 9.555 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.893e-05/0.007286, allocations: 154.5 kB / 388.4 MB, free: 9.402 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.603e-05/0.007322, allocations: 150.6 kB / 388.6 MB, free: 9.254 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.112e-05/0.007364, allocations: 150.6 kB / 388.7 MB, free: 9.105 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/0.00756, allocations: 421 kB / 389.1 MB, free: 8.652 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.032e-05/0.007631, allocations: 169.1 kB / 389.3 MB, free: 8.477 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.729e-05/0.007658, allocations: 84.08 kB / 389.4 MB, free: 8.391 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.007684, allocations: 75.28 kB / 389.5 MB, free: 8.316 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.00772, allocations: 113.8 kB / 389.6 MB, free: 8.195 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.007721, allocations: 0 / 389.6 MB, free: 8.195 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.679e-05/0.007778, allocations: 29.7 kB / 389.6 MB, free: 8.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.007823, allocations: 126.7 kB / 389.7 MB, free: 8.023 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.727e-05/0.00791, allocations: 105.9 kB / 389.8 MB, free: 7.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.007924, allocations: 25.7 kB / 389.9 MB, free: 7.879 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.631e-05/0.00795, allocations: 84.14 kB / 389.9 MB, free: 7.793 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.423e-06/0.007951, allocations: 0 / 389.9 MB, free: 7.793 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.476e-05/0.007966, allocations: 13.72 kB / 389.9 MB, free: 7.773 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.702e-05/0.008043, allocations: 314.8 kB / 390.3 MB, free: 7.457 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.37e-06/0.008049, allocations: 7.938 kB / 390.3 MB, free: 7.449 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.196e-06/0.008052, allocations: 0 / 390.3 MB, free: 7.449 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.935e-05/0.008071, allocations: 75.28 kB / 390.3 MB, free: 7.375 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.658e-05/0.008088, allocations: 79.22 kB / 390.4 MB, free: 7.297 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.316e-05/0.008121, allocations: 33.69 kB / 390.4 MB, free: 7.258 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.00815, allocations: 83.22 kB / 390.5 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.00817, allocations: 79.28 kB / 390.6 MB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.08e-05/0.008211, allocations: 154.5 kB / 390.8 MB, free: 6.945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.837e-05/0.008239, allocations: 79.28 kB / 390.8 MB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.639e-05/0.008275, allocations: 154.5 kB / 391 MB, free: 6.715 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.008324, allocations: 79.28 kB / 391.1 MB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.008341, allocations: 79.28 kB / 391.1 MB, free: 6.559 MB / 362.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.205e-05/0.008423, allocations: 272.3 kB / 391.4 MB, free: 6.281 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.008457, allocations: 104.9 kB / 391.5 MB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.417e-05/0.008491, allocations: 108.1 kB / 391.6 MB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.099e-05/0.008532, allocations: 184.2 kB / 391.8 MB, free: 5.871 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.295e-05/0.008575, allocations: 180.2 kB / 392 MB, free: 5.688 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-05/0.008616, allocations: 180.2 kB / 392.1 MB, free: 5.504 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.008757, allocations: 372.8 kB / 392.5 MB, free: 5.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.701e-05/0.008804, allocations: 109 kB / 392.6 MB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.551e-05/0.00883, allocations: 113 kB / 392.7 MB, free: 4.859 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-05/0.008872, allocations: 188.2 kB / 392.9 MB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.463e-05/0.008917, allocations: 184.2 kB / 393.1 MB, free: 4.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.973e-05/0.008956, allocations: 176.3 kB / 393.3 MB, free: 4.301 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.044e-05/0.008997, allocations: 180.3 kB / 393.4 MB, free: 4.117 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.165e-05/0.009088, allocations: 307.8 kB / 393.7 MB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.81e-05/0.009117, allocations: 104.9 kB / 393.8 MB, free: 3.684 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.161e-05/0.009168, allocations: 180.2 kB / 394 MB, free: 3.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.821e-05/0.009226, allocations: 117 kB / 394.1 MB, free: 3.379 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.841e-05/0.009275, allocations: 180.2 kB / 394.3 MB, free: 3.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.009298, allocations: 101 kB / 394.4 MB, free: 3.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.553e-05/0.009334, allocations: 83.28 kB / 394.5 MB, free: 3.008 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009334, allocations: 4 kB / 394.5 MB, free: 3.004 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003503/0.009684, allocations: 155.5 kB / 394.6 MB, free: 2.852 MB / 362.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.0009487/0.01063, allocations: 1.238 MB / 395.9 MB, free: 1.656 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 3.33e-05/0.01067, allocations: 0 / 395.9 MB, free: 1.656 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01067, allocations: 4 kB / 395.9 MB, free: 1.652 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.01067, allocations: 0 / 395.9 MB, free: 1.652 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.01091, allocations: 459.6 kB / 396.3 MB, free: 1.199 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000952/0.01186, allocations: 1.645 MB / 398 MB, free: 15.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.619e-05/0.0119, allocations: 55.36 kB / 398 MB, free: 15.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.755e-06/0.0119, allocations: 0 / 398 MB, free: 15.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.01193, allocations: 16.48 kB / 398.1 MB, free: 15.38 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01193, allocations: 0 / 398.1 MB, free: 15.38 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/0.03221, allocations: 5.04 MB / 403.1 MB, free: 10.45 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.46/7.492, allocations: 8.047 kB / 403.1 MB, free: 10.44 MB / 378.7 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: 9.475002546794713] Failed to read output from testmodel.py, exit status != 0: 7.5748251704499125 7.588131543 7.579188891 Calling exit ...