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.0008964/0.0008964, allocations: 76.44 kB / 19.17 MB, free: 0.7344 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.000975/0.000975, allocations: 166.3 kB / 22.45 MB, free: 2.102 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.9198/0.9198, allocations: 177.2 MB / 202.8 MB, free: 5.555 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.003839/0.003839, allocations: 0.7907 MB / 260.1 MB, free: 12.35 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 0.0009767/0.0009767, allocations: 75.88 kB / 382.4 MB, free: 15.63 MB / 362.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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.09574/0.09671, allocations: 53.56 MB / 435.9 MB, free: 9.973 MB / 410.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.001869/0.09858, allocations: 1.214 MB / 437.2 MB, free: 8.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002789/0.1014, allocations: 2.126 MB / 439.3 MB, free: 6.613 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.292e-05/0.1014, allocations: 0 / 439.3 MB, free: 6.613 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.1014, allocations: 0 / 439.3 MB, free: 6.613 MB / 410.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.001345/0.1028, allocations: 486 kB / 439.8 MB, free: 6.141 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.37e-06/0.1028, allocations: 8 kB / 439.8 MB, free: 6.133 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.237e-05/0.1028, allocations: 7.938 kB / 439.8 MB, free: 6.125 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.682e-05/0.1029, allocations: 0 / 439.8 MB, free: 6.125 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.658e-05/0.1029, allocations: 4 kB / 439.8 MB, free: 6.121 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.721e-05/0.103, allocations: 3.938 kB / 439.8 MB, free: 6.117 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.103, allocations: 0 / 439.8 MB, free: 6.117 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.1041, allocations: 0.4915 MB / 440.3 MB, free: 5.625 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.1041, allocations: 0 / 440.3 MB, free: 5.625 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.1041, allocations: 4 kB / 440.3 MB, free: 5.621 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005985/0.1047, allocations: 474.9 kB / 440.7 MB, free: 5.156 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1047, allocations: 4 kB / 440.8 MB, free: 5.152 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1047, allocations: 0 / 440.8 MB, free: 5.152 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.1047, allocations: 0 / 440.8 MB, free: 5.152 MB / 410.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.0003609/0.1051, allocations: 349.3 kB / 441.1 MB, free: 4.781 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1051, allocations: 15.97 kB / 441.1 MB, free: 4.766 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.496e-05/0.1052, allocations: 106 kB / 441.2 MB, free: 4.652 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/0.1052, allocations: 76.22 kB / 441.3 MB, free: 4.578 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.1053, allocations: 185 kB / 441.5 MB, free: 4.371 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/0.1054, allocations: 154.9 kB / 441.6 MB, free: 4.219 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.257e-05/0.1054, allocations: 154.9 kB / 441.8 MB, free: 4.066 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.2e-05/0.1055, allocations: 113.2 kB / 441.9 MB, free: 3.949 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.1055, allocations: 79.28 kB / 442 MB, free: 3.871 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.346e-05/0.1055, allocations: 150.6 kB / 442.1 MB, free: 3.723 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.245e-05/0.1056, allocations: 150.6 kB / 442.3 MB, free: 3.574 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.015e-05/0.1056, allocations: 154.6 kB / 442.4 MB, free: 3.422 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002279/0.1059, allocations: 417 kB / 442.8 MB, free: 2.973 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.217e-05/0.1059, allocations: 169.1 kB / 443 MB, free: 2.797 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.522e-05/0.106, allocations: 80.14 kB / 443.1 MB, free: 2.715 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.106, allocations: 75.28 kB / 443.1 MB, free: 2.641 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.106, allocations: 117.8 kB / 443.2 MB, free: 2.516 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.106, allocations: 0 / 443.2 MB, free: 2.516 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 6.338e-05/0.1061, allocations: 29.7 kB / 443.3 MB, free: 2.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.1061, allocations: 130.7 kB / 443.4 MB, free: 2.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.602e-05/0.1062, allocations: 97.91 kB / 443.5 MB, free: 2.234 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.1062, allocations: 25.7 kB / 443.5 MB, free: 2.203 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.807e-05/0.1063, allocations: 88.12 kB / 443.6 MB, free: 2.113 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-06/0.1063, allocations: 7.938 kB / 443.6 MB, free: 2.105 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.67e-05/0.1063, allocations: 13.72 kB / 443.6 MB, free: 2.086 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.342e-05/0.1064, allocations: 310.8 kB / 443.9 MB, free: 1.773 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.159e-06/0.1064, allocations: 0 / 443.9 MB, free: 1.773 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-06/0.1064, allocations: 0 / 443.9 MB, free: 1.773 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.1e-05/0.1064, allocations: 79.28 kB / 444 MB, free: 1.695 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.687e-05/0.1064, allocations: 79.28 kB / 444.1 MB, free: 1.617 MB / 410.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.178e-05/0.1064, allocations: 25.89 kB / 444.1 MB, free: 1.586 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.1065, allocations: 87.22 kB / 444.2 MB, free: 1.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.1065, allocations: 79.22 kB / 444.3 MB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.534e-05/0.1065, allocations: 162.5 kB / 444.4 MB, free: 1.262 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.809e-05/0.1065, allocations: 83.28 kB / 444.5 MB, free: 1.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.579e-05/0.1066, allocations: 154.5 kB / 444.7 MB, free: 1.027 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.95e-05/0.1066, allocations: 79.22 kB / 444.7 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.1066, allocations: 83.22 kB / 444.8 MB, free: 0.8672 MB / 410.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.41e-05/0.1067, allocations: 256.4 kB / 445.1 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.853e-05/0.1068, allocations: 112.9 kB / 445.2 MB, free: 500 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.93e-05/0.1068, allocations: 112.1 kB / 445.3 MB, free: 380 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-05/0.1069, allocations: 180.2 kB / 445.5 MB, free: 192 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-05/0.1069, allocations: 180.3 kB / 445.6 MB, free: 4 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1827/0.2896, allocations: 181.3 kB / 445.8 MB, free: 50.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.2897, allocations: 381.1 kB / 446.2 MB, free: 50.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.2897, allocations: 101.6 kB / 446.3 MB, free: 50.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.081e-05/0.2897, allocations: 106.9 kB / 446.4 MB, free: 50.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.907e-05/0.2897, allocations: 184.7 kB / 446.6 MB, free: 50.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/0.2898, allocations: 180.8 kB / 446.8 MB, free: 50.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.596e-05/0.2898, allocations: 182 kB / 446.9 MB, free: 49.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.788e-05/0.2898, allocations: 181.3 kB / 447.1 MB, free: 49.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.922e-05/0.2899, allocations: 311.3 kB / 447.4 MB, free: 49.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.282e-05/0.2899, allocations: 103.9 kB / 447.5 MB, free: 49.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.2899, allocations: 182 kB / 447.7 MB, free: 49.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.208e-05/0.29, allocations: 105 kB / 447.8 MB, free: 48.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/0.29, allocations: 184 kB / 448 MB, free: 48.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.29, allocations: 108.3 kB / 448.1 MB, free: 48.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.301e-05/0.29, allocations: 78.5 kB / 448.2 MB, free: 48.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.29, allocations: 0 / 448.2 MB, free: 48.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004993/0.2905, allocations: 150 kB / 448.3 MB, free: 48.59 MB / 410.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.001205/0.2917, allocations: 1.242 MB / 449.5 MB, free: 47.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.287e-05/0.2918, allocations: 8.047 kB / 449.6 MB, free: 47.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2918, allocations: 0 / 449.6 MB, free: 47.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.976e-06/0.2918, allocations: 3.828 kB / 449.6 MB, free: 47.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.292, allocations: 462.4 kB / 450 MB, free: 47.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008342/0.2929, allocations: 1.638 MB / 451.6 MB, free: 45.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.825e-05/0.2929, allocations: 54.39 kB / 451.7 MB, free: 45.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.003e-05/0.2929, allocations: 3.328 kB / 451.7 MB, free: 45.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.2929, allocations: 22.5 kB / 451.7 MB, free: 45.68 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.2929, allocations: 0 / 451.7 MB, free: 45.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01936/0.3123, allocations: 4.988 MB / 456.7 MB, free: 44.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.687/6.999, allocations: 3.281 kB / 456.7 MB, free: 44.52 MB / 410.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 & 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: 8.83123522484675] Failed to read output from testmodel.py, exit status != 0: 7.0801458661444485 7.086426662 6.980301209 Calling exit ...