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-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.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.00124/0.00124, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.001287/0.001287, allocations: 192.2 kB / 16.14 MB, free: 6.691 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.261/1.261, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006/0.006, allocations: 1.005 MB / 291 MB, free: 1.477 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 63.89 kB / 351.5 MB, free: 2.25 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07584/0.07695, allocations: 49.65 MB / 401.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.1319/0.2089, allocations: 1.259 MB / 402.4 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002568/0.2115, allocations: 2.051 MB / 404.4 MB, free: 8.766 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.213e-05/0.2115, allocations: 0 / 404.4 MB, free: 8.766 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.685e-05/0.2116, allocations: 4.359 kB / 404.5 MB, free: 8.766 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/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.001034/0.2126, allocations: 344.4 kB / 404.8 MB, free: 8.609 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.505e-06/0.2126, allocations: 0 / 404.8 MB, free: 8.609 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 3.096e-05/0.2126, allocations: 8.594 kB / 404.8 MB, free: 8.605 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.381e-05/0.2127, allocations: 2.5 kB / 404.8 MB, free: 8.605 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.55e-05/0.2127, allocations: 10.09 kB / 404.8 MB, free: 8.598 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02136/0.2341, allocations: 8.828 kB / 404.8 MB, free: 8.598 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.2341, allocations: 1.562 kB / 404.8 MB, free: 8.598 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009947/0.2351, allocations: 446.4 kB / 405.3 MB, free: 8.457 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.404e-06/0.2351, allocations: 6.828 kB / 405.3 MB, free: 8.453 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.264e-05/0.2352, allocations: 6.125 kB / 405.3 MB, free: 8.449 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006388/0.2358, allocations: 343.3 kB / 405.6 MB, free: 8.344 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2358, allocations: 0 / 405.6 MB, free: 8.344 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.2358, allocations: 1.188 kB / 405.6 MB, free: 8.344 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.2358, allocations: 0.6875 kB / 405.6 MB, free: 8.344 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.0003771/0.2362, allocations: 406 kB / 406 MB, free: 7.945 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.2363, allocations: 10 kB / 406 MB, free: 7.945 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.228e-05/0.2363, allocations: 114 kB / 406.1 MB, free: 7.824 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.2363, allocations: 84.81 kB / 406.2 MB, free: 7.742 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.243e-05/0.2364, allocations: 249.7 kB / 406.4 MB, free: 7.465 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.2365, allocations: 154.9 kB / 406.6 MB, free: 7.312 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.2365, allocations: 155 kB / 406.7 MB, free: 7.16 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 2.976e-05/0.2365, allocations: 101.9 kB / 406.8 MB, free: 7.055 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2365, allocations: 81.2 kB / 406.9 MB, free: 6.977 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.2366, allocations: 150.6 kB / 407.1 MB, free: 6.828 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.2366, allocations: 150.6 kB / 407.2 MB, free: 6.68 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.944e-05/0.2366, allocations: 156.6 kB / 407.4 MB, free: 6.527 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.2367, allocations: 449.4 kB / 407.8 MB, free: 6.043 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.594e-05/0.2368, allocations: 170.9 kB / 408 MB, free: 5.867 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.256e-05/0.2368, allocations: 81.17 kB / 408.1 MB, free: 5.785 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.2368, allocations: 75.28 kB / 408.1 MB, free: 5.711 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.2368, allocations: 115.2 kB / 408.2 MB, free: 5.594 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/0.2369, allocations: 4 kB / 408.3 MB, free: 5.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 5.69e-05/0.2369, allocations: 31.91 kB / 408.3 MB, free: 5.555 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.2369, allocations: 128.6 kB / 408.4 MB, free: 5.418 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.059e-05/0.237, allocations: 103.1 kB / 408.5 MB, free: 5.316 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.037e-06/0.237, allocations: 25.7 kB / 408.5 MB, free: 5.285 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.563e-05/0.2371, allocations: 84.16 kB / 408.6 MB, free: 5.199 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.282e-06/0.2371, allocations: 1.531 kB / 408.6 MB, free: 5.199 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.603e-05/0.2371, allocations: 11.11 kB / 408.6 MB, free: 5.184 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.433e-05/0.2371, allocations: 316.2 kB / 408.9 MB, free: 4.867 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.367e-06/0.2371, allocations: 1.219 kB / 408.9 MB, free: 4.867 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.204e-06/0.2371, allocations: 0 / 408.9 MB, free: 4.867 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.816e-06/0.2371, allocations: 75.28 kB / 409 MB, free: 4.793 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.2372, allocations: 76.47 kB / 409.1 MB, free: 4.719 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.589e-05/0.2372, allocations: 40.7 kB / 409.1 MB, free: 4.676 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.2372, allocations: 81.48 kB / 409.2 MB, free: 4.602 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.2372, allocations: 80.11 kB / 409.3 MB, free: 4.527 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.2373, allocations: 163.6 kB / 409.4 MB, free: 4.367 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.296e-06/0.2373, allocations: 77.83 kB / 409.5 MB, free: 4.293 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/0.2373, allocations: 151.7 kB / 409.7 MB, free: 4.145 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.171e-05/0.2374, allocations: 80.28 kB / 409.7 MB, free: 4.066 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.2374, allocations: 77.86 kB / 409.8 MB, free: 3.992 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.253e-05/0.2374, allocations: 269.2 kB / 410.1 MB, free: 3.719 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.2375, allocations: 106.8 kB / 410.2 MB, free: 3.609 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.039e-05/0.2375, allocations: 106.5 kB / 410.3 MB, free: 3.496 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/0.2375, allocations: 182.2 kB / 410.5 MB, free: 3.312 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-05/0.2375, allocations: 182.1 kB / 410.6 MB, free: 3.129 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-05/0.2376, allocations: 182.3 kB / 410.8 MB, free: 2.945 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.2377, allocations: 410.3 kB / 411.2 MB, free: 2.492 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/0.2377, allocations: 107.3 kB / 411.3 MB, free: 2.383 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.244e-05/0.2377, allocations: 102.4 kB / 411.4 MB, free: 2.277 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-05/0.2377, allocations: 185.3 kB / 411.6 MB, free: 2.09 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.2378, allocations: 178.9 kB / 411.8 MB, free: 1.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.86e-05/0.2378, allocations: 185.1 kB / 412 MB, free: 1.723 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.841e-05/0.2378, allocations: 182.5 kB / 412.1 MB, free: 1.539 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.812e-05/0.2379, allocations: 309.9 kB / 412.4 MB, free: 1.219 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.338e-05/0.2379, allocations: 180.4 kB / 412.6 MB, free: 1.02 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.2379, allocations: 182 kB / 412.8 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.775e-05/0.238, allocations: 105.6 kB / 412.9 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.24e-05/0.238, allocations: 182 kB / 413.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.238, allocations: 107.6 kB / 413.2 MB, free: 448 kB / 286.1 MB Notification: Performance of sorting global known variables: time 2.699e-05/0.2381, allocations: 85.73 kB / 413.3 MB, free: 368 kB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2381, allocations: 0 / 413.3 MB, free: 368 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004849/0.2386, allocations: 129.4 kB / 413.4 MB, free: 336 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.001091/0.2396, allocations: 1.199 MB / 414.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 2.566e-05/0.2397, allocations: 3.938 kB / 414.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2397, allocations: 1 kB / 414.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.2397, allocations: 0 / 414.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.24, allocations: 0.5213 MB / 415.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009822/0.241, allocations: 1.628 MB / 416.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001621/0.2412, allocations: 0.673 MB / 417.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.726e-06/0.2412, allocations: 6.5 kB / 417.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.577e-05/0.2412, allocations: 14.44 kB / 417.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2412, allocations: 0 / 417.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1916/0.4328, allocations: 3.824 MB / 421.3 MB, free: 12.05 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/0.4331, allocations: 227 kB / 421.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/2.2, allocations: 1.25 kB / 421.5 MB, free: 11.79 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/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)