Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadReal_m.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.ReadReal_m,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadReal_m",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadReal_m,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadReal_m",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.001434/0.001434, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.00696/0.00696, allocations: 0.9744 MB / 14.23 MB, free: 1.062 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.45/1.45, allocations: 221.4 MB / 236.3 MB, free: 13.27 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.001083/0.001083, allocations: 102.2 kB / 287.5 MB, free: 11.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.414e-05/4.416e-05, allocations: 7.984 kB / 346.1 MB, free: 1.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3152, allocations: 50.62 MB / 396.7 MB, free: 33.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1069/0.4222, allocations: 79.32 MB / 476.1 MB, free: 1.777 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/0.4224, allocations: 67.97 kB / 476.1 MB, free: 1.711 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0202/0.4426, allocations: 6.924 MB / 483 MB, free: 10.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4427, allocations: 0 / 483 MB, free: 10.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.4427, allocations: 0 / 483 MB, free: 10.79 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.0005557/0.4433, allocations: 442.3 kB / 483.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.4433, allocations: 8.031 kB / 483.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.94e-05/0.4434, allocations: 105.8 kB / 483.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.394e-05/0.4435, allocations: 83.28 kB / 483.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.4437, allocations: 246.3 kB / 483.9 MB, free: 9.832 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.605e-05/0.4437, allocations: 154.5 kB / 484.1 MB, free: 9.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.074e-05/0.4438, allocations: 150.6 kB / 484.2 MB, free: 9.531 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.275e-05/0.4439, allocations: 104.9 kB / 484.3 MB, free: 9.422 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.4439, allocations: 75.28 kB / 484.4 MB, free: 9.348 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.154e-05/0.444, allocations: 154.6 kB / 484.5 MB, free: 9.195 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.552e-05/0.444, allocations: 154.5 kB / 484.7 MB, free: 9.043 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.623e-05/0.4441, allocations: 158.5 kB / 484.8 MB, free: 8.887 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.4444, allocations: 449.9 kB / 485.3 MB, free: 8.398 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.088e-05/0.4445, allocations: 173.1 kB / 485.5 MB, free: 8.219 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.4446, allocations: 80.14 kB / 485.5 MB, free: 8.137 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.4446, allocations: 79.28 kB / 485.6 MB, free: 8.059 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.4446, allocations: 105.8 kB / 485.7 MB, free: 7.945 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.4447, allocations: 0 / 485.7 MB, free: 7.945 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.355e-05/0.4447, allocations: 33.59 kB / 485.7 MB, free: 7.906 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/0.4448, allocations: 134.7 kB / 485.9 MB, free: 7.762 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.822e-05/0.4449, allocations: 96.98 kB / 486 MB, free: 7.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.4449, allocations: 29.7 kB / 486 MB, free: 7.625 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.445, allocations: 80.14 kB / 486.1 MB, free: 7.543 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.445, allocations: 0 / 486.1 MB, free: 7.543 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-07/0.445, allocations: 0 / 486.1 MB, free: 7.543 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.658e-05/0.4451, allocations: 314.8 kB / 486.4 MB, free: 7.227 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.637e-06/0.4451, allocations: 0 / 486.4 MB, free: 7.227 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.585e-06/0.4451, allocations: 4 kB / 486.4 MB, free: 7.223 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.84e-05/0.4451, allocations: 75.28 kB / 486.5 MB, free: 7.148 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.287e-05/0.4452, allocations: 83.28 kB / 486.5 MB, free: 7.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.19e-05/0.4452, allocations: 29.64 kB / 486.6 MB, free: 7.031 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.946e-05/0.4453, allocations: 83.28 kB / 486.7 MB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.178e-05/0.4453, allocations: 79.27 kB / 486.7 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.01e-05/0.4454, allocations: 150.6 kB / 486.9 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.356e-05/0.4454, allocations: 91.22 kB / 487 MB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.297e-05/0.4455, allocations: 150.6 kB / 487.1 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.528e-05/0.4455, allocations: 83.22 kB / 487.2 MB, free: 6.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.4456, allocations: 75.28 kB / 487.3 MB, free: 6.328 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 () * 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.361e-05/0.4457, allocations: 255.5 kB / 487.5 MB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.473e-05/0.4457, allocations: 112.8 kB / 487.6 MB, free: 5.953 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.142e-05/0.4458, allocations: 112.1 kB / 487.7 MB, free: 5.836 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.667e-05/0.4459, allocations: 176.3 kB / 487.9 MB, free: 5.656 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.883e-05/0.4459, allocations: 184.4 kB / 488.1 MB, free: 5.469 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.344e-05/0.446, allocations: 184.3 kB / 488.3 MB, free: 5.281 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.4462, allocations: 405.2 kB / 488.7 MB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.072e-05/0.4463, allocations: 109 kB / 488.8 MB, free: 4.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.392e-05/0.4463, allocations: 101 kB / 488.9 MB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.887e-05/0.4464, allocations: 193 kB / 489.1 MB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.946e-05/0.4464, allocations: 176.3 kB / 489.2 MB, free: 4.234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.534e-05/0.4465, allocations: 187.5 kB / 489.4 MB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.914e-05/0.4466, allocations: 176.3 kB / 489.6 MB, free: 3.867 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.4467, allocations: 319.7 kB / 489.9 MB, free: 3.531 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.281e-05/0.4468, allocations: 178.1 kB / 490.1 MB, free: 3.332 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-05/0.4469, allocations: 184.6 kB / 490.3 MB, free: 3.145 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.167e-05/0.447, allocations: 105 kB / 490.4 MB, free: 3.035 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.4471, allocations: 180.3 kB / 490.5 MB, free: 2.852 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.002e-05/0.4471, allocations: 113 kB / 490.6 MB, free: 2.734 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.235e-05/0.4472, allocations: 83.28 kB / 490.7 MB, free: 2.652 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4472, allocations: 0 / 490.7 MB, free: 2.652 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006838/0.4479, allocations: 175.8 kB / 490.9 MB, free: 2.48 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 () * 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.001413/0.4493, allocations: 1.238 MB / 492.1 MB, free: 1.309 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.016e-05/0.4493, allocations: 4 kB / 492.1 MB, free: 1.305 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4494, allocations: 0 / 492.1 MB, free: 1.305 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.366e-06/0.4494, allocations: 3.938 kB / 492.1 MB, free: 1.301 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.4497, allocations: 0.5224 MB / 492.7 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004892/0.4502, allocations: 257.6 kB / 492.9 MB, free: 496 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.4505, allocations: 0.6809 MB / 493.6 MB, free: 15.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.32e-05/0.4505, allocations: 3.984 kB / 493.6 MB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.4505, allocations: 15.44 kB / 493.6 MB, free: 15.76 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.4505, allocations: 4 kB / 493.6 MB, free: 15.75 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01699/0.4675, allocations: 3.93 MB / 497.6 MB, free: 11.93 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/0.4678, allocations: 166 kB / 497.7 MB, free: 11.71 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/2.15, allocations: 7.984 kB / 497.7 MB, free: 11.7 MB / 378.7 MB (rm -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadReal_m.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadReal_m_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadReal_m.fmu > KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe 2>&1)