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/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+X/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008808/0.0008808, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.0009067/0.0009067, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.009901/0.009901, allocations: 0.9963 MB / 292 MB, free: 1.184 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002732/0.0002732, allocations: 8 kB / 353.2 MB, free: 2.324 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.246, allocations: 50.62 MB / 403.8 MB, free: 9.809 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.001123/0.2471, allocations: 0.915 MB / 404.7 MB, free: 9.777 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002477/0.2496, allocations: 1.861 MB / 406.6 MB, free: 8.996 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.645e-05/0.2496, allocations: 0.5312 kB / 406.6 MB, free: 8.996 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.206e-05/0.2497, allocations: 4.75 kB / 406.6 MB, free: 8.992 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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+X/readRealParameter.mo:2:1-99:22:writable] Warning: Pure function ‘KeyWordIO.readRealParameter‘ contains a call to impure function ‘KeyWordIO.readLine‘. Notification: Performance of NFTyping.typeBindings: time 0.0008802/0.2505, allocations: 335.2 kB / 406.9 MB, free: 8.855 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.665e-06/0.2506, allocations: 0 / 406.9 MB, free: 8.855 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 3.146e-05/0.2506, allocations: 12.61 kB / 406.9 MB, free: 8.848 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.51e-05/0.2506, allocations: 1.625 kB / 406.9 MB, free: 8.848 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.382e-05/0.2507, allocations: 2.219 kB / 406.9 MB, free: 8.848 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.2509, allocations: 8.578 kB / 406.9 MB, free: 8.844 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.532e-06/0.2509, allocations: 3.938 kB / 406.9 MB, free: 8.84 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005204/0.2514, allocations: 364.5 kB / 407.3 MB, free: 8.742 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.137e-06/0.2514, allocations: 1.031 kB / 407.3 MB, free: 8.742 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.143e-05/0.2514, allocations: 26.73 kB / 407.3 MB, free: 8.711 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003012/0.2518, allocations: 235.4 kB / 407.6 MB, free: 8.645 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.2518, allocations: 5.406 kB / 407.6 MB, free: 8.641 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2518, allocations: 0 / 407.6 MB, free: 8.641 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.2518, allocations: 0 / 407.6 MB, free: 8.641 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.0002937/0.2521, allocations: 407 kB / 408 MB, free: 8.238 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.2521, allocations: 8.812 kB / 408 MB, free: 8.238 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.442e-05/0.2521, allocations: 110.4 kB / 408.1 MB, free: 8.121 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.2522, allocations: 77.38 kB / 408.2 MB, free: 8.047 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.761e-05/0.2523, allocations: 251.9 kB / 408.4 MB, free: 7.766 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.2523, allocations: 150.6 kB / 408.5 MB, free: 7.617 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.2523, allocations: 157.2 kB / 408.7 MB, free: 7.465 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.11e-05/0.2524, allocations: 104.9 kB / 408.8 MB, free: 7.355 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.2524, allocations: 79.28 kB / 408.9 MB, free: 7.277 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.2524, allocations: 150.6 kB / 409 MB, free: 7.129 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.2525, allocations: 157 kB / 409.2 MB, free: 6.977 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.124e-05/0.2525, allocations: 154.5 kB / 409.3 MB, free: 6.824 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001568/0.2526, allocations: 451.2 kB / 409.8 MB, free: 6.34 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.879e-05/0.2527, allocations: 166.4 kB / 409.9 MB, free: 6.168 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.2527, allocations: 79.89 kB / 410 MB, free: 6.09 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.2527, allocations: 108.2 kB / 410.1 MB, free: 5.977 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.2527, allocations: 1.062 kB / 410.1 MB, free: 5.977 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 5.26e-05/0.2528, allocations: 34.5 kB / 410.2 MB, free: 5.938 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.2528, allocations: 126.7 kB / 410.3 MB, free: 5.801 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.403e-05/0.2529, allocations: 103.6 kB / 410.4 MB, free: 5.699 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.001e-06/0.2529, allocations: 31.08 kB / 410.4 MB, free: 5.664 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.863e-05/0.2529, allocations: 84.14 kB / 410.5 MB, free: 5.578 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.372e-06/0.2529, allocations: 0 / 410.5 MB, free: 5.578 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/0.253, allocations: 1.344 kB / 410.5 MB, free: 5.578 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.514e-05/0.253, allocations: 311.9 kB / 410.8 MB, free: 5.266 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.136e-06/0.253, allocations: 0 / 410.8 MB, free: 5.266 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.444e-06/0.253, allocations: 1.344 kB / 410.8 MB, free: 5.266 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.073e-05/0.253, allocations: 75.28 kB / 410.9 MB, free: 5.191 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.253, allocations: 75.98 kB / 410.9 MB, free: 5.117 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.264e-05/0.2531, allocations: 41.56 kB / 411 MB, free: 5.074 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.2531, allocations: 82.78 kB / 411.1 MB, free: 5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.2531, allocations: 81.05 kB / 411.1 MB, free: 4.922 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/0.2532, allocations: 160.9 kB / 411.3 MB, free: 4.766 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.338e-06/0.2532, allocations: 80.44 kB / 411.4 MB, free: 4.688 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.921e-05/0.2532, allocations: 156.7 kB / 411.5 MB, free: 4.535 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.353e-05/0.2533, allocations: 84.02 kB / 411.6 MB, free: 4.453 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.2533, allocations: 76.19 kB / 411.7 MB, free: 4.379 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.108e-05/0.2533, allocations: 260.4 kB / 411.9 MB, free: 4.117 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.215e-05/0.2534, allocations: 108 kB / 412.1 MB, free: 4.008 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.572e-05/0.2534, allocations: 114.5 kB / 412.2 MB, free: 3.887 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/0.2534, allocations: 182.5 kB / 412.3 MB, free: 3.703 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.737e-05/0.2535, allocations: 189.3 kB / 412.5 MB, free: 3.512 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-05/0.2535, allocations: 178.4 kB / 412.7 MB, free: 3.332 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.2536, allocations: 406 kB / 413.1 MB, free: 2.883 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/0.2537, allocations: 102.8 kB / 413.2 MB, free: 2.777 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.531e-05/0.2537, allocations: 102.8 kB / 413.3 MB, free: 2.672 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.497e-05/0.2537, allocations: 187.1 kB / 413.5 MB, free: 2.484 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.2537, allocations: 177.2 kB / 413.7 MB, free: 2.305 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.207e-05/0.2538, allocations: 186.4 kB / 413.8 MB, free: 2.117 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.13e-05/0.2538, allocations: 182.1 kB / 414 MB, free: 1.934 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.602e-05/0.2539, allocations: 310 kB / 414.3 MB, free: 1.613 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.01e-05/0.2539, allocations: 181.5 kB / 414.5 MB, free: 1.414 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.2539, allocations: 186.3 kB / 414.7 MB, free: 1.227 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.226e-05/0.254, allocations: 102.4 kB / 414.8 MB, free: 1.121 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.254, allocations: 181.2 kB / 415 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.2541, allocations: 106.9 kB / 415.1 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.497e-05/0.2541, allocations: 85.31 kB / 415.1 MB, free: 0.75 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2541, allocations: 1.062 kB / 415.1 MB, free: 0.75 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004487/0.2545, allocations: 128.9 kB / 415.3 MB, free: 0.7188 MB / 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 (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.001073/0.2556, allocations: 1.199 MB / 416.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 2.774e-05/0.2557, allocations: 5.125 kB / 416.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.614e-06/0.2557, allocations: 0 / 416.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.2557, allocations: 1.125 kB / 416.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.256, allocations: 0.52 MB / 417 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007126/0.2567, allocations: 0.5887 MB / 417.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.2569, allocations: 0.6789 MB / 418.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.127e-06/0.2569, allocations: 2.375 kB / 418.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.257, allocations: 14.3 kB / 418.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.257, allocations: 0 / 418.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/0.2739, allocations: 3.706 MB / 422 MB, free: 13.58 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002184/0.2741, allocations: 203.1 kB / 422.2 MB, free: 13.34 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/1.992, allocations: 4 kB / 422.2 MB, free: 13.34 MB / 302.1 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) Environment - environmentSimulation: