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.001961/0.001961, allocations: 172.1 kB / 16.11 MB, free: 5.574 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006955/0.006955, allocations: 0.9825 MB / 17.85 MB, free: 3.852 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.281/1.281, allocations: 223.3 MB / 242.1 MB, free: 8.695 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.0007939/0.0007939, allocations: 104.9 kB / 293.5 MB, free: 9.465 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003401, allocations: 12 kB / 354.8 MB, free: 12.17 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2161, allocations: 50.62 MB / 405.4 MB, free: 30.97 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09493/0.3111, allocations: 79.42 MB / 484.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/0.3114, allocations: 71.97 kB / 484.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01971/0.3311, allocations: 7.376 MB / 492.3 MB, free: 8.008 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3312, allocations: 0 / 492.3 MB, free: 8.008 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.3312, allocations: 0 / 492.3 MB, free: 8.008 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.000514/0.3317, allocations: 439.3 kB / 492.7 MB, free: 7.527 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3318, allocations: 12.03 kB / 492.7 MB, free: 7.516 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.3318, allocations: 80.22 kB / 492.8 MB, free: 7.438 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.332, allocations: 251.6 kB / 493 MB, free: 7.152 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.849e-05/0.332, allocations: 150.9 kB / 493.2 MB, free: 7.004 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.08e-05/0.3321, allocations: 150.9 kB / 493.3 MB, free: 6.855 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.281e-05/0.3321, allocations: 105.5 kB / 493.4 MB, free: 6.746 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/0.3322, allocations: 79.47 kB / 493.5 MB, free: 6.668 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.235e-05/0.3322, allocations: 158.4 kB / 493.7 MB, free: 6.512 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.225e-05/0.3323, allocations: 150.6 kB / 493.8 MB, free: 6.363 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.538e-05/0.3323, allocations: 150.6 kB / 494 MB, free: 6.215 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002529/0.3326, allocations: 449.9 kB / 494.4 MB, free: 5.727 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.899e-05/0.3327, allocations: 181.1 kB / 494.6 MB, free: 5.539 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.024e-05/0.3327, allocations: 84.14 kB / 494.7 MB, free: 5.453 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.3327, allocations: 79.22 kB / 494.7 MB, free: 5.375 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.3328, allocations: 109.8 kB / 494.8 MB, free: 5.258 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/0.3328, allocations: 0 / 494.8 MB, free: 5.258 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 7.275e-05/0.3329, allocations: 36.64 kB / 494.9 MB, free: 5.219 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.3329, allocations: 126.7 kB / 495 MB, free: 5.082 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.954e-05/0.333, allocations: 105.8 kB / 495.1 MB, free: 4.969 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.333, allocations: 25.7 kB / 495.1 MB, free: 4.938 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.3331, allocations: 88.14 kB / 495.2 MB, free: 4.848 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.3331, allocations: 0 / 495.2 MB, free: 4.848 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-06/0.3331, allocations: 0 / 495.2 MB, free: 4.848 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3332, allocations: 314.8 kB / 495.5 MB, free: 4.531 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.638e-06/0.3332, allocations: 4 kB / 495.5 MB, free: 4.527 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.285e-06/0.3332, allocations: 0 / 495.5 MB, free: 4.527 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.623e-05/0.3333, allocations: 75.28 kB / 495.6 MB, free: 4.453 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-05/0.3333, allocations: 75.28 kB / 495.7 MB, free: 4.379 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.078e-05/0.3334, allocations: 29.7 kB / 495.7 MB, free: 4.344 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.571e-05/0.3334, allocations: 79.28 kB / 495.8 MB, free: 4.266 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.078e-05/0.3334, allocations: 87.16 kB / 495.9 MB, free: 4.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.58e-05/0.3335, allocations: 154.5 kB / 496 MB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.616e-05/0.3335, allocations: 79.28 kB / 496.1 MB, free: 3.949 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.643e-05/0.3336, allocations: 162.5 kB / 496.2 MB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.93e-05/0.3337, allocations: 79.28 kB / 496.3 MB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.3337, allocations: 79.22 kB / 496.4 MB, free: 3.633 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.0001008/0.3338, allocations: 256.4 kB / 496.7 MB, free: 3.371 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.061e-05/0.3339, allocations: 109 kB / 496.8 MB, free: 3.258 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.048e-05/0.3339, allocations: 116 kB / 496.9 MB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.448e-05/0.334, allocations: 180.2 kB / 497 MB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.796e-05/0.3341, allocations: 180.3 kB / 497.2 MB, free: 2.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.795e-05/0.3341, allocations: 180.2 kB / 497.4 MB, free: 2.586 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.3344, allocations: 409.2 kB / 497.8 MB, free: 2.129 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.12e-05/0.3344, allocations: 105 kB / 497.9 MB, free: 2.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.145e-05/0.3344, allocations: 109.2 kB / 498 MB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-05/0.3345, allocations: 176.3 kB / 498.2 MB, free: 1.727 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.794e-05/0.3346, allocations: 188.1 kB / 498.4 MB, free: 1.535 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.511e-05/0.3346, allocations: 184.2 kB / 498.5 MB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-05/0.3347, allocations: 188.2 kB / 498.7 MB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.3349, allocations: 307.7 kB / 499 MB, free: 0.832 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.707e-05/0.3349, allocations: 182 kB / 499.2 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.883e-05/0.335, allocations: 188.6 kB / 499.4 MB, free: 448 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.3351, allocations: 105 kB / 499.5 MB, free: 336 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.766e-05/0.3352, allocations: 184.2 kB / 499.7 MB, free: 144 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/0.3352, allocations: 105 kB / 499.8 MB, free: 32 kB / 362.7 MB Notification: Performance of sorting global known variables: time 7.225e-05/0.3353, allocations: 91.22 kB / 499.9 MB, free: 15.94 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3353, allocations: 0 / 499.9 MB, free: 15.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006791/0.336, allocations: 179.8 kB / 0.4883 GB, free: 15.77 MB / 378.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.001087/0.3371, allocations: 0.6029 MB / 0.4889 GB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 4.979e-05/0.3372, allocations: 0 / 0.4889 GB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3372, allocations: 0 / 0.4889 GB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.158e-06/0.3372, allocations: 4 kB / 0.4889 GB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.3376, allocations: 0.5224 MB / 0.4894 GB, free: 14.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002594/0.3379, allocations: 174 kB / 0.4896 GB, free: 14.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.3381, allocations: 0.677 MB / 0.4902 GB, free: 13.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.114e-05/0.3381, allocations: 7.984 kB / 0.4903 GB, free: 13.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.876e-05/0.3381, allocations: 15.42 kB / 0.4903 GB, free: 13.78 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3381, allocations: 3.938 kB / 0.4903 GB, free: 13.77 MB / 378.7 MB Notification: Performance of Templates: time 0.005941/0.3441, allocations: 3.035 MB / 0.4932 GB, free: 10.73 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)