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.12.0/package.mo", uses=false) Using package KeyWordIO with version 0.12.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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.001338/0.001338, allocations: 108.1 kB / 15.79 MB, free: 5.527 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.001347/0.001347, allocations: 194.7 kB / 16.72 MB, free: 5.426 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.411/1.411, allocations: 225.6 MB / 243.1 MB, free: 3.703 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo): time 0.006567/0.006567, allocations: 1.013 MB / 297 MB, free: 4.254 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 59.89 kB / 413.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3085, allocations: 52.36 MB / 465.7 MB, free: 26.64 MB / 366.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.001798/0.3103, allocations: 1.204 MB / 466.9 MB, free: 25.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002338/0.3126, allocations: 2.037 MB / 468.9 MB, free: 24.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.956e-05/0.3127, allocations: 0 / 468.9 MB, free: 24.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.878e-05/0.3127, allocations: 0 / 468.9 MB, free: 24.41 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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.12.0/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.00101/0.3137, allocations: 457.5 kB / 469.4 MB, free: 24.22 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.647e-06/0.3137, allocations: 3.312 kB / 469.4 MB, free: 24.22 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.784e-05/0.3137, allocations: 7.25 kB / 469.4 MB, free: 24.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.169e-05/0.3138, allocations: 4 kB / 469.4 MB, free: 24.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.601e-05/0.3138, allocations: 3.188 kB / 469.4 MB, free: 24.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/0.314, allocations: 11.27 kB / 469.4 MB, free: 24.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.354e-06/0.314, allocations: 0 / 469.4 MB, free: 24.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000526/0.3146, allocations: 497.2 kB / 469.9 MB, free: 24.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-06/0.3146, allocations: 0 / 469.9 MB, free: 24.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.489e-05/0.3146, allocations: 11.27 kB / 469.9 MB, free: 24.04 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003611/0.3149, allocations: 350 kB / 470.2 MB, free: 23.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3149, allocations: 0 / 470.2 MB, free: 23.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3149, allocations: 0 / 470.2 MB, free: 23.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.315, allocations: 4 kB / 470.2 MB, free: 23.93 MB / 366.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.0003284/0.3153, allocations: 416 kB / 470.6 MB, free: 23.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.3153, allocations: 9.688 kB / 470.7 MB, free: 23.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.712e-05/0.3153, allocations: 106 kB / 470.8 MB, free: 23.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.3154, allocations: 86.59 kB / 470.8 MB, free: 23.33 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.3155, allocations: 238.8 kB / 471.1 MB, free: 23.06 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.3155, allocations: 150.9 kB / 471.2 MB, free: 22.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.3155, allocations: 162.4 kB / 471.4 MB, free: 22.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.675e-05/0.3156, allocations: 104.3 kB / 471.5 MB, free: 22.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.3156, allocations: 75.28 kB / 471.6 MB, free: 22.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.3156, allocations: 150.6 kB / 471.7 MB, free: 22.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.3156, allocations: 161.8 kB / 471.9 MB, free: 22.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.51e-05/0.3156, allocations: 154.6 kB / 472 MB, free: 22.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/0.3158, allocations: 448.4 kB / 472.5 MB, free: 21.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.395e-05/0.3159, allocations: 177 kB / 472.6 MB, free: 21.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.641e-05/0.3159, allocations: 80.14 kB / 472.7 MB, free: 21.37 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.3159, allocations: 79.27 kB / 472.8 MB, free: 21.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.3159, allocations: 109.8 kB / 472.9 MB, free: 21.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.3159, allocations: 0 / 472.9 MB, free: 21.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 6.188e-05/0.316, allocations: 33.02 kB / 472.9 MB, free: 21.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.316, allocations: 130.6 kB / 473 MB, free: 21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.547e-05/0.3161, allocations: 103.5 kB / 473.2 MB, free: 20.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.521e-06/0.3161, allocations: 25.7 kB / 473.2 MB, free: 20.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.598e-05/0.3161, allocations: 80.14 kB / 473.3 MB, free: 20.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.3161, allocations: 4 kB / 473.3 MB, free: 20.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.556e-05/0.3161, allocations: 12.88 kB / 473.3 MB, free: 20.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.368e-05/0.3162, allocations: 318 kB / 473.6 MB, free: 20.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.348e-06/0.3162, allocations: 0 / 473.6 MB, free: 20.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.184e-06/0.3162, allocations: 0 / 473.6 MB, free: 20.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.34e-05/0.3162, allocations: 78.59 kB / 473.7 MB, free: 20.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.3162, allocations: 75.28 kB / 473.7 MB, free: 20.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.22e-05/0.3162, allocations: 29.64 kB / 473.8 MB, free: 20.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3162, allocations: 89.28 kB / 473.8 MB, free: 20.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.3163, allocations: 75.28 kB / 473.9 MB, free: 20.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.79e-05/0.3163, allocations: 157.2 kB / 474.1 MB, free: 19.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.11e-05/0.3163, allocations: 83.27 kB / 474.2 MB, free: 19.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.3163, allocations: 154.6 kB / 474.3 MB, free: 19.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.846e-05/0.3164, allocations: 82.44 kB / 474.4 MB, free: 19.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.3164, allocations: 79.28 kB / 474.5 MB, free: 19.57 MB / 366.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 7.402e-05/0.3165, allocations: 260.3 kB / 474.7 MB, free: 19.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.3165, allocations: 111.6 kB / 474.8 MB, free: 19.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.126e-05/0.3165, allocations: 108 kB / 474.9 MB, free: 19.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/0.3165, allocations: 183.6 kB / 475.1 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.197e-05/0.3166, allocations: 184.2 kB / 475.3 MB, free: 18.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.155e-05/0.3166, allocations: 179.4 kB / 475.5 MB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.3167, allocations: 404.3 kB / 475.9 MB, free: 18.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/0.3167, allocations: 108.2 kB / 476 MB, free: 17.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.303e-05/0.3167, allocations: 101 kB / 476.1 MB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.392e-05/0.3167, allocations: 183.3 kB / 476.2 MB, free: 17.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.3168, allocations: 180.3 kB / 476.4 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.111e-05/0.3168, allocations: 179.7 kB / 476.6 MB, free: 17.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.358e-05/0.3168, allocations: 183.4 kB / 476.8 MB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.09e-05/0.3169, allocations: 310.8 kB / 477.1 MB, free: 16.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.874e-05/0.3169, allocations: 185.4 kB / 477.3 MB, free: 16.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.3169, allocations: 179.6 kB / 477.4 MB, free: 16.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.454e-05/0.317, allocations: 112.9 kB / 477.5 MB, free: 16.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.317, allocations: 184.2 kB / 477.7 MB, free: 16.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.317, allocations: 111.8 kB / 477.8 MB, free: 16.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.419e-05/0.3171, allocations: 78.56 kB / 477.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3171, allocations: 4 kB / 477.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004427/0.3175, allocations: 134.3 kB / 478 MB, free: 15.9 MB / 366.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.001186/0.3187, allocations: 1.19 MB / 479.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 3.822e-05/0.3187, allocations: 3.938 kB / 479.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.3187, allocations: 0 / 479.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.3187, allocations: 0 / 479.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.319, allocations: 461.8 kB / 479.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008747/0.3199, allocations: 1.634 MB / 481.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.481e-05/0.32, allocations: 0.6728 MB / 482 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.001e-05/0.32, allocations: 10.66 kB / 482 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.32, allocations: 14.75 kB / 482 MB, free: 12.18 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.32, allocations: 0 / 482 MB, free: 12.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.3483, allocations: 3.997 MB / 486 MB, free: 11.53 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.986/8.334, allocations: 21.83 kB / 486 MB, free: 11.51 MB / 366.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)