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.001025/0.001025, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001079/0.001079, allocations: 193.5 kB / 16.14 MB, free: 6.703 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.232/1.232, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.005916/0.005916, allocations: 1.004 MB / 291 MB, free: 1.477 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 59.91 kB / 351.5 MB, free: 2.258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07512/0.07627, allocations: 49.66 MB / 401.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.1299/0.2062, allocations: 1.268 MB / 402.4 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002418/0.2086, allocations: 2.102 MB / 404.5 MB, free: 8.746 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.108e-05/0.2087, allocations: 0 / 404.5 MB, free: 8.746 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.843e-05/0.2087, allocations: 0 / 404.5 MB, free: 8.746 MB / 286.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 ‘Modelica.Utilities.Streams.readLine‘. [/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.0008416/0.2096, allocations: 382.4 kB / 404.9 MB, free: 8.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.214e-06/0.2096, allocations: 0 / 404.9 MB, free: 8.57 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 2.855e-05/0.2096, allocations: 10.17 kB / 404.9 MB, free: 8.566 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.836e-05/0.2096, allocations: 1.688 kB / 404.9 MB, free: 8.566 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.328e-05/0.2097, allocations: 7 kB / 404.9 MB, free: 8.562 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.2098, allocations: 11.88 kB / 404.9 MB, free: 8.559 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.512e-06/0.2098, allocations: 0 / 404.9 MB, free: 8.559 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005606/0.2103, allocations: 469.6 kB / 405.4 MB, free: 8.41 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.993e-06/0.2104, allocations: 2.484 kB / 405.4 MB, free: 8.41 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.489e-05/0.2104, allocations: 14.3 kB / 405.4 MB, free: 8.398 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004531/0.2108, allocations: 377.5 kB / 405.8 MB, free: 8.277 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.2109, allocations: 1.75 kB / 405.8 MB, free: 8.277 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.2109, allocations: 0 / 405.8 MB, free: 8.277 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.866e-06/0.2109, allocations: 4 kB / 405.8 MB, free: 8.273 MB / 286.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.0003021/0.2112, allocations: 424.3 kB / 406.2 MB, free: 7.859 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2112, allocations: 9.438 kB / 406.2 MB, free: 7.859 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.255e-05/0.2112, allocations: 106 kB / 406.3 MB, free: 7.746 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.2113, allocations: 78.22 kB / 406.4 MB, free: 7.672 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.444e-05/0.2114, allocations: 242.2 kB / 406.6 MB, free: 7.402 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.2114, allocations: 154.9 kB / 406.8 MB, free: 7.25 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.2114, allocations: 159.8 kB / 406.9 MB, free: 7.094 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.036e-05/0.2115, allocations: 106.1 kB / 407 MB, free: 6.984 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2115, allocations: 75.28 kB / 407.1 MB, free: 6.91 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.2115, allocations: 151.7 kB / 407.2 MB, free: 6.762 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.2115, allocations: 150.6 kB / 407.4 MB, free: 6.613 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.678e-05/0.2115, allocations: 155.7 kB / 407.5 MB, free: 6.461 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/0.2117, allocations: 455.4 kB / 408 MB, free: 5.973 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.431e-05/0.2117, allocations: 170.1 kB / 408.1 MB, free: 5.797 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.212e-05/0.2117, allocations: 81.67 kB / 408.2 MB, free: 5.715 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.2118, allocations: 79.28 kB / 408.3 MB, free: 5.637 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.2118, allocations: 107.8 kB / 408.4 MB, free: 5.523 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.2118, allocations: 0 / 408.4 MB, free: 5.523 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 5.826e-05/0.2118, allocations: 39 kB / 408.4 MB, free: 5.484 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/0.2119, allocations: 126.7 kB / 408.6 MB, free: 5.348 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.736e-05/0.2119, allocations: 105.8 kB / 408.7 MB, free: 5.246 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.028e-06/0.212, allocations: 25.7 kB / 408.7 MB, free: 5.215 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.509e-05/0.212, allocations: 85.34 kB / 408.8 MB, free: 5.129 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-06/0.212, allocations: 0 / 408.8 MB, free: 5.129 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.619e-05/0.212, allocations: 11.3 kB / 408.8 MB, free: 5.113 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.196e-05/0.212, allocations: 316.6 kB / 409.1 MB, free: 4.797 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.276e-06/0.212, allocations: 1.156 kB / 409.1 MB, free: 4.797 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.585e-06/0.2121, allocations: 1.078 kB / 409.1 MB, free: 4.797 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.397e-06/0.2121, allocations: 82.03 kB / 409.2 MB, free: 4.719 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.2121, allocations: 80.38 kB / 409.3 MB, free: 4.641 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.736e-05/0.2121, allocations: 44.69 kB / 409.3 MB, free: 4.594 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.2122, allocations: 80.34 kB / 409.4 MB, free: 4.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2122, allocations: 77.38 kB / 409.5 MB, free: 4.445 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.2122, allocations: 151.8 kB / 409.6 MB, free: 4.297 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.789e-06/0.2122, allocations: 81.44 kB / 409.7 MB, free: 4.219 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.2122, allocations: 150.6 kB / 409.8 MB, free: 4.07 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.222e-05/0.2123, allocations: 81.16 kB / 409.9 MB, free: 3.992 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.2123, allocations: 81.61 kB / 410 MB, free: 3.914 MB / 286.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 4.575e-05/0.2124, allocations: 266.5 kB / 410.3 MB, free: 3.645 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.2124, allocations: 102.1 kB / 410.4 MB, free: 3.539 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.228e-05/0.2124, allocations: 111.9 kB / 410.5 MB, free: 3.422 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.2124, allocations: 177.3 kB / 410.6 MB, free: 3.242 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.817e-05/0.2125, allocations: 190.4 kB / 410.8 MB, free: 3.051 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.666e-05/0.2125, allocations: 181.5 kB / 411 MB, free: 2.867 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.2126, allocations: 402.8 kB / 411.4 MB, free: 2.422 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.2126, allocations: 107.2 kB / 411.5 MB, free: 2.312 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.128e-05/0.2126, allocations: 102.9 kB / 411.6 MB, free: 2.207 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.865e-05/0.2127, allocations: 189.3 kB / 411.8 MB, free: 2.016 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.2127, allocations: 182.5 kB / 412 MB, free: 1.832 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.771e-05/0.2127, allocations: 178.4 kB / 412.1 MB, free: 1.652 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.802e-05/0.2127, allocations: 181.6 kB / 412.3 MB, free: 1.469 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.231e-05/0.2128, allocations: 314.1 kB / 412.6 MB, free: 1.145 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/0.2128, allocations: 179.1 kB / 412.8 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.2128, allocations: 182.4 kB / 413 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.992e-05/0.2129, allocations: 106.2 kB / 413.1 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/0.2129, allocations: 178.8 kB / 413.3 MB, free: 488 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.2129, allocations: 109.9 kB / 413.4 MB, free: 372 kB / 286.1 MB Notification: Performance of sorting global known variables: time 2.678e-05/0.213, allocations: 87.16 kB / 413.4 MB, free: 292 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.213, allocations: 0 / 413.4 MB, free: 292 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004285/0.2134, allocations: 142.4 kB / 413.6 MB, free: 252 kB / 286.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.001167/0.2146, allocations: 1.219 MB / 414.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 2.824e-05/0.2146, allocations: 5.031 kB / 414.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.2146, allocations: 0 / 414.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.933e-06/0.2146, allocations: 1.156 kB / 414.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.215, allocations: 0.5278 MB / 415.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.216, allocations: 1.653 MB / 417 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001783/0.2162, allocations: 0.6734 MB / 417.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.147e-06/0.2162, allocations: 1.922 kB / 417.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.2163, allocations: 23.02 kB / 417.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2163, allocations: 0 / 417.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1624/0.3787, allocations: 4.041 MB / 421.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/0.3789, allocations: 221.6 kB / 421.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/2.264, allocations: 4 kB / 421.9 MB, free: 11.66 MB / 302.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)