Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.WriteRealVariable.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.WriteRealVariable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.WriteRealVariable") translateModel(KeyWordIO.Examples.WriteRealVariable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.WriteRealVariable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009152/0.0009152, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.004943/0.004943, allocations: 0.9744 MB / 14.23 MB, free: 1.062 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.188/1.188, allocations: 221.4 MB / 236.3 MB, free: 13.31 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.00084/0.0008399, allocations: 99.03 kB / 287.5 MB, free: 11.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.889e-05/2.891e-05, allocations: 0 / 346 MB, free: 1.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2141, allocations: 50.62 MB / 396.6 MB, free: 33.24 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08793/0.3021, allocations: 76.5 MB / 473.1 MB, free: 4.637 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001948/0.3023, allocations: 71.91 kB / 473.2 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00419/0.3065, allocations: 1.803 MB / 475 MB, free: 2.762 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3065, allocations: 0 / 475 MB, free: 2.762 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.3065, allocations: 0 / 475 MB, free: 2.762 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002714/0.3068, allocations: 360.2 kB / 475.4 MB, free: 2.359 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.3069, allocations: 16.03 kB / 475.4 MB, free: 2.344 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.3069, allocations: 3.984 kB / 475.4 MB, free: 2.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.307, allocations: 163.1 kB / 475.5 MB, free: 2.141 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.3071, allocations: 0 / 475.5 MB, free: 2.141 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.585e-06/0.3071, allocations: 0 / 475.5 MB, free: 2.141 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.202e-05/0.3071, allocations: 29.7 kB / 475.6 MB, free: 2.105 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.3072, allocations: 3.953 kB / 475.6 MB, free: 2.102 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.3072, allocations: 4 kB / 475.6 MB, free: 2.098 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3072, allocations: 0 / 475.6 MB, free: 2.098 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.842e-05/0.3072, allocations: 11.94 kB / 475.6 MB, free: 2.086 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001372/0.3074, allocations: 153.7 kB / 475.7 MB, free: 1.887 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.485e-05/0.3074, allocations: 22.59 kB / 475.8 MB, free: 1.855 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.577e-05/0.3074, allocations: 4.859 kB / 475.8 MB, free: 1.848 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.3075, allocations: 0 / 475.8 MB, free: 1.848 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001096/0.3076, allocations: 102.8 kB / 475.9 MB, free: 1.723 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.3076, allocations: 4 kB / 475.9 MB, free: 1.719 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001418/0.3077, allocations: 79.25 kB / 476 MB, free: 1.629 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.3078, allocations: 77.11 kB / 476 MB, free: 1.535 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.999e-05/0.3079, allocations: 97 kB / 476.1 MB, free: 1.434 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.3079, allocations: 29.7 kB / 476.2 MB, free: 1.398 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.3079, allocations: 88.12 kB / 476.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.308, allocations: 7.922 kB / 476.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-06/0.308, allocations: 3.938 kB / 476.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.3081, allocations: 318.9 kB / 476.6 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.062e-05/0.3081, allocations: 0 / 476.6 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.116e-05/0.3081, allocations: 17.72 kB / 476.6 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.699e-05/0.3081, allocations: 33.64 kB / 476.6 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3082, allocations: 0 / 476.6 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.175e-05/0.3082, allocations: 75.3 kB / 476.7 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.012e-05/0.3083, allocations: 35.39 kB / 476.7 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3083, allocations: 3.938 kB / 476.7 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.3083, allocations: 0 / 476.7 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.309e-05/0.3084, allocations: 15.95 kB / 476.7 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3084, allocations: 0 / 476.7 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.281e-05/0.3084, allocations: 11.92 kB / 476.7 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.3085, allocations: 0 / 476.7 MB, free: 0.7578 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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 7.722e-05/0.3085, allocations: 130.7 kB / 476.9 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-06/0.3086, allocations: 4 kB / 476.9 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.709e-05/0.3086, allocations: 7.656 kB / 476.9 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.3086, allocations: 0 / 476.9 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3086, allocations: 3.953 kB / 476.9 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3086, allocations: 3.984 kB / 476.9 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.3087, allocations: 153.7 kB / 477 MB, free: 412 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3087, allocations: 3.984 kB / 477 MB, free: 408 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.636e-05/0.3087, allocations: 4 kB / 477.1 MB, free: 404 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3088, allocations: 0 / 477.1 MB, free: 404 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.3088, allocations: 8 kB / 477.1 MB, free: 396 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3088, allocations: 4 kB / 477.1 MB, free: 392 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3088, allocations: 3.984 kB / 477.1 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.993e-05/0.3089, allocations: 94.8 kB / 477.2 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/0.3089, allocations: 81.02 kB / 477.2 MB, free: 168 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.309, allocations: 7.922 kB / 477.2 MB, free: 160 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.36e-05/0.309, allocations: 4 kB / 477.3 MB, free: 156 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.309, allocations: 4.031 kB / 477.3 MB, free: 152 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.3091, allocations: 4 kB / 477.3 MB, free: 148 kB / 346.7 MB Notification: Performance of sorting global known variables: time 4.215e-05/0.3091, allocations: 94.55 kB / 477.4 MB, free: 56 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3091, allocations: 0 / 477.4 MB, free: 56 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001765/0.3093, allocations: 23.89 kB / 477.4 MB, free: 32 kB / 346.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: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0003448/0.3096, allocations: 190.2 kB / 477.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.792e-05/0.3097, allocations: 67.28 kB / 477.6 MB, free: 15.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3097, allocations: 128 / 477.6 MB, free: 15.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.428e-05/0.3098, allocations: 63.41 kB / 477.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.699e-05/0.3099, allocations: 7.984 kB / 477.7 MB, free: 15.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001572/0.3101, allocations: 53.75 kB / 477.7 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.3103, allocations: 0.6848 MB / 478.4 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.674e-05/0.3103, allocations: 0 / 478.4 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.382e-05/0.3103, allocations: 11.44 kB / 478.4 MB, free: 14.92 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3103, allocations: 0 / 478.4 MB, free: 14.92 MB / 362.7 MB Notification: Performance of Templates: time 0.002433/0.3128, allocations: 0.6663 MB / 479.1 MB, free: 14.27 MB / 362.7 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.WriteRealVariable.makefile (rm -f KeyWordIO_KeyWordIO.Examples.WriteRealVariable.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.WriteRealVariable.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.WriteRealVariable.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.WriteRealVariable.sim & ./KeyWordIO_KeyWordIO.Examples.WriteRealVariable -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.WriteRealVariable.pipe 2>&1)