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.0008868/0.0008868, 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.001019/0.001019, 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.9399/0.9399, 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.00378/0.00378, allocations: 0.7886 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 1.293e-06/1.293e-06, allocations: 0 / 382.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.34e-05, allocations: 5.375 kB / 382.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.002164/0.002187, allocations: 1.21 MB / 383.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002449/0.004637, allocations: 2.126 MB / 385.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.562e-05/0.004662, allocations: 0 / 385.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.695e-05/0.004689, allocations: 0 / 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.001142/0.005831, allocations: 492.1 kB / 386.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.469e-06/0.005836, allocations: 0 / 386.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 4.584e-05/0.005882, allocations: 7.938 kB / 386.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.99e-05/0.005922, allocations: 4 kB / 386.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.979e-05/0.005951, allocations: 7.938 kB / 386.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.825e-05/0.00602, allocations: 4 kB / 386.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.006029, allocations: 3.984 kB / 386.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005998/0.006629, allocations: 0.4914 MB / 386.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.085e-06/0.006637, allocations: 3.984 kB / 386.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.306e-05/0.00665, allocations: 4 kB / 386.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004268/0.007077, allocations: 459 kB / 387.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.007081, allocations: 15.88 kB / 387.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007082, allocations: 0 / 387.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.007087, allocations: 0 / 387.1 MB, free: 10.83 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.000337/0.007424, allocations: 352.2 kB / 387.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.007465, allocations: 8.031 kB / 387.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.513e-05/0.00751, allocations: 110 kB / 387.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.007558, allocations: 76.22 kB / 387.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.0077, allocations: 189 kB / 387.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.94e-05/0.007739, allocations: 154.9 kB / 387.9 MB, free: 9.898 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.685e-05/0.007776, allocations: 158.9 kB / 388.1 MB, free: 9.742 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.758e-05/0.007833, allocations: 105.3 kB / 388.2 MB, free: 9.633 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.007856, allocations: 83.28 kB / 388.3 MB, free: 9.551 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.27e-05/0.007898, allocations: 150.6 kB / 388.4 MB, free: 9.402 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-05/0.007934, allocations: 154.6 kB / 388.6 MB, free: 9.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.087e-05/0.007975, allocations: 150.6 kB / 388.7 MB, free: 9.102 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002238/0.008199, allocations: 421 kB / 389.1 MB, free: 8.648 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.658e-05/0.008266, allocations: 169.1 kB / 389.3 MB, free: 8.473 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.403e-05/0.00829, allocations: 80.14 kB / 389.4 MB, free: 8.391 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.008312, allocations: 79.28 kB / 389.5 MB, free: 8.312 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.008351, allocations: 113.8 kB / 389.6 MB, free: 8.191 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.008352, allocations: 0 / 389.6 MB, free: 8.191 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.19e-05/0.008414, allocations: 33.69 kB / 389.6 MB, free: 8.152 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.00846, allocations: 134.6 kB / 389.7 MB, free: 8.008 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.437e-05/0.008545, allocations: 97.91 kB / 389.8 MB, free: 7.902 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.008553, allocations: 25.7 kB / 389.9 MB, free: 7.871 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.816e-05/0.008582, allocations: 84.14 kB / 389.9 MB, free: 7.785 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.844e-06/0.008583, allocations: 0 / 389.9 MB, free: 7.785 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002836/0.008867, allocations: 13.72 kB / 390 MB, free: 7.766 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.45e-05/0.008942, allocations: 314.8 kB / 390.3 MB, free: 7.449 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.21e-06/0.008947, allocations: 3.938 kB / 390.3 MB, free: 7.445 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.466e-06/0.00895, allocations: 4 kB / 390.3 MB, free: 7.441 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.025e-05/0.00897, allocations: 75.28 kB / 390.3 MB, free: 7.367 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-05/0.008986, allocations: 79.28 kB / 390.4 MB, free: 7.289 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.864e-05/0.009025, allocations: 33.7 kB / 390.5 MB, free: 7.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.074e-05/0.009056, allocations: 83.22 kB / 390.5 MB, free: 7.168 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.009078, allocations: 79.22 kB / 390.6 MB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.081e-05/0.009129, allocations: 154.6 kB / 390.8 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.058e-05/0.009149, allocations: 83.2 kB / 390.8 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.768e-05/0.009187, allocations: 150.6 kB / 391 MB, free: 6.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.235e-05/0.009239, allocations: 75.28 kB / 391.1 MB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.009261, allocations: 83.22 kB / 391.1 MB, free: 6.551 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 7.702e-05/0.009338, allocations: 264.4 kB / 391.4 MB, free: 6.281 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.009375, allocations: 112.9 kB / 391.5 MB, free: 6.164 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.393e-05/0.009409, allocations: 112.1 kB / 391.6 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.75e-05/0.009447, allocations: 176.3 kB / 391.8 MB, free: 5.867 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.053e-05/0.009497, allocations: 180.3 kB / 392 MB, free: 5.684 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.602e-05/0.009543, allocations: 184.2 kB / 392.2 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.009708, allocations: 372.6 kB / 392.5 MB, free: 5.082 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.859e-05/0.009736, allocations: 104.9 kB / 392.6 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.847e-05/0.009765, allocations: 109 kB / 392.7 MB, free: 4.859 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.291e-05/0.009818, allocations: 192.1 kB / 392.9 MB, free: 4.664 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.194e-05/0.00986, allocations: 176.3 kB / 393.1 MB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.335e-05/0.009903, allocations: 188.2 kB / 393.3 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-05/0.009944, allocations: 180.2 kB / 393.4 MB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.424e-05/0.01004, allocations: 299.8 kB / 393.7 MB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.045e-05/0.01007, allocations: 113 kB / 393.8 MB, free: 3.676 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.01012, allocations: 180.2 kB / 394 MB, free: 3.492 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.378e-05/0.01017, allocations: 108.9 kB / 394.1 MB, free: 3.379 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.01021, allocations: 180.3 kB / 394.3 MB, free: 3.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.01024, allocations: 104.9 kB / 394.4 MB, free: 3.086 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.653e-05/0.01027, allocations: 91.44 kB / 394.5 MB, free: 2.996 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01027, allocations: 0 / 394.5 MB, free: 2.996 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003946/0.01067, allocations: 151.5 kB / 394.6 MB, free: 2.848 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.001113/0.01178, allocations: 1.241 MB / 395.9 MB, free: 1.652 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.98e-05/0.01183, allocations: 4 kB / 395.9 MB, free: 1.648 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01183, allocations: 3.938 kB / 395.9 MB, free: 1.645 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.81e-07/0.01183, allocations: 0 / 395.9 MB, free: 1.645 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.01211, allocations: 463.7 kB / 396.3 MB, free: 1.188 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.01335, allocations: 1.641 MB / 398 MB, free: 15.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.625e-05/0.01338, allocations: 59.34 kB / 398 MB, free: 15.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.798e-06/0.01339, allocations: 4 kB / 398 MB, free: 15.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.01342, allocations: 12.5 kB / 398.1 MB, free: 15.37 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.01342, allocations: 0 / 398.1 MB, free: 15.37 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.03521, allocations: 5.04 MB / 403.1 MB, free: 10.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.684/6.72, allocations: 3.938 kB / 403.1 MB, free: 10.43 MB / 378.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadRealParameter_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadRealParameter.fmu > KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.487533244304359] Failed to read output from testmodel.py, exit status != 0: 6.802130815573037 6.8147458 6.805712668 Calling exit ...