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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004764/0.004764, allocations: 101 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 194.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo): time 0.007359/0.007359, allocations: 1.017 MB / 291.5 MB, free: 13.74 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 62.53 kB / 402.5 MB, free: 32.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09026/0.09212, allocations: 49.65 MB / 452.1 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.002998/0.09516, allocations: 1.2 MB / 453.3 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004797/0.09999, allocations: 2.023 MB / 455.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.948e-05/0.1001, allocations: 4 kB / 455.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.055e-05/0.1001, allocations: 4 kB / 455.4 MB, free: 11.25 MB / 334.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.002009/0.1022, allocations: 454.3 kB / 455.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.739e-06/0.1022, allocations: 0 / 455.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.687e-05/0.1022, allocations: 7.938 kB / 455.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.678e-05/0.1023, allocations: 0 / 455.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.882e-05/0.1024, allocations: 7.984 kB / 455.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.1025, allocations: 11.92 kB / 455.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.809e-06/0.1026, allocations: 0 / 455.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.104, allocations: 495.5 kB / 456.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.398e-06/0.104, allocations: 0 / 456.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.335e-05/0.104, allocations: 4 kB / 456.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.1051, allocations: 363.3 kB / 456.7 MB, free: 9.938 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1051, allocations: 0 / 456.7 MB, free: 9.938 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1051, allocations: 4 kB / 456.7 MB, free: 9.934 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.1051, allocations: 0 / 456.7 MB, free: 9.934 MB / 334.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.000728/0.1059, allocations: 410.6 kB / 457.1 MB, free: 9.484 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.1059, allocations: 12.02 kB / 457.1 MB, free: 9.473 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.01e-05/0.106, allocations: 110 kB / 457.2 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.954e-05/0.1061, allocations: 76.22 kB / 457.3 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.1064, allocations: 243.7 kB / 457.5 MB, free: 9.004 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.106e-05/0.1065, allocations: 150.9 kB / 457.7 MB, free: 8.855 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.66e-05/0.1066, allocations: 158.5 kB / 457.8 MB, free: 8.699 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.306e-05/0.1067, allocations: 104.9 kB / 457.9 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.398e-05/0.1067, allocations: 87.27 kB / 458 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.999e-05/0.1068, allocations: 150.6 kB / 458.2 MB, free: 8.355 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.149e-05/0.1069, allocations: 150.6 kB / 458.3 MB, free: 8.207 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.228e-05/0.107, allocations: 150.6 kB / 458.4 MB, free: 8.059 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.1074, allocations: 442 kB / 458.9 MB, free: 7.578 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.1076, allocations: 181 kB / 459.1 MB, free: 7.391 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.449e-05/0.1077, allocations: 84.14 kB / 459.1 MB, free: 7.305 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.635e-05/0.1077, allocations: 75.28 kB / 459.2 MB, free: 7.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.585e-05/0.1078, allocations: 109.8 kB / 459.3 MB, free: 7.113 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/0.1078, allocations: 0 / 459.3 MB, free: 7.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 9.551e-05/0.1079, allocations: 29.7 kB / 459.3 MB, free: 7.078 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.629e-05/0.108, allocations: 138.6 kB / 459.5 MB, free: 6.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.1082, allocations: 101.8 kB / 459.6 MB, free: 6.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.1082, allocations: 25.7 kB / 459.6 MB, free: 6.789 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.483e-05/0.1083, allocations: 84.14 kB / 459.7 MB, free: 6.703 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/0.1083, allocations: 3.938 kB / 459.7 MB, free: 6.699 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.1083, allocations: 9.719 kB / 459.7 MB, free: 6.684 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003026/0.1086, allocations: 310.8 kB / 460 MB, free: 6.371 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.452e-06/0.1086, allocations: 4 kB / 460 MB, free: 6.367 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.049e-06/0.1086, allocations: 0 / 460 MB, free: 6.367 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.04e-05/0.1087, allocations: 83.28 kB / 460.1 MB, free: 6.285 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.407e-05/0.1088, allocations: 75.28 kB / 460.2 MB, free: 6.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.914e-05/0.1088, allocations: 33.69 kB / 460.2 MB, free: 6.172 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.843e-05/0.1089, allocations: 83.28 kB / 460.3 MB, free: 6.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.187e-05/0.109, allocations: 83.2 kB / 460.4 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.371e-05/0.1091, allocations: 154.6 kB / 460.5 MB, free: 5.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.1092, allocations: 79.22 kB / 460.6 MB, free: 5.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.488e-05/0.1093, allocations: 154.6 kB / 460.7 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.1094, allocations: 75.28 kB / 460.8 MB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.962e-05/0.1095, allocations: 79.22 kB / 460.9 MB, free: 5.473 MB / 334.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.0002001/0.1097, allocations: 265 kB / 461.1 MB, free: 5.203 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.1098, allocations: 116.9 kB / 461.3 MB, free: 5.082 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000193/0.11, allocations: 108 kB / 461.4 MB, free: 4.969 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001967/0.1102, allocations: 176.3 kB / 461.5 MB, free: 4.789 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000109/0.1104, allocations: 180.3 kB / 461.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001031/0.1105, allocations: 184.2 kB / 461.9 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000396/0.1109, allocations: 405.2 kB / 462.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-05/0.1109, allocations: 108.9 kB / 462.4 MB, free: 3.852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.187e-05/0.111, allocations: 101 kB / 462.5 MB, free: 3.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-05/0.1111, allocations: 188.2 kB / 462.7 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-05/0.1112, allocations: 184.2 kB / 462.9 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.236e-05/0.1113, allocations: 180.3 kB / 463 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000107/0.1114, allocations: 184.2 kB / 463.2 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.1117, allocations: 311.7 kB / 463.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.1118, allocations: 178.5 kB / 463.7 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.1119, allocations: 176.3 kB / 463.9 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.1121, allocations: 112.9 kB / 464 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.1122, allocations: 180.3 kB / 464.2 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.551e-05/0.1123, allocations: 112.9 kB / 464.3 MB, free: 1.871 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.561e-05/0.1124, allocations: 83.45 kB / 464.3 MB, free: 1.789 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.046e-06/0.1124, allocations: 0 / 464.3 MB, free: 1.789 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007804/0.1132, allocations: 139.5 kB / 464.5 MB, free: 1.652 MB / 334.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.002206/0.1154, allocations: 1.187 MB / 465.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 5.61e-05/0.1155, allocations: 12 kB / 465.7 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1155, allocations: 0 / 465.7 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.188e-06/0.1155, allocations: 3.938 kB / 465.7 MB, free: 500 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00056/0.116, allocations: 454.7 kB / 466.1 MB, free: 44 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.1179, allocations: 1.626 MB / 467.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.1183, allocations: 0.6806 MB / 468.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.169e-05/0.1184, allocations: 0 / 468.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.175e-05/0.1184, allocations: 15.42 kB / 468.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1184, allocations: 0 / 468.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03295/0.1514, allocations: 3.987 MB / 472.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.83/7.981, allocations: 2.812 kB / 472.4 MB, free: 9.703 MB / 350.1 MB (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 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadRealParameter.fmu > KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe 2>&1)