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.0009431/0.0009431, allocations: 92.16 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.0009969/0.0009968, allocations: 172.9 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.313/1.313, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.005695/0.005695, allocations: 1.004 MB / 293.1 MB, free: 1.125 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002851/0.0002851, allocations: 8 kB / 354.5 MB, free: 2.047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2357, allocations: 50.62 MB / 405.1 MB, free: 9.969 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.001149/0.2369, allocations: 0.9291 MB / 406 MB, free: 9.938 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002686/0.2396, allocations: 2.014 MB / 408 MB, free: 8.961 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.206e-05/0.2396, allocations: 1.281 kB / 408 MB, free: 8.961 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.198e-05/0.2396, allocations: 0 / 408 MB, free: 8.961 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/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.0009227/0.2405, allocations: 349.8 kB / 408.4 MB, free: 8.805 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.345e-06/0.2405, allocations: 0 / 408.4 MB, free: 8.805 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 3.283e-05/0.2406, allocations: 7.188 kB / 408.4 MB, free: 8.801 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.874e-05/0.2406, allocations: 1.281 kB / 408.4 MB, free: 8.801 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.552e-05/0.2406, allocations: 6.188 kB / 408.4 MB, free: 8.797 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.764e-05/0.2407, allocations: 16.23 kB / 408.4 MB, free: 8.785 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.483e-06/0.2408, allocations: 5.031 kB / 408.4 MB, free: 8.781 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005897/0.2413, allocations: 437.6 kB / 408.8 MB, free: 8.648 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.3e-06/0.2414, allocations: 5.031 kB / 408.8 MB, free: 8.645 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.148e-05/0.2414, allocations: 30.7 kB / 408.9 MB, free: 8.609 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.2417, allocations: 229.5 kB / 409.1 MB, free: 8.543 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2417, allocations: 5.406 kB / 409.1 MB, free: 8.539 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2417, allocations: 0 / 409.1 MB, free: 8.539 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.2417, allocations: 0 / 409.1 MB, free: 8.539 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.0003042/0.2421, allocations: 401.4 kB / 409.5 MB, free: 8.141 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.2421, allocations: 15.05 kB / 409.5 MB, free: 8.137 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.256e-05/0.2421, allocations: 76.22 kB / 409.6 MB, free: 8.062 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.2422, allocations: 245.3 kB / 409.8 MB, free: 7.789 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.2423, allocations: 152 kB / 410 MB, free: 7.641 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.2423, allocations: 158.7 kB / 410.1 MB, free: 7.484 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.734e-05/0.2423, allocations: 102.7 kB / 410.2 MB, free: 7.379 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.2424, allocations: 83.22 kB / 410.3 MB, free: 7.297 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.2424, allocations: 150.6 kB / 410.5 MB, free: 7.148 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/0.2424, allocations: 153.5 kB / 410.6 MB, free: 7 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.203e-05/0.2424, allocations: 150.6 kB / 410.8 MB, free: 6.852 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/0.2426, allocations: 445.8 kB / 411.2 MB, free: 6.371 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.687e-05/0.2426, allocations: 171.6 kB / 411.4 MB, free: 6.195 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.594e-05/0.2427, allocations: 92.02 kB / 411.4 MB, free: 6.102 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.2427, allocations: 75.28 kB / 411.5 MB, free: 6.027 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.2427, allocations: 107.9 kB / 411.6 MB, free: 5.914 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.2427, allocations: 0 / 411.6 MB, free: 5.914 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 6.016e-05/0.2428, allocations: 35.28 kB / 411.7 MB, free: 5.875 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.2428, allocations: 129.5 kB / 411.8 MB, free: 5.738 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.101e-05/0.2429, allocations: 100.2 kB / 411.9 MB, free: 5.641 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.188e-06/0.2429, allocations: 26.89 kB / 411.9 MB, free: 5.609 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.65e-05/0.2429, allocations: 84.98 kB / 412 MB, free: 5.523 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.773e-06/0.2429, allocations: 1.281 kB / 412 MB, free: 5.523 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.394e-05/0.2429, allocations: 9.719 kB / 412 MB, free: 5.508 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.883e-05/0.243, allocations: 312.7 kB / 412.3 MB, free: 5.195 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.905e-06/0.243, allocations: 11.88 kB / 412.3 MB, free: 5.184 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.414e-06/0.243, allocations: 0 / 412.3 MB, free: 5.184 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.129e-05/0.243, allocations: 77.08 kB / 412.4 MB, free: 5.109 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.243, allocations: 75.28 kB / 412.5 MB, free: 5.035 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.517e-05/0.2431, allocations: 33.36 kB / 412.5 MB, free: 5 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.2431, allocations: 84.75 kB / 412.6 MB, free: 4.922 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.2431, allocations: 80.25 kB / 412.7 MB, free: 4.844 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/0.2432, allocations: 156.3 kB / 412.8 MB, free: 4.691 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.708e-06/0.2432, allocations: 85.09 kB / 412.9 MB, free: 4.609 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/0.2432, allocations: 155.5 kB / 413.1 MB, free: 4.457 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.071e-05/0.2433, allocations: 75.8 kB / 413.1 MB, free: 4.383 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.2433, allocations: 81.09 kB / 413.2 MB, free: 4.305 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.751e-05/0.2433, allocations: 259.1 kB / 413.5 MB, free: 4.043 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.2434, allocations: 110.7 kB / 413.6 MB, free: 3.93 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.371e-05/0.2434, allocations: 110.6 kB / 413.7 MB, free: 3.812 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/0.2434, allocations: 182.2 kB / 413.9 MB, free: 3.629 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.237e-05/0.2434, allocations: 178.1 kB / 414 MB, free: 3.449 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.969e-05/0.2435, allocations: 182.2 kB / 414.2 MB, free: 3.266 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.2436, allocations: 410.5 kB / 414.6 MB, free: 2.812 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.2436, allocations: 101.8 kB / 414.7 MB, free: 2.707 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.371e-05/0.2436, allocations: 106.3 kB / 414.8 MB, free: 2.598 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.068e-05/0.2437, allocations: 178.2 kB / 415 MB, free: 2.418 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.2437, allocations: 181.8 kB / 415.2 MB, free: 2.234 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.048e-05/0.2437, allocations: 182.1 kB / 415.3 MB, free: 2.051 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.442e-05/0.2437, allocations: 192.5 kB / 415.5 MB, free: 1.859 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.67e-05/0.2438, allocations: 305.3 kB / 415.8 MB, free: 1.543 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.2438, allocations: 189.6 kB / 416 MB, free: 1.336 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.2439, allocations: 178.2 kB / 416.2 MB, free: 1.156 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.958e-05/0.2439, allocations: 101.5 kB / 416.3 MB, free: 1.051 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.637e-05/0.244, allocations: 185.8 kB / 416.5 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.244, allocations: 103.1 kB / 416.6 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.588e-05/0.244, allocations: 85.62 kB / 416.6 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.244, allocations: 0 / 416.6 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004645/0.2445, allocations: 134.8 kB / 416.8 MB, free: 0.6445 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.0009127/0.2454, allocations: 0.566 MB / 417.3 MB, free: 368 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 3.305e-05/0.2454, allocations: 5.594 kB / 417.4 MB, free: 364 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2455, allocations: 0 / 417.4 MB, free: 364 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.853e-06/0.2455, allocations: 1 kB / 417.4 MB, free: 364 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.2458, allocations: 0.5279 MB / 417.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002244/0.246, allocations: 192.2 kB / 418.1 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.2462, allocations: 0.6736 MB / 418.7 MB, free: 14.92 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.725e-05/0.2463, allocations: 11.89 kB / 418.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2463, allocations: 4 kB / 418.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of Templates: time 0.005573/0.2519, allocations: 3.129 MB / 421.9 MB, free: 14.58 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 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe 2>&1)