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.008254/0.008254, allocations: 100.3 kB / 15.73 MB, free: 5.988 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.001714/0.001714, allocations: 188 kB / 16.67 MB, free: 5.91 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.507/1.507, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.007069/0.007069, allocations: 1.012 MB / 291.5 MB, free: 13.77 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 63.89 kB / 402.5 MB, free: 32.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1041, allocations: 49.65 MB / 452.1 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.002285/0.1063, allocations: 1.196 MB / 453.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003274/0.1096, allocations: 2.034 MB / 455.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.841e-05/0.1096, allocations: 0 / 455.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.378e-05/0.1097, allocations: 0 / 455.3 MB, free: 11.28 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 'KeyWordIO.readLineWithoutCache'. [/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.001171/0.1108, allocations: 454.6 kB / 455.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.005e-06/0.1108, allocations: 0 / 455.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.788e-05/0.1109, allocations: 11.92 kB / 455.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.162e-05/0.1109, allocations: 0 / 455.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.469e-05/0.1109, allocations: 4 kB / 455.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003887/0.1113, allocations: 11.92 kB / 455.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.306e-06/0.1113, allocations: 0 / 455.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007675/0.1121, allocations: 499.5 kB / 456.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.232e-06/0.1121, allocations: 0 / 456.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.997e-05/0.1121, allocations: 3.984 kB / 456.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005213/0.1126, allocations: 359.3 kB / 456.7 MB, free: 9.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1126, allocations: 0 / 456.7 MB, free: 9.965 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1126, allocations: 0 / 456.7 MB, free: 9.965 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.1126, allocations: 0 / 456.7 MB, free: 9.965 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.0004538/0.1131, allocations: 414.6 kB / 457.1 MB, free: 9.512 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.1131, allocations: 8.031 kB / 457.1 MB, free: 9.504 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.785e-05/0.1132, allocations: 110 kB / 457.2 MB, free: 9.387 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.349e-05/0.1133, allocations: 84.16 kB / 457.3 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.1135, allocations: 243.7 kB / 457.5 MB, free: 9.027 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.485e-05/0.1135, allocations: 150.9 kB / 457.6 MB, free: 8.879 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.01e-05/0.1136, allocations: 162.5 kB / 457.8 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.598e-05/0.1137, allocations: 104.9 kB / 457.9 MB, free: 8.609 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/0.1137, allocations: 79.28 kB / 458 MB, free: 8.531 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.298e-05/0.1137, allocations: 150.6 kB / 458.1 MB, free: 8.383 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-05/0.1138, allocations: 150.6 kB / 458.3 MB, free: 8.234 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.406e-05/0.1139, allocations: 150.6 kB / 458.4 MB, free: 8.086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.1142, allocations: 449.9 kB / 458.9 MB, free: 7.598 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.732e-05/0.1143, allocations: 177 kB / 459 MB, free: 7.414 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/0.1143, allocations: 80.14 kB / 459.1 MB, free: 7.332 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.1144, allocations: 79.28 kB / 459.2 MB, free: 7.254 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.381e-05/0.1144, allocations: 109.8 kB / 459.3 MB, free: 7.137 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 7.32e-07/0.1144, allocations: 0 / 459.3 MB, free: 7.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.087e-05/0.1145, allocations: 29.7 kB / 459.3 MB, free: 7.102 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/0.1146, allocations: 126.7 kB / 459.5 MB, free: 6.965 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.1147, allocations: 113.8 kB / 459.6 MB, free: 6.844 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.1147, allocations: 25.7 kB / 459.6 MB, free: 6.812 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.1147, allocations: 80.14 kB / 459.7 MB, free: 6.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.332e-06/0.1147, allocations: 0 / 459.7 MB, free: 6.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/0.1147, allocations: 13.66 kB / 459.7 MB, free: 6.711 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1149, allocations: 318.8 kB / 460 MB, free: 6.391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.118e-06/0.1149, allocations: 0 / 460 MB, free: 6.391 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.016e-06/0.1149, allocations: 0 / 460 MB, free: 6.391 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.136e-05/0.1149, allocations: 75.28 kB / 460.1 MB, free: 6.316 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.943e-05/0.115, allocations: 79.28 kB / 460.1 MB, free: 6.238 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.06e-05/0.115, allocations: 41.67 kB / 460.2 MB, free: 6.191 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/0.1151, allocations: 79.28 kB / 460.3 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.989e-05/0.1151, allocations: 79.22 kB / 460.3 MB, free: 6.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.356e-05/0.1152, allocations: 154.6 kB / 460.5 MB, free: 5.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.996e-05/0.1152, allocations: 79.28 kB / 460.6 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.797e-05/0.1153, allocations: 154.5 kB / 460.7 MB, free: 5.652 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.948e-05/0.1153, allocations: 75.28 kB / 460.8 MB, free: 5.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.1154, allocations: 79.22 kB / 460.9 MB, free: 5.5 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.0001389/0.1155, allocations: 277 kB / 461.1 MB, free: 5.219 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.384e-05/0.1156, allocations: 104.9 kB / 461.2 MB, free: 5.109 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.944e-05/0.1156, allocations: 108 kB / 461.3 MB, free: 4.996 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-05/0.1157, allocations: 180.3 kB / 461.5 MB, free: 4.812 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.261e-05/0.1158, allocations: 180.2 kB / 461.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.76e-05/0.1159, allocations: 184.2 kB / 461.9 MB, free: 4.441 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.1161, allocations: 409.2 kB / 462.3 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.377e-05/0.1162, allocations: 112.8 kB / 462.4 MB, free: 3.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.548e-05/0.1162, allocations: 101 kB / 462.5 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.468e-05/0.1163, allocations: 184.3 kB / 462.7 MB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.667e-05/0.1164, allocations: 184.2 kB / 462.8 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.228e-05/0.1165, allocations: 176.3 kB / 463 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.578e-05/0.1165, allocations: 188.2 kB / 463.2 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.1167, allocations: 303.8 kB / 463.5 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.211e-05/0.1168, allocations: 182.4 kB / 463.7 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.689e-05/0.1168, allocations: 188.2 kB / 463.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.944e-05/0.1169, allocations: 108.9 kB / 464 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-05/0.117, allocations: 176.3 kB / 464.1 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.864e-05/0.1171, allocations: 113 kB / 464.3 MB, free: 1.891 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.131e-05/0.1171, allocations: 83.27 kB / 464.3 MB, free: 1.809 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1171, allocations: 3.938 kB / 464.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000518/0.1176, allocations: 135.5 kB / 464.5 MB, free: 1.672 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.001514/0.1191, allocations: 1.186 MB / 465.7 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 4.304e-05/0.1192, allocations: 4 kB / 465.7 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1192, allocations: 0 / 465.7 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.838e-06/0.1192, allocations: 3.938 kB / 465.7 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004074/0.1196, allocations: 459.7 kB / 466.1 MB, free: 68 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.121, allocations: 1.633 MB / 467.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.1213, allocations: 0.6805 MB / 468.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.366e-06/0.1213, allocations: 0 / 468.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.1213, allocations: 11.44 kB / 468.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1213, allocations: 0 / 468.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/0.1482, allocations: 3.987 MB / 472.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.262, allocations: 11.59 kB / 472.4 MB, free: 9.715 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)