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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007406/0.007406, allocations: 101.4 kB / 15.73 MB, free: 6.043 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.001549/0.001549, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006838/0.006838, allocations: 1.006 MB / 291.5 MB, free: 1.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 60.14 kB / 402.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2958, allocations: 49.64 MB / 452.1 MB, free: 22.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.00207/0.298, allocations: 1.217 MB / 453.3 MB, free: 21.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002626/0.3006, allocations: 2.073 MB / 455.4 MB, free: 19.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.605e-05/0.3007, allocations: 0 / 455.4 MB, free: 19.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.196e-05/0.3007, allocations: 0 / 455.4 MB, free: 19.8 MB / 350.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/readReal_m.mo:2:1-79:15:writable] Warning: Pure function 'KeyWordIO.readReal_m' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.00122/0.3019, allocations: 497.2 kB / 455.9 MB, free: 19.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.998e-06/0.3019, allocations: 0 / 455.9 MB, free: 19.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.939e-05/0.302, allocations: 16.88 kB / 455.9 MB, free: 19.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.302, allocations: 3.062 kB / 455.9 MB, free: 19.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.656e-05/0.3021, allocations: 7 kB / 455.9 MB, free: 19.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003812/0.3024, allocations: 14.61 kB / 455.9 MB, free: 19.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.875e-06/0.3025, allocations: 3 kB / 455.9 MB, free: 19.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005954/0.3031, allocations: 0.5131 MB / 456.4 MB, free: 19.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.523e-06/0.3031, allocations: 0 / 456.4 MB, free: 19.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.3031, allocations: 14.94 kB / 456.4 MB, free: 19.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004255/0.3035, allocations: 369.2 kB / 456.8 MB, free: 19.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3035, allocations: 0 / 456.8 MB, free: 19.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3036, allocations: 4 kB / 456.8 MB, free: 19.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.3036, allocations: 3.859 kB / 456.8 MB, free: 19.27 MB / 350.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.0003487/0.3039, allocations: 420.1 kB / 457.2 MB, free: 18.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.304, allocations: 10.06 kB / 457.2 MB, free: 18.86 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.645e-05/0.304, allocations: 106 kB / 457.3 MB, free: 18.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.3041, allocations: 80.12 kB / 457.4 MB, free: 18.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.3042, allocations: 250.2 kB / 457.7 MB, free: 18.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.3042, allocations: 158.4 kB / 457.8 MB, free: 18.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.3042, allocations: 158.5 kB / 458 MB, free: 18.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.226e-05/0.3043, allocations: 101 kB / 458.1 MB, free: 17.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/0.3043, allocations: 75.28 kB / 458.1 MB, free: 17.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.3043, allocations: 154.5 kB / 458.3 MB, free: 17.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.784e-05/0.3044, allocations: 150.6 kB / 458.4 MB, free: 17.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.758e-05/0.3044, allocations: 158.1 kB / 458.6 MB, free: 17.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/0.3046, allocations: 449.4 kB / 459 MB, free: 16.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.62e-05/0.3046, allocations: 172.4 kB / 459.2 MB, free: 16.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.519e-05/0.3047, allocations: 80.14 kB / 459.3 MB, free: 16.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.3047, allocations: 79.28 kB / 459.4 MB, free: 16.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.3047, allocations: 105.8 kB / 459.5 MB, free: 16.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.3047, allocations: 0 / 459.5 MB, free: 16.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.009e-05/0.3048, allocations: 36.83 kB / 459.5 MB, free: 16.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.3048, allocations: 129.7 kB / 459.6 MB, free: 16.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.346e-05/0.3049, allocations: 103.4 kB / 459.7 MB, free: 16.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.939e-06/0.3049, allocations: 25.7 kB / 459.7 MB, free: 16.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.13e-05/0.3049, allocations: 87.11 kB / 459.8 MB, free: 16.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.522e-06/0.3049, allocations: 0 / 459.8 MB, free: 16.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.504e-05/0.305, allocations: 9.719 kB / 459.8 MB, free: 16.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.48e-05/0.305, allocations: 313.9 kB / 460.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.599e-06/0.305, allocations: 0 / 460.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.997e-06/0.305, allocations: 8.047 kB / 460.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.346e-05/0.3051, allocations: 75.28 kB / 460.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.958e-06/0.3051, allocations: 75.28 kB / 460.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.017e-05/0.3051, allocations: 44.16 kB / 460.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.3051, allocations: 81.81 kB / 460.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.3052, allocations: 75.28 kB / 460.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.335e-05/0.3052, allocations: 150.6 kB / 460.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.199e-05/0.3052, allocations: 86.03 kB / 460.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.926e-05/0.3052, allocations: 150.6 kB / 460.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.445e-05/0.3053, allocations: 86.75 kB / 461 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.3053, allocations: 86.64 kB / 461 MB, free: 14.91 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 5.8e-05/0.3054, allocations: 261.9 kB / 461.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.3054, allocations: 112.8 kB / 461.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/0.3055, allocations: 110.7 kB / 461.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.113e-05/0.3055, allocations: 176.3 kB / 461.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.255e-05/0.3056, allocations: 188.2 kB / 461.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.142e-05/0.3056, allocations: 179.5 kB / 462.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.3058, allocations: 407.8 kB / 462.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/0.3058, allocations: 101 kB / 462.6 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.843e-05/0.3058, allocations: 108.9 kB / 462.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.279e-05/0.3058, allocations: 191.2 kB / 462.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.3059, allocations: 180.3 kB / 463 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.821e-05/0.3059, allocations: 180.2 kB / 463.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.26e-05/0.3059, allocations: 176.3 kB / 463.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.86e-05/0.306, allocations: 318.1 kB / 463.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.919e-05/0.306, allocations: 178.1 kB / 463.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.3061, allocations: 183.8 kB / 464 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.936e-05/0.3061, allocations: 104.8 kB / 464.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.3062, allocations: 180.3 kB / 464.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.3062, allocations: 104.9 kB / 464.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.098e-05/0.3062, allocations: 89.61 kB / 464.5 MB, free: 11.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3062, allocations: 0 / 464.5 MB, free: 11.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000489/0.3067, allocations: 138.4 kB / 464.6 MB, free: 11.24 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.0011/0.3078, allocations: 1.214 MB / 465.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.558e-05/0.3079, allocations: 7.188 kB / 465.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3079, allocations: 0 / 465.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.3079, allocations: 0 / 465.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.3082, allocations: 466.4 kB / 466.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000917/0.3091, allocations: 1.651 MB / 468 MB, free: 8.219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.3092, allocations: 0.6788 MB / 468.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.071e-05/0.3093, allocations: 3.219 kB / 468.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.3093, allocations: 14.53 kB / 468.7 MB, free: 7.508 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3093, allocations: 4 kB / 468.7 MB, free: 7.504 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/0.3308, allocations: 4.198 MB / 472.9 MB, free: 6.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.59/7.921, allocations: 3.906 kB / 472.9 MB, free: 6.84 MB / 350.1 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/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)