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.11.0-master/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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.001165/0.001165, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001229/0.001229, allocations: 191.4 kB / 16.25 MB, free: 6.629 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.211/1.211, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.005979/0.005979, allocations: 1.004 MB / 291.1 MB, free: 1.348 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 59.91 kB / 351.7 MB, free: 7.113 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09582/0.09712, allocations: 49.65 MB / 401.3 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.002393/0.09955, allocations: 1.255 MB / 402.6 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003143/0.1027, allocations: 1.999 MB / 404.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.792e-05/0.1028, allocations: 0 / 404.6 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.188e-05/0.1028, allocations: 0 / 404.6 MB, free: 2.145 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readLine.mo:2:1-36:13:writable] Warning: Pure function ‘KeyWordIO.readLine‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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.001472/0.1043, allocations: 399.1 kB / 405 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.198e-06/0.1043, allocations: 0 / 405 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.578e-05/0.1044, allocations: 7.938 kB / 405 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.549e-05/0.1044, allocations: 0 / 405 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.227e-05/0.1045, allocations: 7.938 kB / 405 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.1046, allocations: 23.92 kB / 405 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.017e-06/0.1046, allocations: 0 / 405 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007439/0.1054, allocations: 443.5 kB / 405.4 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.841e-06/0.1054, allocations: 0 / 405.4 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.905e-05/0.1054, allocations: 3.938 kB / 405.4 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005389/0.106, allocations: 355.4 kB / 405.8 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.106, allocations: 0 / 405.8 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.106, allocations: 0 / 405.8 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.106, allocations: 0 / 405.8 MB, free: 0.9297 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.000469/0.1065, allocations: 411.6 kB / 406.2 MB, free: 492 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.1065, allocations: 16.03 kB / 406.2 MB, free: 476 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.493e-05/0.1066, allocations: 106 kB / 406.3 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.383e-05/0.1066, allocations: 76.22 kB / 406.4 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.1068, allocations: 247.6 kB / 406.6 MB, free: 16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.091e-05/0.1069, allocations: 150.9 kB / 406.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.136e-05/0.1069, allocations: 154.5 kB / 406.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.588e-05/0.107, allocations: 112.9 kB / 407 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.885e-05/0.107, allocations: 75.28 kB / 407.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.569e-05/0.1071, allocations: 154.5 kB / 407.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-05/0.1071, allocations: 154.5 kB / 407.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.371e-05/0.1072, allocations: 150.6 kB / 407.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002829/0.1075, allocations: 454 kB / 408 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.495e-05/0.1076, allocations: 173 kB / 408.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.407e-05/0.1076, allocations: 80.14 kB / 408.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.1076, allocations: 83.27 kB / 408.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.1077, allocations: 109.8 kB / 408.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.1077, allocations: 4 kB / 408.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.6e-05/0.1078, allocations: 25.7 kB / 408.5 MB, free: 14.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.13e-05/0.1079, allocations: 130.6 kB / 408.6 MB, free: 13.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.108, allocations: 105.8 kB / 408.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.108, allocations: 25.7 kB / 408.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.267e-05/0.1081, allocations: 80.14 kB / 408.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.124e-06/0.1081, allocations: 0 / 408.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.1081, allocations: 13.72 kB / 408.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1082, allocations: 314.8 kB / 409.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-06/0.1083, allocations: 0 / 409.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.086e-06/0.1083, allocations: 0 / 409.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.838e-05/0.1083, allocations: 75.28 kB / 409.2 MB, free: 13.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-05/0.1083, allocations: 75.28 kB / 409.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.698e-05/0.1084, allocations: 37.64 kB / 409.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.201e-05/0.1085, allocations: 79.28 kB / 409.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.809e-05/0.1085, allocations: 87.2 kB / 409.5 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.74e-05/0.1086, allocations: 158.5 kB / 409.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.387e-05/0.1086, allocations: 79.22 kB / 409.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-05/0.1087, allocations: 150.6 kB / 409.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.321e-05/0.1087, allocations: 75.28 kB / 409.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/0.1088, allocations: 87.22 kB / 410 MB, free: 12.46 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.0001108/0.1089, allocations: 268.3 kB / 410.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.347e-05/0.109, allocations: 105 kB / 410.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.267e-05/0.109, allocations: 112 kB / 410.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.674e-05/0.1091, allocations: 176.3 kB / 410.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-05/0.1091, allocations: 176.3 kB / 410.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.727e-05/0.1092, allocations: 188.2 kB / 411 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.1094, allocations: 409.2 kB / 411.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.441e-05/0.1095, allocations: 104.9 kB / 411.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.193e-05/0.1095, allocations: 108.9 kB / 411.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.425e-05/0.1096, allocations: 180.3 kB / 411.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.729e-05/0.1096, allocations: 184.2 kB / 412 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-05/0.1097, allocations: 180.3 kB / 412.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-05/0.1098, allocations: 180.6 kB / 412.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.1099, allocations: 311.7 kB / 412.6 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.11, allocations: 186.1 kB / 412.8 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.429e-05/0.11, allocations: 180.3 kB / 413 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.071e-05/0.1101, allocations: 104.9 kB / 413.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.565e-05/0.1102, allocations: 180.2 kB / 413.3 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.374e-05/0.1102, allocations: 108.9 kB / 413.4 MB, free: 8.867 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.456e-05/0.1103, allocations: 83.28 kB / 413.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1103, allocations: 0 / 413.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004963/0.1108, allocations: 128 kB / 413.6 MB, free: 8.66 MB / 350.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.001307/0.1121, allocations: 1.2 MB / 414.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 3.745e-05/0.1122, allocations: 0 / 414.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1122, allocations: 0 / 414.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.975e-06/0.1122, allocations: 7.938 kB / 414.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.1125, allocations: 455.7 kB / 415.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.1139, allocations: 1.638 MB / 416.9 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.1141, allocations: 0.6727 MB / 417.5 MB, free: 4.633 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.878e-06/0.1141, allocations: 4 kB / 417.5 MB, free: 4.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.1142, allocations: 15.42 kB / 417.6 MB, free: 4.613 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1142, allocations: 0 / 417.6 MB, free: 4.613 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03897/0.1532, allocations: 3.862 MB / 421.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.1534, allocations: 228.8 kB / 421.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/1.921, allocations: 0 / 421.6 MB, free: 0.5781 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)