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/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+X/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009007/0.0009008, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005453/0.005453, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.411/1.411, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005359/0.005359, allocations: 0.9889 MB / 292.4 MB, free: 1.148 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003266/0.0003266, allocations: 8 kB / 353.8 MB, free: 2.082 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2844, allocations: 50.62 MB / 404.4 MB, free: 9.973 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.001359/0.2858, allocations: 0.9482 MB / 405.4 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003028/0.2889, allocations: 2.063 MB / 407.4 MB, free: 8.945 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.159e-05/0.2889, allocations: 0 / 407.4 MB, free: 8.945 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.266e-05/0.2889, allocations: 0.5625 kB / 407.4 MB, free: 8.945 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/readLine.mo:2:1-36:13:writable] Warning: Pure function ‘KeyWordIO.readLine‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/readReal_m.mo:2:1-79:15:writable] Warning: Pure function ‘KeyWordIO.readReal_m‘ contains a call to impure function ‘KeyWordIO.readLine‘. Notification: Performance of NFTyping.typeBindings: time 0.0009199/0.2898, allocations: 385.5 kB / 407.8 MB, free: 8.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.505e-06/0.2898, allocations: 0 / 407.8 MB, free: 8.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 3.15e-05/0.2899, allocations: 8.531 kB / 407.8 MB, free: 8.766 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.806e-05/0.2899, allocations: 2.062 kB / 407.8 MB, free: 8.766 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.695e-05/0.2899, allocations: 11 kB / 407.8 MB, free: 8.758 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.2902, allocations: 8.344 kB / 407.8 MB, free: 8.754 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.893e-06/0.2902, allocations: 0.9375 kB / 407.8 MB, free: 8.754 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000598/0.2908, allocations: 470.5 kB / 408.3 MB, free: 8.605 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.76e-06/0.2908, allocations: 0.9375 kB / 408.3 MB, free: 8.605 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.2908, allocations: 35.67 kB / 408.3 MB, free: 8.566 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004866/0.2913, allocations: 379.3 kB / 408.7 MB, free: 8.445 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2913, allocations: 0.8438 kB / 408.7 MB, free: 8.445 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2913, allocations: 0 / 408.7 MB, free: 8.445 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.2913, allocations: 0 / 408.7 MB, free: 8.445 MB / 286.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.0002976/0.2916, allocations: 408.9 kB / 409.1 MB, free: 8.043 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.2917, allocations: 13.53 kB / 409.1 MB, free: 8.039 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.2917, allocations: 81.38 kB / 409.2 MB, free: 7.961 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.46e-05/0.2918, allocations: 249.4 kB / 409.4 MB, free: 7.684 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.2918, allocations: 156.6 kB / 409.6 MB, free: 7.531 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.2919, allocations: 154.7 kB / 409.8 MB, free: 7.379 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.648e-05/0.2919, allocations: 106.8 kB / 409.9 MB, free: 7.27 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.2919, allocations: 79.28 kB / 409.9 MB, free: 7.191 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.2919, allocations: 150.6 kB / 410.1 MB, free: 7.043 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.292, allocations: 152.2 kB / 410.2 MB, free: 6.895 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.779e-05/0.292, allocations: 154.6 kB / 410.4 MB, free: 6.742 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.2922, allocations: 444 kB / 410.8 MB, free: 6.266 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.757e-05/0.2922, allocations: 178.9 kB / 411 MB, free: 6.082 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.436e-05/0.2922, allocations: 88.08 kB / 411.1 MB, free: 5.992 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.2922, allocations: 76.31 kB / 411.2 MB, free: 5.918 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.2923, allocations: 108 kB / 411.3 MB, free: 5.805 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.2923, allocations: 0 / 411.3 MB, free: 5.805 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 5.681e-05/0.2923, allocations: 36.02 kB / 411.3 MB, free: 5.766 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.2924, allocations: 131.4 kB / 411.4 MB, free: 5.625 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.214e-05/0.2924, allocations: 104.5 kB / 411.5 MB, free: 5.523 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.619e-06/0.2924, allocations: 25.7 kB / 411.5 MB, free: 5.492 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.833e-05/0.2925, allocations: 85.92 kB / 411.6 MB, free: 5.406 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.192e-06/0.2925, allocations: 0 / 411.6 MB, free: 5.406 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.37e-05/0.2925, allocations: 9.719 kB / 411.6 MB, free: 5.391 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.829e-05/0.2925, allocations: 313.2 kB / 411.9 MB, free: 5.078 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.458e-06/0.2926, allocations: 4 kB / 411.9 MB, free: 5.074 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.886e-06/0.2926, allocations: 4.938 kB / 412 MB, free: 5.07 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.106e-05/0.2926, allocations: 75.28 kB / 412 MB, free: 4.996 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.2926, allocations: 77.09 kB / 412.1 MB, free: 4.922 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.658e-05/0.2926, allocations: 32.66 kB / 412.1 MB, free: 4.887 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.2927, allocations: 84.34 kB / 412.2 MB, free: 4.809 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.2927, allocations: 76.45 kB / 412.3 MB, free: 4.734 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.422e-05/0.2927, allocations: 156.8 kB / 412.4 MB, free: 4.582 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.204e-05/0.2928, allocations: 84.7 kB / 412.5 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.2928, allocations: 152 kB / 412.7 MB, free: 4.352 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.306e-05/0.2928, allocations: 83.66 kB / 412.8 MB, free: 4.273 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.2928, allocations: 75.28 kB / 412.8 MB, free: 4.199 MB / 286.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 5.339e-05/0.2929, allocations: 257.4 kB / 413.1 MB, free: 3.938 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.2929, allocations: 112.1 kB / 413.2 MB, free: 3.824 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.367e-05/0.293, allocations: 114.7 kB / 413.3 MB, free: 3.703 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/0.293, allocations: 179.6 kB / 413.5 MB, free: 3.523 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.489e-05/0.293, allocations: 180.7 kB / 413.7 MB, free: 3.34 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.179e-05/0.2931, allocations: 176.8 kB / 413.8 MB, free: 3.16 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.2932, allocations: 411.1 kB / 414.2 MB, free: 2.707 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/0.2932, allocations: 109.6 kB / 414.3 MB, free: 2.598 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.366e-05/0.2932, allocations: 105.6 kB / 414.4 MB, free: 2.488 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.117e-05/0.2932, allocations: 180.9 kB / 414.6 MB, free: 2.305 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.2933, allocations: 177 kB / 414.8 MB, free: 2.125 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.188e-05/0.2933, allocations: 186.8 kB / 415 MB, free: 1.938 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.216e-05/0.2933, allocations: 188.4 kB / 415.2 MB, free: 1.75 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.814e-05/0.2934, allocations: 310.5 kB / 415.5 MB, free: 1.43 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.109e-05/0.2934, allocations: 183.9 kB / 415.6 MB, free: 1.227 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.2935, allocations: 177.3 kB / 415.8 MB, free: 1.047 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.159e-05/0.2935, allocations: 112.9 kB / 415.9 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.2935, allocations: 176.9 kB / 416.1 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.2936, allocations: 105.6 kB / 416.2 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.688e-05/0.2936, allocations: 91.2 kB / 416.3 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2936, allocations: 0 / 416.3 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004378/0.294, allocations: 143 kB / 416.4 MB, free: 0.5234 MB / 286.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.000929/0.295, allocations: 0.5802 MB / 417 MB, free: 236 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 3.045e-05/0.295, allocations: 3.938 kB / 417 MB, free: 232 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.295, allocations: 1.281 kB / 417 MB, free: 232 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.295, allocations: 4 kB / 417 MB, free: 228 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.2954, allocations: 0.5205 MB / 417.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002195/0.2956, allocations: 181.6 kB / 417.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.2959, allocations: 0.6766 MB / 418.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.887e-06/0.2959, allocations: 2.547 kB / 418.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.2959, allocations: 14 kB / 418.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2959, allocations: 0 / 418.4 MB, free: 14.81 MB / 302.1 MB Notification: Performance of Templates: time 0.006362/0.3023, allocations: 3.029 MB / 421.4 MB, free: 14.5 MB / 302.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: