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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.005339/0.005342, allocations: 173.6 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.005025/0.005025, allocations: 0.9883 MB / 16.84 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.205/1.205, allocations: 223.2 MB / 241 MB, free: 8.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008204/0.0008203, allocations: 111.9 kB / 292.4 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000289/0.000289, allocations: 8 kB / 353.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2002, allocations: 50.61 MB / 404.2 MB, free: 31.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09046/0.2907, allocations: 79.12 MB / 483.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.2909, allocations: 75.89 kB / 483.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01649/0.3074, allocations: 6.487 MB / 489.9 MB, free: 9.293 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3075, allocations: 0 / 489.9 MB, free: 9.293 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.3075, allocations: 0 / 489.9 MB, free: 9.293 MB / 362.7 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.0004351/0.3079, allocations: 443.1 kB / 490.3 MB, free: 8.812 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.308, allocations: 8.031 kB / 490.3 MB, free: 8.805 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.165e-05/0.308, allocations: 109.8 kB / 490.4 MB, free: 8.688 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.964e-05/0.3081, allocations: 75.28 kB / 490.5 MB, free: 8.613 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.3083, allocations: 250.3 kB / 490.8 MB, free: 8.328 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.591e-05/0.3083, allocations: 150.6 kB / 490.9 MB, free: 8.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.58e-05/0.3084, allocations: 154.5 kB / 491.1 MB, free: 8.027 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.193e-05/0.3084, allocations: 104.9 kB / 491.2 MB, free: 7.918 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.3085, allocations: 79.28 kB / 491.2 MB, free: 7.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.495e-05/0.3085, allocations: 150.6 kB / 491.4 MB, free: 7.691 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.46e-05/0.3086, allocations: 154.6 kB / 491.5 MB, free: 7.539 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.751e-05/0.3086, allocations: 154.6 kB / 491.7 MB, free: 7.387 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002424/0.3089, allocations: 445.9 kB / 492.1 MB, free: 6.902 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.385e-05/0.3089, allocations: 173.1 kB / 492.3 MB, free: 6.723 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.309, allocations: 79.28 kB / 492.4 MB, free: 6.645 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.309, allocations: 105.8 kB / 492.5 MB, free: 6.531 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.309, allocations: 0 / 492.5 MB, free: 6.531 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.723e-05/0.3091, allocations: 40.7 kB / 492.5 MB, free: 6.488 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.3092, allocations: 130.6 kB / 492.6 MB, free: 6.348 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.093e-05/0.3092, allocations: 96.98 kB / 492.7 MB, free: 6.246 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.948e-06/0.3093, allocations: 29.7 kB / 492.8 MB, free: 6.211 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.921e-05/0.3093, allocations: 80.14 kB / 492.8 MB, free: 6.129 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.3093, allocations: 0 / 492.8 MB, free: 6.129 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.11e-07/0.3093, allocations: 4 kB / 492.8 MB, free: 6.125 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.481e-05/0.3094, allocations: 310.8 kB / 493.2 MB, free: 5.812 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.497e-06/0.3094, allocations: 0 / 493.2 MB, free: 5.812 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.575e-06/0.3094, allocations: 0 / 493.2 MB, free: 5.812 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.346e-05/0.3094, allocations: 75.28 kB / 493.2 MB, free: 5.738 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.176e-05/0.3095, allocations: 75.28 kB / 493.3 MB, free: 5.664 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.524e-05/0.3095, allocations: 41.64 kB / 493.3 MB, free: 5.617 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.3096, allocations: 80.53 kB / 493.4 MB, free: 5.539 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.536e-05/0.3096, allocations: 87.2 kB / 493.5 MB, free: 5.453 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.407e-05/0.3097, allocations: 154.6 kB / 493.7 MB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.162e-05/0.3097, allocations: 79.22 kB / 493.7 MB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-05/0.3097, allocations: 154.5 kB / 493.9 MB, free: 5.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.497e-05/0.3098, allocations: 79.28 kB / 494 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.149e-05/0.3098, allocations: 79.22 kB / 494 MB, free: 4.914 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.854e-05/0.3099, allocations: 264.4 kB / 494.3 MB, free: 4.645 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.348e-05/0.31, allocations: 109.2 kB / 494.4 MB, free: 4.531 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.078e-05/0.31, allocations: 112 kB / 494.5 MB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.496e-05/0.3101, allocations: 184.2 kB / 494.7 MB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.316e-05/0.3102, allocations: 176.3 kB / 494.9 MB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.256e-05/0.3102, allocations: 184.2 kB / 495 MB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.3104, allocations: 405.2 kB / 495.4 MB, free: 3.406 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.057e-05/0.3105, allocations: 104.9 kB / 495.5 MB, free: 3.297 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.328e-05/0.3105, allocations: 105 kB / 495.6 MB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-05/0.3106, allocations: 188.2 kB / 495.8 MB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.583e-05/0.3106, allocations: 184.2 kB / 496 MB, free: 2.809 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-05/0.3107, allocations: 176.3 kB / 496.2 MB, free: 2.629 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.154e-05/0.3107, allocations: 180.2 kB / 496.4 MB, free: 2.445 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.3109, allocations: 315.7 kB / 496.7 MB, free: 2.113 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.519e-05/0.3109, allocations: 182.1 kB / 496.8 MB, free: 1.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.126e-05/0.311, allocations: 176.7 kB / 497 MB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.3111, allocations: 112.9 kB / 497.1 MB, free: 1.613 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.3111, allocations: 180.3 kB / 497.3 MB, free: 1.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.3112, allocations: 104.9 kB / 497.4 MB, free: 1.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.994e-05/0.3112, allocations: 87.28 kB / 497.5 MB, free: 1.234 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3112, allocations: 0 / 497.5 MB, free: 1.234 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004808/0.3117, allocations: 171.8 kB / 497.7 MB, free: 1.066 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001269/0.313, allocations: 1.211 MB / 498.9 MB, free: 15.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 3.196e-05/0.313, allocations: 0 / 498.9 MB, free: 15.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.313, allocations: 4 kB / 498.9 MB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.518e-06/0.3131, allocations: 7.844 kB / 498.9 MB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.3133, allocations: 0.5185 MB / 499.4 MB, free: 15.37 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007239/0.3141, allocations: 0.6049 MB / 0.4883 GB, free: 14.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.3143, allocations: 0.6771 MB / 0.4889 GB, free: 14.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.39e-05/0.3143, allocations: 7.891 kB / 0.489 GB, free: 14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.3143, allocations: 23.38 kB / 0.489 GB, free: 13.98 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3144, allocations: 3.938 kB / 0.489 GB, free: 13.97 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01683/0.3312, allocations: 3.71 MB / 0.4926 GB, free: 10.36 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/0.3314, allocations: 207.6 kB / 0.4928 GB, free: 10.11 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.494/1.825, allocations: 0 / 0.4928 GB, free: 10.11 MB / 378.7 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/linux/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)