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: translateModel(KeyWordIO.Examples.ReadReal_m,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadReal_m") translateModel(KeyWordIO.Examples.ReadReal_m,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadReal_m") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005403/0.005404, allocations: 170.6 kB / 15.11 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.00465/0.00465, allocations: 0.9942 MB / 16.84 MB, free: 5.086 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.227/1.227, allocations: 223.2 MB / 241 MB, free: 8.871 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.0008512/0.0008512, allocations: 98.34 kB / 292.4 MB, free: 9.602 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002936/0.0002936, allocations: 8 kB / 353.5 MB, free: 12.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2063, allocations: 50.61 MB / 404.1 MB, free: 31.12 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08982/0.2962, allocations: 79.39 MB / 483.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001897/0.2964, allocations: 67.97 kB / 483.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01899/0.3154, allocations: 7.425 MB / 491 MB, free: 8.133 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3154, allocations: 4 kB / 491 MB, free: 8.129 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.3154, allocations: 0 / 491 MB, free: 8.129 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.0004324/0.3159, allocations: 447.2 kB / 491.4 MB, free: 7.645 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.3159, allocations: 11.97 kB / 491.5 MB, free: 7.633 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.692e-05/0.316, allocations: 79.28 kB / 491.5 MB, free: 7.555 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.3161, allocations: 246.2 kB / 491.8 MB, free: 7.273 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.915e-05/0.3162, allocations: 150.6 kB / 491.9 MB, free: 7.125 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.703e-05/0.3163, allocations: 158.5 kB / 492.1 MB, free: 6.969 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.463e-05/0.3163, allocations: 104.9 kB / 492.2 MB, free: 6.859 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.3163, allocations: 79.23 kB / 492.3 MB, free: 6.781 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.025e-05/0.3164, allocations: 150.6 kB / 492.4 MB, free: 6.633 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.832e-05/0.3165, allocations: 154.6 kB / 492.6 MB, free: 6.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.73e-05/0.3165, allocations: 154.6 kB / 492.7 MB, free: 6.328 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002595/0.3168, allocations: 445.9 kB / 493.1 MB, free: 5.844 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.646e-05/0.3169, allocations: 173.1 kB / 493.3 MB, free: 5.664 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.3169, allocations: 79.28 kB / 493.4 MB, free: 5.586 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.3169, allocations: 109.8 kB / 493.5 MB, free: 5.469 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.3169, allocations: 0 / 493.5 MB, free: 5.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 6.729e-05/0.317, allocations: 32.78 kB / 493.5 MB, free: 5.434 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.3171, allocations: 130.7 kB / 493.7 MB, free: 5.293 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.48e-05/0.3172, allocations: 97 kB / 493.8 MB, free: 5.191 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.3172, allocations: 25.7 kB / 493.8 MB, free: 5.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.011e-05/0.3172, allocations: 80.14 kB / 493.9 MB, free: 5.078 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.462e-06/0.3172, allocations: 0 / 493.9 MB, free: 5.078 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.3172, allocations: 8 kB / 493.9 MB, free: 5.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3174, allocations: 318.8 kB / 494.2 MB, free: 4.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.467e-06/0.3174, allocations: 3.938 kB / 494.2 MB, free: 4.746 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-06/0.3174, allocations: 0 / 494.2 MB, free: 4.746 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.684e-05/0.3174, allocations: 75.28 kB / 494.3 MB, free: 4.672 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.139e-05/0.3174, allocations: 75.28 kB / 494.3 MB, free: 4.598 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.521e-05/0.3175, allocations: 29.7 kB / 494.4 MB, free: 4.562 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.3175, allocations: 79.28 kB / 494.4 MB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/0.3176, allocations: 83.22 kB / 494.5 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.576e-05/0.3176, allocations: 154.6 kB / 494.7 MB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.274e-05/0.3177, allocations: 75.28 kB / 494.7 MB, free: 4.176 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.649e-05/0.3177, allocations: 166.5 kB / 494.9 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.467e-05/0.3178, allocations: 79.28 kB / 495 MB, free: 3.934 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/0.3178, allocations: 87.41 kB / 495.1 MB, free: 3.848 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.0001077/0.3179, allocations: 264.3 kB / 495.3 MB, free: 3.578 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.318, allocations: 101 kB / 495.4 MB, free: 3.473 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.853e-05/0.318, allocations: 108.1 kB / 495.5 MB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.707e-05/0.3181, allocations: 188.2 kB / 495.7 MB, free: 3.168 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.184e-05/0.3182, allocations: 180.3 kB / 495.9 MB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.903e-05/0.3182, allocations: 188.2 kB / 496.1 MB, free: 2.793 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.3185, allocations: 405.2 kB / 496.5 MB, free: 2.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.371e-05/0.3185, allocations: 101 kB / 496.6 MB, free: 2.234 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.123e-05/0.3185, allocations: 108.9 kB / 496.7 MB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.258e-05/0.3186, allocations: 176.3 kB / 496.8 MB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-05/0.3187, allocations: 184.2 kB / 497 MB, free: 1.754 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.222e-05/0.3187, allocations: 180.3 kB / 497.2 MB, free: 1.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.714e-05/0.3188, allocations: 180.3 kB / 497.4 MB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.3189, allocations: 307.7 kB / 497.7 MB, free: 1.062 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.488e-05/0.319, allocations: 193.9 kB / 497.9 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.12e-05/0.3191, allocations: 184.7 kB / 498 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.799e-05/0.3191, allocations: 105 kB / 498.1 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.51e-05/0.3192, allocations: 180.2 kB / 498.3 MB, free: 376 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.3192, allocations: 105 kB / 498.4 MB, free: 264 kB / 362.7 MB Notification: Performance of sorting global known variables: time 4.699e-05/0.3193, allocations: 83.28 kB / 498.5 MB, free: 180 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3193, allocations: 0 / 498.5 MB, free: 180 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005005/0.3198, allocations: 175.8 kB / 498.7 MB, free: 4 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.000998/0.3208, allocations: 0.6146 MB / 499.3 MB, free: 15.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 3.45e-05/0.3209, allocations: 12 kB / 499.3 MB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3209, allocations: 0 / 499.3 MB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.3209, allocations: 0 / 499.3 MB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.3212, allocations: 0.5185 MB / 499.8 MB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.3214, allocations: 182 kB / 0.4883 GB, free: 14.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.3216, allocations: 0.6731 MB / 0.4889 GB, free: 14.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.857e-06/0.3217, allocations: 7.938 kB / 0.4889 GB, free: 14.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.763e-05/0.3217, allocations: 15.42 kB / 0.489 GB, free: 14 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3217, allocations: 0 / 0.489 GB, free: 14 MB / 378.7 MB Notification: Performance of Templates: time 0.005409/0.3271, allocations: 3.011 MB / 0.4919 GB, free: 10.98 MB / 378.7 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.makefile (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 & ./KeyWordIO_KeyWordIO.Examples.ReadReal_m -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe 2>&1)