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-master/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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.000936/0.0009361, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008204/0.0008205, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.379/1.379, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.005706/0.005706, allocations: 0.9915 MB / 293.1 MB, free: 1.086 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002751/0.0002751, allocations: 15.98 kB / 354.5 MB, free: 1.984 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2316, allocations: 50.62 MB / 405.1 MB, free: 9.957 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.001181/0.2328, allocations: 0.942 MB / 406 MB, free: 9.926 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0027/0.2355, allocations: 2.065 MB / 408.1 MB, free: 8.902 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.268e-05/0.2355, allocations: 0 / 408.1 MB, free: 8.902 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.325e-05/0.2356, allocations: 6.078 kB / 408.1 MB, free: 8.898 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/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-master/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.0009472/0.2365, allocations: 387 kB / 408.5 MB, free: 8.719 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.635e-06/0.2365, allocations: 0 / 408.5 MB, free: 8.719 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 3.159e-05/0.2366, allocations: 9.344 kB / 408.5 MB, free: 8.715 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.779e-05/0.2366, allocations: 1.375 kB / 408.5 MB, free: 8.715 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.655e-05/0.2366, allocations: 11.23 kB / 408.5 MB, free: 8.707 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.035e-05/0.2367, allocations: 5.094 kB / 408.5 MB, free: 8.707 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.853e-06/0.2367, allocations: 0 / 408.5 MB, free: 8.707 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006194/0.2374, allocations: 467 kB / 409 MB, free: 8.562 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.562e-06/0.2374, allocations: 4.547 kB / 409 MB, free: 8.559 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.2374, allocations: 31.95 kB / 409 MB, free: 8.523 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000351/0.2378, allocations: 254.3 kB / 409.3 MB, free: 8.445 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2378, allocations: 0 / 409.3 MB, free: 8.445 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2378, allocations: 1.031 kB / 409.3 MB, free: 8.445 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.2378, allocations: 0 / 409.3 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.0003013/0.2381, allocations: 417.2 kB / 409.7 MB, free: 8.035 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.2381, allocations: 8.281 kB / 409.7 MB, free: 8.035 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.442e-05/0.2382, allocations: 77.56 kB / 409.7 MB, free: 7.961 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.976e-05/0.2383, allocations: 249.4 kB / 410 MB, free: 7.684 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.2383, allocations: 156.7 kB / 410.1 MB, free: 7.531 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.2383, allocations: 155.4 kB / 410.3 MB, free: 7.379 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.368e-05/0.2384, allocations: 106 kB / 410.4 MB, free: 7.27 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.2384, allocations: 75.28 kB / 410.5 MB, free: 7.195 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.2384, allocations: 152.2 kB / 410.6 MB, free: 7.047 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.796e-05/0.2384, allocations: 150.6 kB / 410.8 MB, free: 6.898 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.254e-05/0.2385, allocations: 159.6 kB / 410.9 MB, free: 6.742 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.2386, allocations: 447.7 kB / 411.4 MB, free: 6.262 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.202e-05/0.2387, allocations: 166.9 kB / 411.5 MB, free: 6.09 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.714e-05/0.2387, allocations: 88.08 kB / 411.6 MB, free: 6 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.2387, allocations: 80.28 kB / 411.7 MB, free: 5.922 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.2388, allocations: 114.4 kB / 411.8 MB, free: 5.801 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.2388, allocations: 1.031 kB / 411.8 MB, free: 5.801 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 5.757e-05/0.2388, allocations: 27.44 kB / 411.8 MB, free: 5.77 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.2389, allocations: 132.5 kB / 412 MB, free: 5.629 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.516e-05/0.2389, allocations: 104.7 kB / 412.1 MB, free: 5.527 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.949e-06/0.2389, allocations: 29.7 kB / 412.1 MB, free: 5.492 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.601e-05/0.239, allocations: 82.25 kB / 412.2 MB, free: 5.41 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.412e-06/0.239, allocations: 3.938 kB / 412.2 MB, free: 5.406 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.444e-05/0.239, allocations: 9.719 kB / 412.2 MB, free: 5.391 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.684e-05/0.239, allocations: 316.9 kB / 412.5 MB, free: 5.074 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.256e-06/0.2391, allocations: 0 / 412.5 MB, free: 5.074 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.575e-06/0.2391, allocations: 1.094 kB / 412.5 MB, free: 5.074 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.001e-05/0.2391, allocations: 75.28 kB / 412.6 MB, free: 5 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/0.2391, allocations: 80.41 kB / 412.6 MB, free: 4.922 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.735e-05/0.2391, allocations: 36.58 kB / 412.7 MB, free: 4.883 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.2392, allocations: 81.91 kB / 412.8 MB, free: 4.809 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.2392, allocations: 75.28 kB / 412.8 MB, free: 4.734 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.2392, allocations: 156.1 kB / 413 MB, free: 4.582 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.105e-05/0.2392, allocations: 77.17 kB / 413.1 MB, free: 4.508 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.2393, allocations: 151.7 kB / 413.2 MB, free: 4.359 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.094e-05/0.2393, allocations: 85.02 kB / 413.3 MB, free: 4.277 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.2393, allocations: 80.41 kB / 413.4 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 4.787e-05/0.2394, allocations: 258.7 kB / 413.6 MB, free: 3.938 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.2394, allocations: 111.7 kB / 413.7 MB, free: 3.824 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.431e-05/0.2394, allocations: 110.4 kB / 413.8 MB, free: 3.711 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.441e-05/0.2395, allocations: 181.4 kB / 414 MB, free: 3.527 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.498e-05/0.2395, allocations: 189.8 kB / 414.2 MB, free: 3.336 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.232e-05/0.2395, allocations: 178.5 kB / 414.4 MB, free: 3.156 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.2397, allocations: 406.1 kB / 414.8 MB, free: 2.707 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.72e-05/0.2397, allocations: 107.1 kB / 414.9 MB, free: 2.598 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.931e-05/0.2397, allocations: 110.7 kB / 415 MB, free: 2.484 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-05/0.2397, allocations: 182 kB / 415.2 MB, free: 2.301 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.2398, allocations: 177.3 kB / 415.3 MB, free: 2.121 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.322e-05/0.2398, allocations: 182.8 kB / 415.5 MB, free: 1.938 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.23e-05/0.2398, allocations: 177.6 kB / 415.7 MB, free: 1.758 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.481e-05/0.2399, allocations: 317.6 kB / 416 MB, free: 1.43 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.498e-05/0.2399, allocations: 182.5 kB / 416.2 MB, free: 1.23 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.24, allocations: 181.8 kB / 416.4 MB, free: 1.047 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.215e-05/0.24, allocations: 102.5 kB / 416.5 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.2401, allocations: 186.4 kB / 416.6 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.2401, allocations: 102.5 kB / 416.7 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.245e-05/0.2401, allocations: 90.28 kB / 416.8 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2401, allocations: 0 / 416.8 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000472/0.2406, allocations: 139.8 kB / 417 MB, free: 0.5312 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.0009924/0.2416, allocations: 0.5821 MB / 417.5 MB, free: 244 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 2.778e-05/0.2416, allocations: 1.5 kB / 417.5 MB, free: 244 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2417, allocations: 0 / 417.5 MB, free: 244 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/0.2417, allocations: 3.938 kB / 417.5 MB, free: 240 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.242, allocations: 0.5302 MB / 418.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002406/0.2423, allocations: 195.9 kB / 418.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.2425, allocations: 0.6741 MB / 418.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.013e-05/0.2426, allocations: 13.7 kB / 419 MB, free: 14.79 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2426, allocations: 0 / 419 MB, free: 14.79 MB / 302.1 MB Notification: Performance of Templates: time 0.006387/0.249, allocations: 3.331 MB / 422.3 MB, free: 14.43 MB / 302.1 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)