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.001225/0.001225, allocations: 113 kB / 19.73 MB, free: 2.227 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.001343/0.001343, allocations: 211.3 kB / 23.04 MB, free: 5.066 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.37/1.37, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.006767/0.006767, allocations: 1.02 MB / 314.2 MB, free: 2.074 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadRealParameter,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealParameter",fmuType="cs",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.001837/0.001837, allocations: 63.91 kB / 436.5 MB, free: 16.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09858/0.1004, allocations: 53.58 MB / 490.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.002459/0.1029, allocations: 1.223 MB / 491.3 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003453/0.1063, allocations: 2.244 MB / 493.6 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.204e-05/0.1064, allocations: 4 kB / 493.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.569e-05/0.1064, allocations: 0 / 493.6 MB, free: 7.465 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.001293/0.1077, allocations: 470.5 kB / 494 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.617e-06/0.1077, allocations: 0 / 494 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.633e-05/0.1077, allocations: 11.92 kB / 494 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.1078, allocations: 0 / 494 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.884e-05/0.1078, allocations: 4 kB / 494 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.1079, allocations: 11.94 kB / 494 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.274e-06/0.1079, allocations: 0 / 494 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008068/0.1087, allocations: 0.5307 MB / 494.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.47e-06/0.1087, allocations: 4 kB / 494.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.1087, allocations: 7.984 kB / 494.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005476/0.1093, allocations: 383.3 kB / 495 MB, free: 6.059 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.1093, allocations: 3.984 kB / 495 MB, free: 6.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1093, allocations: 0 / 495 MB, free: 6.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.1093, allocations: 0 / 495 MB, free: 6.055 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.0004322/0.1097, allocations: 349.4 kB / 495.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.1098, allocations: 11.97 kB / 495.3 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.355e-05/0.1098, allocations: 79.47 kB / 495.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.596e-05/0.1099, allocations: 110 kB / 495.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.567e-05/0.11, allocations: 76.22 kB / 495.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.1101, allocations: 185.8 kB / 495.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.631e-05/0.1102, allocations: 154.7 kB / 495.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.937e-05/0.1102, allocations: 154.5 kB / 496.1 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.485e-05/0.1103, allocations: 109 kB / 496.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/0.1103, allocations: 75.28 kB / 496.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.791e-05/0.1104, allocations: 158.5 kB / 496.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.661e-05/0.1105, allocations: 162.5 kB / 496.6 MB, free: 4.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.179e-05/0.1105, allocations: 154.6 kB / 496.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002926/0.1108, allocations: 417 kB / 497.1 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.759e-05/0.1109, allocations: 173.1 kB / 497.3 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.782e-05/0.111, allocations: 80.14 kB / 497.4 MB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.321e-05/0.111, allocations: 75.28 kB / 497.4 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.653e-05/0.1111, allocations: 113.8 kB / 497.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.1111, allocations: 4 kB / 497.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.362e-05/0.1111, allocations: 29.66 kB / 497.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.1112, allocations: 134.7 kB / 497.7 MB, free: 3.145 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.1113, allocations: 93.86 kB / 497.8 MB, free: 3.043 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.1113, allocations: 25.7 kB / 497.8 MB, free: 3.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.715e-05/0.1114, allocations: 88.12 kB / 497.9 MB, free: 2.922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.306e-06/0.1114, allocations: 4 kB / 497.9 MB, free: 2.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.986e-05/0.1114, allocations: 9.719 kB / 497.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1115, allocations: 314.8 kB / 498.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.829e-06/0.1115, allocations: 0 / 498.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.549e-06/0.1115, allocations: 3.984 kB / 498.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.191e-05/0.1116, allocations: 75.28 kB / 498.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.211e-05/0.1116, allocations: 83.22 kB / 498.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.08e-05/0.1117, allocations: 29.7 kB / 498.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.022e-05/0.1117, allocations: 79.28 kB / 498.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-05/0.1117, allocations: 79.28 kB / 498.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001054/0.1118, allocations: 166.5 kB / 498.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.972e-05/0.1119, allocations: 75.28 kB / 498.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.094e-05/0.1119, allocations: 154.5 kB / 499 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.598e-05/0.112, allocations: 79.28 kB / 499 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.112, allocations: 75.28 kB / 499.1 MB, free: 1.691 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.000133/0.1122, allocations: 264.3 kB / 499.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.785e-05/0.1122, allocations: 116.9 kB / 499.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.609e-05/0.1123, allocations: 104.1 kB / 499.6 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.557e-05/0.1124, allocations: 180.2 kB / 499.8 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.435e-05/0.1125, allocations: 176.3 kB / 499.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.62e-05/0.1125, allocations: 184.3 kB / 0.4884 GB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.1128, allocations: 380.2 kB / 0.4888 GB, free: 224 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.667e-05/0.1128, allocations: 108.9 kB / 0.4889 GB, free: 108 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.863e-05/0.1129, allocations: 104.9 kB / 0.489 GB, free: 16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.131e-05/0.113, allocations: 180.2 kB / 0.4891 GB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001306/0.1131, allocations: 184.2 kB / 0.4893 GB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.787e-05/0.1132, allocations: 192.2 kB / 0.4895 GB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.897e-05/0.1132, allocations: 176.3 kB / 0.4897 GB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.1134, allocations: 308.1 kB / 0.4899 GB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/0.1134, allocations: 109 kB / 0.4901 GB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.707e-05/0.1135, allocations: 188.3 kB / 0.4902 GB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.453e-05/0.1136, allocations: 101 kB / 0.4903 GB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.023e-05/0.1137, allocations: 184.2 kB / 0.4905 GB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.342e-05/0.1137, allocations: 105 kB / 0.4906 GB, free: 14.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.812e-05/0.1138, allocations: 83.28 kB / 0.4907 GB, free: 14.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1138, allocations: 0 / 0.4907 GB, free: 14.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005141/0.1143, allocations: 147.5 kB / 0.4908 GB, free: 13.99 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.001656/0.1159, allocations: 1.204 MB / 0.492 GB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 3.543e-05/0.116, allocations: 8 kB / 0.492 GB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.116, allocations: 0 / 0.492 GB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.116, allocations: 0 / 0.492 GB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.1164, allocations: 455.7 kB / 0.4924 GB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.1178, allocations: 1.649 MB / 0.4941 GB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.1182, allocations: 0.6768 MB / 0.4947 GB, free: 9.938 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.135e-06/0.1182, allocations: 96 / 0.4947 GB, free: 9.938 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.1183, allocations: 19.41 kB / 0.4947 GB, free: 9.918 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1183, allocations: 4 kB / 0.4947 GB, free: 9.914 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/0.1432, allocations: 4.474 MB / 0.4991 GB, free: 5.574 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.77, allocations: 6.406 kB / 0.4991 GB, free: 5.574 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.347813099971972] Failed to read output from testmodel.py, exit status != 0: 10.924954034970142 11.093359171 10.981756572 Calling exit ...