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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.004787/0.004787, allocations: 173.8 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.004574/0.004574, allocations: 0.9884 MB / 16.84 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.213/1.213, allocations: 223.2 MB / 241 MB, free: 8.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008205/0.0008205, allocations: 101.7 kB / 292.4 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.0003101, allocations: 8 kB / 353.6 MB, free: 12.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2026, allocations: 50.61 MB / 404.2 MB, free: 31.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09141/0.294, allocations: 79.38 MB / 483.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.2944, allocations: 72.56 kB / 483.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01919/0.3136, allocations: 7.141 MB / 490.8 MB, free: 8.363 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3136, allocations: 0 / 490.8 MB, free: 8.363 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.3136, allocations: 0 / 490.8 MB, free: 8.363 MB / 362.7 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.0005936/0.3142, allocations: 451.2 kB / 491.3 MB, free: 7.875 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.3143, allocations: 8.031 kB / 491.3 MB, free: 7.867 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.564e-05/0.3143, allocations: 113.8 kB / 491.4 MB, free: 7.746 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/0.3144, allocations: 75.28 kB / 491.4 MB, free: 7.672 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.3145, allocations: 250.2 kB / 491.7 MB, free: 7.387 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.914e-05/0.3146, allocations: 150.6 kB / 491.8 MB, free: 7.238 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.748e-05/0.3146, allocations: 158.5 kB / 492 MB, free: 7.082 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.289e-05/0.3147, allocations: 104.9 kB / 492.1 MB, free: 6.973 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.3147, allocations: 75.28 kB / 492.2 MB, free: 6.898 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.436e-05/0.3148, allocations: 150.6 kB / 492.3 MB, free: 6.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.032e-05/0.3149, allocations: 150.6 kB / 492.5 MB, free: 6.602 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.405e-05/0.3149, allocations: 158.5 kB / 492.6 MB, free: 6.445 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.3152, allocations: 449.9 kB / 493.1 MB, free: 5.957 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.757e-05/0.3153, allocations: 169.1 kB / 493.2 MB, free: 5.781 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.3153, allocations: 75.28 kB / 493.3 MB, free: 5.707 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.3153, allocations: 117.8 kB / 493.4 MB, free: 5.582 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.3153, allocations: 0 / 493.4 MB, free: 5.582 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.925e-05/0.3154, allocations: 40.72 kB / 493.4 MB, free: 5.539 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.3155, allocations: 126.7 kB / 493.6 MB, free: 5.402 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.431e-05/0.3156, allocations: 97 kB / 493.7 MB, free: 5.301 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.667e-06/0.3156, allocations: 25.7 kB / 493.7 MB, free: 5.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/0.3156, allocations: 92.06 kB / 493.8 MB, free: 5.176 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.763e-06/0.3156, allocations: 0 / 493.8 MB, free: 5.176 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.3156, allocations: 0 / 493.8 MB, free: 5.176 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.129e-05/0.3157, allocations: 314.8 kB / 494.1 MB, free: 4.859 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.316e-06/0.3157, allocations: 0 / 494.1 MB, free: 4.859 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.594e-06/0.3157, allocations: 0 / 494.1 MB, free: 4.859 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.318e-05/0.3158, allocations: 75.28 kB / 494.2 MB, free: 4.785 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.606e-05/0.3158, allocations: 75.28 kB / 494.2 MB, free: 4.711 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.303e-05/0.3159, allocations: 37.64 kB / 494.3 MB, free: 4.668 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/0.3159, allocations: 80.53 kB / 494.4 MB, free: 4.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.674e-05/0.3159, allocations: 79.28 kB / 494.4 MB, free: 4.512 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.681e-05/0.316, allocations: 158.5 kB / 494.6 MB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.214e-05/0.316, allocations: 79.27 kB / 494.7 MB, free: 4.277 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.788e-05/0.3161, allocations: 154.6 kB / 494.8 MB, free: 4.125 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.409e-05/0.3162, allocations: 87.22 kB / 494.9 MB, free: 4.039 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.3162, allocations: 75.28 kB / 495 MB, free: 3.965 MB / 362.7 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 0.000104/0.3163, allocations: 264.4 kB / 495.2 MB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.3164, allocations: 108.9 kB / 495.3 MB, free: 3.582 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.741e-05/0.3164, allocations: 108.1 kB / 495.4 MB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.301e-05/0.3165, allocations: 176.3 kB / 495.6 MB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.77e-05/0.3165, allocations: 184.1 kB / 495.8 MB, free: 3.102 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-05/0.3166, allocations: 184.2 kB / 496 MB, free: 2.914 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.3168, allocations: 409.2 kB / 496.4 MB, free: 2.457 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.478e-05/0.3168, allocations: 105.2 kB / 496.5 MB, free: 2.348 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.761e-05/0.3169, allocations: 101 kB / 496.6 MB, free: 2.242 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.36e-05/0.3169, allocations: 192.2 kB / 496.8 MB, free: 2.047 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.882e-05/0.317, allocations: 176.3 kB / 496.9 MB, free: 1.867 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.828e-05/0.317, allocations: 188.2 kB / 497.1 MB, free: 1.676 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.594e-05/0.3171, allocations: 176.3 kB / 497.3 MB, free: 1.496 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.3172, allocations: 315.7 kB / 497.6 MB, free: 1.164 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.381e-05/0.3173, allocations: 182 kB / 497.8 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.635e-05/0.3174, allocations: 188.6 kB / 498 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.861e-05/0.3174, allocations: 101 kB / 498.1 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.834e-05/0.3175, allocations: 180.2 kB / 498.2 MB, free: 492 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.528e-05/0.3176, allocations: 108.9 kB / 498.3 MB, free: 376 kB / 362.7 MB Notification: Performance of sorting global known variables: time 4.535e-05/0.3176, allocations: 83.28 kB / 498.4 MB, free: 292 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3176, allocations: 0 / 498.4 MB, free: 292 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006303/0.3182, allocations: 175.8 kB / 498.6 MB, free: 116 kB / 362.7 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.001496/0.3198, allocations: 1.254 MB / 499.8 MB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 3.678e-05/0.3198, allocations: 0 / 499.8 MB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3198, allocations: 0 / 499.8 MB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.3198, allocations: 0 / 499.8 MB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.3201, allocations: 0.5224 MB / 0.4886 GB, free: 14.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000808/0.3209, allocations: 0.6341 MB / 0.4893 GB, free: 13.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.3211, allocations: 0.677 MB / 0.4899 GB, free: 13 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.046e-05/0.3212, allocations: 0 / 0.4899 GB, free: 13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.3212, allocations: 19.5 kB / 0.4899 GB, free: 12.98 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.3212, allocations: 0 / 0.4899 GB, free: 12.98 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01722/0.3384, allocations: 3.933 MB / 0.4938 GB, free: 9.141 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/0.3387, allocations: 199.7 kB / 0.494 GB, free: 8.895 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.479/1.818, allocations: 0 / 0.494 GB, free: 8.895 MB / 378.7 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/linux/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)