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.005916/0.005916, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.001588/0.001589, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006046/0.006046, allocations: 1.014 MB / 291.5 MB, free: 13.76 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.78 kB / 402.5 MB, free: 32.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08632/0.08764, allocations: 49.64 MB / 452.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.002421/0.0901, allocations: 1.196 MB / 453.3 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003047/0.09318, allocations: 2.019 MB / 455.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.076e-05/0.09324, allocations: 4 kB / 455.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.186e-05/0.0933, allocations: 7.922 kB / 455.3 MB, free: 11.27 MB / 334.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/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.00158/0.09488, allocations: 454.6 kB / 455.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.659e-06/0.0949, allocations: 0 / 455.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.731e-05/0.09497, allocations: 7.938 kB / 455.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.485e-05/0.09502, allocations: 4 kB / 455.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.905e-05/0.09504, allocations: 0 / 455.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003382/0.09539, allocations: 11.92 kB / 455.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.127e-06/0.09541, allocations: 3.984 kB / 455.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008343/0.09625, allocations: 495.5 kB / 456.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.856e-06/0.09627, allocations: 0 / 456.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.821e-05/0.09629, allocations: 3.938 kB / 456.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006511/0.09695, allocations: 359.4 kB / 456.6 MB, free: 9.961 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.09697, allocations: 0 / 456.6 MB, free: 9.961 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.09697, allocations: 0 / 456.6 MB, free: 9.961 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.09699, allocations: 0 / 456.6 MB, free: 9.961 MB / 334.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.0004572/0.09745, allocations: 402.3 kB / 457 MB, free: 9.523 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.09749, allocations: 8.031 kB / 457 MB, free: 9.516 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.674e-05/0.09756, allocations: 118 kB / 457.2 MB, free: 9.391 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.906e-05/0.09762, allocations: 76.22 kB / 457.2 MB, free: 9.316 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.09778, allocations: 247.6 kB / 457.5 MB, free: 9.035 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.521e-05/0.09785, allocations: 150.9 kB / 457.6 MB, free: 8.887 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.0979, allocations: 158.4 kB / 457.8 MB, free: 8.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.395e-05/0.09797, allocations: 101 kB / 457.9 MB, free: 8.625 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.098, allocations: 79.28 kB / 458 MB, free: 8.547 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.789e-05/0.09805, allocations: 154.5 kB / 458.1 MB, free: 8.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-05/0.0981, allocations: 150.6 kB / 458.3 MB, free: 8.246 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.429e-05/0.09816, allocations: 154.5 kB / 458.4 MB, free: 8.094 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002757/0.09844, allocations: 450 kB / 458.8 MB, free: 7.605 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.848e-05/0.09853, allocations: 177 kB / 459 MB, free: 7.422 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.289e-05/0.09857, allocations: 80.14 kB / 459.1 MB, free: 7.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.0986, allocations: 83.28 kB / 459.2 MB, free: 7.258 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/0.09866, allocations: 109.8 kB / 459.3 MB, free: 7.141 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.09866, allocations: 0 / 459.3 MB, free: 7.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.99e-05/0.09875, allocations: 29.64 kB / 459.3 MB, free: 7.105 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.09881, allocations: 130.7 kB / 459.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.09892, allocations: 101.9 kB / 459.5 MB, free: 6.855 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.09894, allocations: 25.7 kB / 459.6 MB, free: 6.824 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.579e-05/0.09898, allocations: 84.12 kB / 459.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.09899, allocations: 3.938 kB / 459.6 MB, free: 6.734 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/0.09901, allocations: 13.72 kB / 459.7 MB, free: 6.715 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.283e-05/0.09911, allocations: 310.8 kB / 460 MB, free: 6.402 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.038e-06/0.09912, allocations: 7.938 kB / 460 MB, free: 6.395 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.196e-06/0.09913, allocations: 0 / 460 MB, free: 6.395 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.136e-05/0.09916, allocations: 75.28 kB / 460 MB, free: 6.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.473e-05/0.09919, allocations: 79.28 kB / 460.1 MB, free: 6.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.013e-05/0.09925, allocations: 37.69 kB / 460.2 MB, free: 6.199 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.354e-05/0.09929, allocations: 83.22 kB / 460.2 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/0.09932, allocations: 75.28 kB / 460.3 MB, free: 6.043 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.482e-05/0.09938, allocations: 162.5 kB / 460.5 MB, free: 5.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.396e-05/0.09941, allocations: 79.22 kB / 460.6 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.775e-05/0.09946, allocations: 150.6 kB / 460.7 MB, free: 5.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.602e-05/0.09954, allocations: 79.22 kB / 460.8 MB, free: 5.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.09958, allocations: 79.28 kB / 460.9 MB, free: 5.5 MB / 334.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 0.0001061/0.09969, allocations: 265 kB / 461.1 MB, free: 5.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.605e-05/0.09975, allocations: 109 kB / 461.2 MB, free: 5.117 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.088e-05/0.09981, allocations: 112 kB / 461.3 MB, free: 5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.267e-05/0.09987, allocations: 176.3 kB / 461.5 MB, free: 4.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.417e-05/0.09993, allocations: 180.2 kB / 461.7 MB, free: 4.637 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.345e-05/0.09999, allocations: 180.3 kB / 461.9 MB, free: 4.453 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.1002, allocations: 409.2 kB / 462.3 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.12e-05/0.1002, allocations: 104.9 kB / 462.4 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.1003, allocations: 101 kB / 462.5 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.409e-05/0.1003, allocations: 192.2 kB / 462.6 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.509e-05/0.1004, allocations: 180.3 kB / 462.8 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.747e-05/0.1005, allocations: 176.3 kB / 463 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.909e-05/0.1005, allocations: 184.2 kB / 463.2 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.1007, allocations: 311.7 kB / 463.5 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.1007, allocations: 182.5 kB / 463.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.702e-05/0.1008, allocations: 176.3 kB / 463.8 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.559e-05/0.1009, allocations: 108.9 kB / 463.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.101, allocations: 180.3 kB / 464.1 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.929e-05/0.101, allocations: 112.9 kB / 464.2 MB, free: 1.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.349e-05/0.1011, allocations: 83.28 kB / 464.3 MB, free: 1.828 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1011, allocations: 0 / 464.3 MB, free: 1.828 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005086/0.1016, allocations: 135.9 kB / 464.4 MB, free: 1.695 MB / 334.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.001196/0.1028, allocations: 1.188 MB / 465.6 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 4.744e-05/0.1028, allocations: 11.94 kB / 465.6 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.1029, allocations: 4 kB / 465.6 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.1029, allocations: 0 / 465.6 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.1032, allocations: 455.2 kB / 466.1 MB, free: 92 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.1044, allocations: 1.63 MB / 467.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.1046, allocations: 0.6806 MB / 468.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.317e-06/0.1046, allocations: 0 / 468.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.1046, allocations: 15.42 kB / 468.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1046, allocations: 0 / 468.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02065/0.1253, allocations: 3.979 MB / 472.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.363/7.489, allocations: 11.44 kB / 472.4 MB, free: 9.742 MB / 350.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)