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.001352/0.001352, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001591/0.001591, allocations: 211.9 kB / 22.24 MB, free: 5.258 MB / 14.72 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 1.383/1.383, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo): time 0.006867/0.006867, allocations: 1.014 MB / 313.4 MB, free: 1.895 MB / 238.1 MB " [Timeout remaining time 180] Using package KeyWordIO with version 0.12.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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: KeyWordIO requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 59.91 kB / 435.7 MB, free: 16.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09164/0.09361, allocations: 53.58 MB / 489.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.00214/0.09575, allocations: 1.204 MB / 490.4 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003293/0.09904, allocations: 2.139 MB / 492.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.163e-05/0.09906, allocations: 0 / 492.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.433e-05/0.09908, allocations: 0 / 492.6 MB, free: 7.402 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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.0/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.001271/0.1003, allocations: 472.9 kB / 493 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.166e-06/0.1004, allocations: 3.938 kB / 493 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.362e-05/0.1004, allocations: 7.938 kB / 493.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.542e-05/0.1004, allocations: 7.984 kB / 493.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.666e-05/0.1004, allocations: 3.938 kB / 493.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.964e-05/0.1005, allocations: 7.984 kB / 493.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.033e-06/0.1005, allocations: 0 / 493.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007731/0.1013, allocations: 499.5 kB / 493.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.925e-06/0.1013, allocations: 3.984 kB / 493.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.112e-05/0.1013, allocations: 0 / 493.6 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005454/0.1019, allocations: 391.2 kB / 494 MB, free: 6.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1019, allocations: 0 / 494 MB, free: 6.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1019, allocations: 0 / 494 MB, free: 6.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1019, allocations: 0 / 494 MB, free: 6.035 MB / 350.1 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.0004175/0.1023, allocations: 349.4 kB / 494.3 MB, free: 5.664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.1023, allocations: 8.031 kB / 494.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.414e-05/0.1024, allocations: 106 kB / 494.4 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.366e-05/0.1024, allocations: 80.22 kB / 494.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.1026, allocations: 189.8 kB / 494.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-05/0.1027, allocations: 154.9 kB / 494.8 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.206e-05/0.1027, allocations: 154.5 kB / 495 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.242e-05/0.1028, allocations: 108.9 kB / 495.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.83e-05/0.1028, allocations: 87.2 kB / 495.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.321e-05/0.1029, allocations: 150.6 kB / 495.3 MB, free: 4.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.097e-05/0.103, allocations: 150.6 kB / 495.5 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.407e-05/0.103, allocations: 154.5 kB / 495.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003009/0.1033, allocations: 417 kB / 496 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.1034, allocations: 177 kB / 496.2 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.753e-05/0.1035, allocations: 84.14 kB / 496.3 MB, free: 3.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/0.1035, allocations: 75.28 kB / 496.3 MB, free: 3.508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.118e-05/0.1036, allocations: 109.8 kB / 496.4 MB, free: 3.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.1036, allocations: 0 / 496.4 MB, free: 3.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.21e-05/0.1036, allocations: 33.66 kB / 496.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/0.1037, allocations: 130.7 kB / 496.6 MB, free: 3.211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.1038, allocations: 101.8 kB / 496.7 MB, free: 3.102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.1038, allocations: 25.7 kB / 496.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.1039, allocations: 88.12 kB / 496.8 MB, free: 2.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.282e-06/0.1039, allocations: 0 / 496.8 MB, free: 2.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/0.1039, allocations: 9.719 kB / 496.8 MB, free: 2.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.104, allocations: 318.8 kB / 497.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.897e-06/0.104, allocations: 0 / 497.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.535e-06/0.104, allocations: 0 / 497.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.212e-05/0.1041, allocations: 75.28 kB / 497.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.863e-05/0.1041, allocations: 79.22 kB / 497.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.083e-05/0.1042, allocations: 37.69 kB / 497.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.138e-05/0.1042, allocations: 79.28 kB / 497.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.663e-05/0.1042, allocations: 83.2 kB / 497.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.34e-05/0.1043, allocations: 162.5 kB / 497.6 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.359e-05/0.1043, allocations: 79.22 kB / 497.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.235e-05/0.1044, allocations: 154.6 kB / 497.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.695e-05/0.1045, allocations: 79.28 kB / 498 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/0.1045, allocations: 79.22 kB / 498 MB, free: 1.742 MB / 350.1 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 0.0001342/0.1046, allocations: 264.3 kB / 498.3 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.571e-05/0.1047, allocations: 101 kB / 498.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.943e-05/0.1048, allocations: 116.1 kB / 498.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.195e-05/0.1048, allocations: 180.3 kB / 498.7 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.465e-05/0.1049, allocations: 176.3 kB / 498.8 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-05/0.105, allocations: 180.2 kB / 499 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.1052, allocations: 384.2 kB / 499.4 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.357e-05/0.1053, allocations: 112.9 kB / 499.5 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.383e-05/0.1053, allocations: 101 kB / 499.6 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.303e-05/0.1054, allocations: 176.3 kB / 499.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.053e-05/0.1055, allocations: 192.2 kB / 500 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.076e-05/0.1056, allocations: 180.3 kB / 0.4884 GB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.208e-05/0.1056, allocations: 180.2 kB / 0.4886 GB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.1058, allocations: 304.1 kB / 0.4889 GB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.65e-05/0.1058, allocations: 113 kB / 0.489 GB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.388e-05/0.1059, allocations: 184.3 kB / 0.4892 GB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.528e-05/0.106, allocations: 108.9 kB / 0.4893 GB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.1061, allocations: 176.3 kB / 0.4894 GB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.464e-05/0.1061, allocations: 109 kB / 0.4895 GB, free: 14.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.169e-05/0.1062, allocations: 87.22 kB / 0.4896 GB, free: 14.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1062, allocations: 0 / 0.4896 GB, free: 14.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005003/0.1067, allocations: 147.5 kB / 0.4898 GB, free: 14.05 MB / 366.1 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.001472/0.1081, allocations: 1.211 MB / 0.4909 GB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 3.241e-05/0.1082, allocations: 11.94 kB / 0.491 GB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1082, allocations: 0 / 0.491 GB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.146e-06/0.1082, allocations: 3.938 kB / 0.491 GB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.1085, allocations: 455.7 kB / 0.4914 GB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.11, allocations: 1.645 MB / 0.493 GB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.668e-05/0.11, allocations: 55.36 kB / 0.4931 GB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.182e-05/0.11, allocations: 4 kB / 0.4931 GB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.1101, allocations: 15.42 kB / 0.4931 GB, free: 10.6 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1101, allocations: 0 / 0.4931 GB, free: 10.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03266/0.1427, allocations: 4.863 MB / 0.4978 GB, free: 5.863 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.62, allocations: 3.938 kB / 0.4978 GB, free: 5.859 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.128966649062932] Failed to read output from testmodel.py, exit status != 0: 10.722482010256499 10.893380003 10.789176867 Calling exit ...