Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealParameter.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.ReadRealParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealParameter") translateModel(KeyWordIO.Examples.ReadRealParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00173/0.001731, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.001858/0.001858, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.67/1.67, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006263/0.006263, allocations: 1.015 MB / 292.2 MB, free: 13.79 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.91 kB / 353.5 MB, free: 424 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3853, allocations: 49.65 MB / 403.1 MB, free: 35.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.002782/0.3881, allocations: 1.193 MB / 404.3 MB, free: 34.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002983/0.3911, allocations: 2.022 MB / 406.4 MB, free: 32.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.359e-05/0.3912, allocations: 0 / 406.4 MB, free: 32.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.994e-05/0.3912, allocations: 0 / 406.4 MB, free: 32.2 MB / 302.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 'KeyWordIO.readLineWithoutCache'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readRealParameter.mo:2:1-99:22:writable] Warning: Pure function 'KeyWordIO.readRealParameter' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.001041/0.3922, allocations: 454.5 kB / 406.8 MB, free: 31.76 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.589e-06/0.3923, allocations: 0 / 406.8 MB, free: 31.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.429e-05/0.3923, allocations: 15.94 kB / 406.8 MB, free: 31.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.869e-05/0.3924, allocations: 4 kB / 406.8 MB, free: 31.74 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.082e-05/0.3924, allocations: 3.938 kB / 406.8 MB, free: 31.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000319/0.3927, allocations: 10.62 kB / 406.8 MB, free: 31.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.3927, allocations: 0 / 406.8 MB, free: 31.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006421/0.3934, allocations: 495.5 kB / 407.3 MB, free: 31.24 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.496e-06/0.3934, allocations: 0 / 407.3 MB, free: 31.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.299e-05/0.3934, allocations: 15.88 kB / 407.3 MB, free: 31.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004673/0.3939, allocations: 339.5 kB / 407.7 MB, free: 30.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3939, allocations: 0 / 407.7 MB, free: 30.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.107e-06/0.3939, allocations: 0 / 407.7 MB, free: 30.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.3939, allocations: 0 / 407.7 MB, free: 30.89 MB / 302.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.0004633/0.3944, allocations: 415.4 kB / 408.1 MB, free: 30.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.3945, allocations: 12.03 kB / 408.1 MB, free: 30.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.494e-05/0.3945, allocations: 76.22 kB / 408.2 MB, free: 30.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.3947, allocations: 249.4 kB / 408.4 MB, free: 30.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.911e-05/0.3947, allocations: 150.9 kB / 408.5 MB, free: 29.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/0.3948, allocations: 154.7 kB / 408.7 MB, free: 29.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.209e-05/0.3949, allocations: 112.9 kB / 408.8 MB, free: 29.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.3949, allocations: 79.28 kB / 408.9 MB, free: 29.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.821e-05/0.3949, allocations: 150.6 kB / 409 MB, free: 29.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.595e-05/0.395, allocations: 150.6 kB / 409.2 MB, free: 29.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.795e-05/0.395, allocations: 158.5 kB / 409.3 MB, free: 29.12 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002537/0.3953, allocations: 449.9 kB / 409.8 MB, free: 28.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.942e-05/0.3954, allocations: 169.1 kB / 409.9 MB, free: 28.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.864e-05/0.3954, allocations: 88.08 kB / 410 MB, free: 28.37 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.3954, allocations: 75.28 kB / 410.1 MB, free: 28.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.3955, allocations: 109.8 kB / 410.2 MB, free: 28.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.3955, allocations: 0 / 410.2 MB, free: 28.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 8.106e-05/0.3955, allocations: 25.7 kB / 410.2 MB, free: 28.15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.3956, allocations: 134.6 kB / 410.4 MB, free: 28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.3957, allocations: 101.8 kB / 410.5 MB, free: 27.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.3957, allocations: 25.7 kB / 410.5 MB, free: 27.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.289e-05/0.3958, allocations: 84.14 kB / 410.6 MB, free: 27.78 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.3958, allocations: 0 / 410.6 MB, free: 27.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.188e-05/0.3958, allocations: 17.72 kB / 410.6 MB, free: 27.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.698e-05/0.3959, allocations: 310.8 kB / 410.9 MB, free: 27.44 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.464e-06/0.3959, allocations: 0 / 410.9 MB, free: 27.44 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.208e-06/0.3959, allocations: 0 / 410.9 MB, free: 27.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.168e-05/0.3959, allocations: 79.22 kB / 411 MB, free: 27.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-05/0.396, allocations: 75.28 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.868e-05/0.396, allocations: 37.62 kB / 411.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.3961, allocations: 79.28 kB / 411.2 MB, free: 27.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.3961, allocations: 83.22 kB / 411.2 MB, free: 27.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.993e-05/0.3961, allocations: 158.8 kB / 411.4 MB, free: 26.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.197e-05/0.3962, allocations: 79.22 kB / 411.5 MB, free: 26.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.731e-05/0.3962, allocations: 150.6 kB / 411.6 MB, free: 26.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.486e-05/0.3963, allocations: 79.28 kB / 411.7 MB, free: 26.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.3963, allocations: 87.2 kB / 411.8 MB, free: 26.54 MB / 302.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 8.819e-05/0.3964, allocations: 264.4 kB / 412 MB, free: 26.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.3965, allocations: 104.9 kB / 412.1 MB, free: 26.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.227e-05/0.3965, allocations: 116 kB / 412.3 MB, free: 26.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.393e-05/0.3966, allocations: 176.3 kB / 412.4 MB, free: 25.86 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.247e-05/0.3966, allocations: 176.3 kB / 412.6 MB, free: 25.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.848e-05/0.3967, allocations: 188.2 kB / 412.8 MB, free: 25.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.3969, allocations: 405.2 kB / 413.2 MB, free: 25.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.661e-05/0.397, allocations: 108.9 kB / 413.3 MB, free: 24.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.291e-05/0.397, allocations: 105 kB / 413.4 MB, free: 24.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.369e-05/0.3971, allocations: 180.2 kB / 413.6 MB, free: 24.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.263e-05/0.3971, allocations: 180.2 kB / 413.7 MB, free: 24.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-05/0.3972, allocations: 180.3 kB / 413.9 MB, free: 24.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.225e-05/0.3972, allocations: 188.2 kB / 414.1 MB, free: 24.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.761e-05/0.3973, allocations: 307.7 kB / 414.4 MB, free: 23.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.3974, allocations: 186.1 kB / 414.6 MB, free: 23.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.32e-05/0.3974, allocations: 184.2 kB / 414.8 MB, free: 23.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.785e-05/0.3975, allocations: 108.9 kB / 414.9 MB, free: 23.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.3976, allocations: 180.3 kB / 415 MB, free: 23.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.3976, allocations: 104.9 kB / 415.1 MB, free: 22.94 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.469e-05/0.3976, allocations: 83.28 kB / 415.2 MB, free: 22.86 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3976, allocations: 0 / 415.2 MB, free: 22.86 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000553/0.3982, allocations: 132 kB / 415.4 MB, free: 22.73 MB / 302.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.001118/0.3993, allocations: 0.5503 MB / 415.9 MB, free: 22.24 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.549e-05/0.3994, allocations: 12 kB / 415.9 MB, free: 22.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3994, allocations: 0 / 415.9 MB, free: 22.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.3994, allocations: 0 / 415.9 MB, free: 22.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.3997, allocations: 462 kB / 416.4 MB, free: 21.78 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.4, allocations: 168.6 kB / 416.5 MB, free: 21.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001702/0.4002, allocations: 0.669 MB / 417.2 MB, free: 20.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.048e-05/0.4002, allocations: 11.94 kB / 417.2 MB, free: 20.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.864e-05/0.4002, allocations: 11.44 kB / 417.2 MB, free: 20.87 MB / 302.1 MB Notification: Performance of SimCode: time 1.9e-07/0.4002, allocations: 0 / 417.2 MB, free: 20.87 MB / 302.1 MB Notification: Performance of Templates: time 0.005991/0.4062, allocations: 2.862 MB / 420.1 MB, free: 18 MB / 302.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealParameter.makefile (rm -f KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealParameter.sim & ./KeyWordIO_KeyWordIO.Examples.ReadRealParameter -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe 2>&1)