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.001279/0.001279, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006275/0.006275, allocations: 0.9787 MB / 9.044 MB, free: 8 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 221.5 MB / 231.2 MB, free: 6.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 91.5 kB / 282.3 MB, free: 3.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.934e-05/1.937e-05, allocations: 3.984 kB / 339.2 MB, free: 8.086 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1131, allocations: 50.63 MB / 389.9 MB, free: 5.414 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3893/0.5024, allocations: 78.64 MB / 468.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/0.5028, allocations: 71.95 kB / 468.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02005/0.5229, allocations: 6.774 MB / 475.3 MB, free: 6.887 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.523, allocations: 3.984 kB / 475.4 MB, free: 6.883 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.523, allocations: 0 / 475.4 MB, free: 6.883 MB / 346.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.0005553/0.5235, allocations: 442.4 kB / 475.8 MB, free: 6.406 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.5236, allocations: 8.031 kB / 475.8 MB, free: 6.398 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.654e-05/0.5237, allocations: 79.28 kB / 475.9 MB, free: 6.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.5239, allocations: 238.4 kB / 476.1 MB, free: 6.047 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.224e-05/0.5239, allocations: 154.6 kB / 476.3 MB, free: 5.895 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.023e-05/0.524, allocations: 154.6 kB / 476.4 MB, free: 5.742 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.962e-05/0.524, allocations: 150.6 kB / 476.5 MB, free: 5.594 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.169e-05/0.5241, allocations: 108.9 kB / 476.7 MB, free: 5.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/0.5242, allocations: 79.27 kB / 476.7 MB, free: 5.402 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.457e-05/0.5242, allocations: 150.6 kB / 476.9 MB, free: 5.254 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-05/0.5243, allocations: 158.6 kB / 477 MB, free: 5.098 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002372/0.5245, allocations: 422.5 kB / 477.4 MB, free: 4.648 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.131e-05/0.5246, allocations: 173.9 kB / 477.6 MB, free: 4.469 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.619e-05/0.5246, allocations: 80.14 kB / 477.7 MB, free: 4.387 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.5247, allocations: 79.28 kB / 477.8 MB, free: 4.309 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.5247, allocations: 113.8 kB / 477.9 MB, free: 4.188 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.5247, allocations: 0 / 477.9 MB, free: 4.188 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 7.27e-05/0.5248, allocations: 26.48 kB / 477.9 MB, free: 4.156 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.5248, allocations: 51.41 kB / 478 MB, free: 4.094 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.015e-05/0.5249, allocations: 101 kB / 478.1 MB, free: 3.988 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.525, allocations: 25.7 kB / 478.1 MB, free: 3.957 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.095e-05/0.525, allocations: 96.08 kB / 478.2 MB, free: 3.859 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.262e-06/0.525, allocations: 0 / 478.2 MB, free: 3.859 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-07/0.525, allocations: 0 / 478.2 MB, free: 3.859 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.5251, allocations: 314.8 kB / 478.5 MB, free: 3.543 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.737e-06/0.5252, allocations: 0 / 478.5 MB, free: 3.543 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.475e-06/0.5252, allocations: 0 / 478.5 MB, free: 3.543 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.725e-05/0.5252, allocations: 75.28 kB / 478.6 MB, free: 3.469 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.516e-05/0.5252, allocations: 75.28 kB / 478.6 MB, free: 3.395 MB / 346.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.793e-05/0.5253, allocations: 41.55 kB / 478.7 MB, free: 3.348 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/0.5253, allocations: 80.69 kB / 478.8 MB, free: 3.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.691e-05/0.5254, allocations: 75.28 kB / 478.8 MB, free: 3.195 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.45e-05/0.5254, allocations: 154.6 kB / 479 MB, free: 3.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.988e-05/0.5255, allocations: 79.22 kB / 479.1 MB, free: 2.965 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.146e-05/0.5255, allocations: 158.5 kB / 479.2 MB, free: 2.809 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.954e-05/0.5256, allocations: 75.33 kB / 479.3 MB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.267e-05/0.5257, allocations: 95.42 kB / 479.4 MB, free: 2.641 MB / 346.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 0.0001007/0.5258, allocations: 251.5 kB / 479.6 MB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.521e-05/0.5258, allocations: 130.7 kB / 479.7 MB, free: 2.246 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.664e-05/0.5259, allocations: 112.9 kB / 479.9 MB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.752e-05/0.526, allocations: 108.7 kB / 480 MB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.988e-05/0.526, allocations: 184.3 kB / 480.1 MB, free: 1.824 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.564e-05/0.5261, allocations: 184.2 kB / 480.3 MB, free: 1.637 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-05/0.5261, allocations: 180.3 kB / 480.5 MB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.5264, allocations: 381.8 kB / 480.9 MB, free: 1.035 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.498e-05/0.5264, allocations: 104.9 kB / 481 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.334e-05/0.5264, allocations: 102 kB / 481.1 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.269e-05/0.5265, allocations: 188.2 kB / 481.3 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.364e-05/0.5266, allocations: 188.2 kB / 481.4 MB, free: 448 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.901e-05/0.5267, allocations: 176.3 kB / 481.6 MB, free: 264 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.569e-05/0.5267, allocations: 176.3 kB / 481.8 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.5269, allocations: 315.7 kB / 482.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.931e-05/0.527, allocations: 182.5 kB / 482.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.053e-05/0.5271, allocations: 184.2 kB / 482.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.811e-05/0.5272, allocations: 105 kB / 482.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7e-05/0.5272, allocations: 180.3 kB / 482.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/0.5273, allocations: 104.9 kB / 482.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.148e-05/0.5273, allocations: 91.28 kB / 482.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5273, allocations: 0 / 482.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006848/0.528, allocations: 167.9 kB / 483.1 MB, free: 14.7 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.001422/0.5295, allocations: 1.243 MB / 484.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 3.406e-05/0.5295, allocations: 0 / 484.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.5295, allocations: 4 kB / 484.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.5295, allocations: 0 / 484.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.5298, allocations: 0.5224 MB / 484.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004781/0.5303, allocations: 252.7 kB / 485.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002246/0.5305, allocations: 0.6806 MB / 485.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.031e-05/0.5306, allocations: 0 / 485.8 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.5306, allocations: 15.42 kB / 485.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of SimCode: time 4.1e-07/0.5306, allocations: 0 / 485.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.5553, allocations: 3.614 MB / 489.4 MB, free: 8.34 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/0.5556, allocations: 142.3 kB / 489.6 MB, free: 8.145 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/2.175, allocations: 0 / 489.6 MB, free: 8.145 MB / 362.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)