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.006392/0.006392, allocations: 101.3 kB / 15.88 MB, free: 5.867 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.001536/0.001536, allocations: 193.5 kB / 16.79 MB, free: 5.809 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.364/1.364, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.00625/0.00625, allocations: 1.003 MB / 291.6 MB, free: 1.457 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 67.89 kB / 352 MB, free: 2.324 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1174, allocations: 49.66 MB / 401.7 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.159/0.2765, allocations: 1.245 MB / 402.9 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002921/0.2794, allocations: 2.053 MB / 405 MB, free: 8.801 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.411e-05/0.2795, allocations: 1.062 kB / 405 MB, free: 8.801 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.829e-05/0.2795, allocations: 0 / 405 MB, free: 8.801 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.001088/0.2806, allocations: 343.2 kB / 405.3 MB, free: 8.648 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.625e-06/0.2806, allocations: 0 / 405.3 MB, free: 8.648 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.159e-05/0.2807, allocations: 8.25 kB / 405.3 MB, free: 8.645 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.112e-05/0.2807, allocations: 1.734 kB / 405.3 MB, free: 8.645 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.89e-05/0.2808, allocations: 14.72 kB / 405.4 MB, free: 8.633 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.2809, allocations: 5.734 kB / 405.4 MB, free: 8.633 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.015e-06/0.2809, allocations: 1.125 kB / 405.4 MB, free: 8.633 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006879/0.2816, allocations: 441.8 kB / 405.8 MB, free: 8.496 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.522e-06/0.2816, allocations: 3.875 kB / 405.8 MB, free: 8.496 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.628e-05/0.2816, allocations: 5 kB / 405.8 MB, free: 8.492 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.282, allocations: 235.1 kB / 406 MB, free: 8.422 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.282, allocations: 0 / 406 MB, free: 8.422 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.282, allocations: 0 / 406 MB, free: 8.422 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.282, allocations: 1.094 kB / 406 MB, free: 8.422 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.0003281/0.2824, allocations: 407 kB / 406.4 MB, free: 8.02 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.2824, allocations: 9.688 kB / 406.4 MB, free: 8.02 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.2824, allocations: 77.91 kB / 406.5 MB, free: 7.945 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.2825, allocations: 245.9 kB / 406.8 MB, free: 7.672 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.2826, allocations: 154.9 kB / 406.9 MB, free: 7.52 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.2826, allocations: 155.9 kB / 407.1 MB, free: 7.367 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.068e-05/0.2826, allocations: 104.9 kB / 407.2 MB, free: 7.258 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.2827, allocations: 80.34 kB / 407.2 MB, free: 7.18 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.2827, allocations: 150.6 kB / 407.4 MB, free: 7.031 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.2827, allocations: 155.3 kB / 407.5 MB, free: 6.883 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.038e-05/0.2827, allocations: 154.6 kB / 407.7 MB, free: 6.73 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.2829, allocations: 452.1 kB / 408.1 MB, free: 6.242 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.072e-05/0.283, allocations: 170.2 kB / 408.3 MB, free: 6.066 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.883e-05/0.283, allocations: 85.33 kB / 408.4 MB, free: 5.98 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.283, allocations: 79.94 kB / 408.5 MB, free: 5.902 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.283, allocations: 111.3 kB / 408.6 MB, free: 5.789 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.283, allocations: 0 / 408.6 MB, free: 5.789 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 6.343e-05/0.2831, allocations: 27.86 kB / 408.6 MB, free: 5.758 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.2832, allocations: 131.3 kB / 408.7 MB, free: 5.617 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.583e-05/0.2832, allocations: 110.8 kB / 408.8 MB, free: 5.512 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.37e-06/0.2833, allocations: 25.7 kB / 408.9 MB, free: 5.48 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.865e-05/0.2833, allocations: 88.8 kB / 408.9 MB, free: 5.391 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-06/0.2833, allocations: 2.562 kB / 408.9 MB, free: 5.391 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.605e-05/0.2833, allocations: 10.28 kB / 409 MB, free: 5.375 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.513e-05/0.2834, allocations: 311.8 kB / 409.3 MB, free: 5.062 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.308e-06/0.2834, allocations: 0 / 409.3 MB, free: 5.062 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-06/0.2834, allocations: 5.312 kB / 409.3 MB, free: 5.059 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.248e-05/0.2834, allocations: 75.84 kB / 409.3 MB, free: 4.984 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.2834, allocations: 76.91 kB / 409.4 MB, free: 4.91 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.611e-05/0.2835, allocations: 35.86 kB / 409.4 MB, free: 4.871 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.2835, allocations: 81.69 kB / 409.5 MB, free: 4.797 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.2835, allocations: 79.22 kB / 409.6 MB, free: 4.719 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.192e-05/0.2835, allocations: 156.9 kB / 409.8 MB, free: 4.566 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.392e-05/0.2836, allocations: 85.42 kB / 409.8 MB, free: 4.484 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.266e-05/0.2836, allocations: 151.3 kB / 410 MB, free: 4.336 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.001e-05/0.2837, allocations: 80.62 kB / 410.1 MB, free: 4.258 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.2837, allocations: 81.39 kB / 410.1 MB, free: 4.18 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 6.059e-05/0.2837, allocations: 258.6 kB / 410.4 MB, free: 3.918 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.2838, allocations: 106.9 kB / 410.5 MB, free: 3.809 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.2838, allocations: 114.7 kB / 410.6 MB, free: 3.688 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.672e-05/0.2839, allocations: 181 kB / 410.8 MB, free: 3.504 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.879e-05/0.2839, allocations: 178.3 kB / 411 MB, free: 3.324 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.24e-05/0.2839, allocations: 182.4 kB / 411.1 MB, free: 3.141 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.284, allocations: 406.1 kB / 411.5 MB, free: 2.691 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/0.2841, allocations: 106.4 kB / 411.6 MB, free: 2.582 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.377e-05/0.2841, allocations: 103.3 kB / 411.7 MB, free: 2.477 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.236e-05/0.2841, allocations: 185.3 kB / 411.9 MB, free: 2.289 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.2841, allocations: 178.5 kB / 412.1 MB, free: 2.109 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.33e-05/0.2842, allocations: 178.6 kB / 412.3 MB, free: 1.93 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.411e-05/0.2842, allocations: 188.8 kB / 412.5 MB, free: 1.738 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.812e-05/0.2843, allocations: 310.9 kB / 412.8 MB, free: 1.418 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.871e-05/0.2843, allocations: 181 kB / 412.9 MB, free: 1.219 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.244e-05/0.2843, allocations: 181.7 kB / 413.1 MB, free: 1.035 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.367e-05/0.2844, allocations: 109.8 kB / 413.2 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.2844, allocations: 178.7 kB / 413.4 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.2845, allocations: 110.4 kB / 413.5 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.786e-05/0.2845, allocations: 85.31 kB / 413.6 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2845, allocations: 0 / 413.6 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005082/0.285, allocations: 133.2 kB / 413.7 MB, free: 0.5156 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.001037/0.2861, allocations: 0.5653 MB / 414.3 MB, free: 252 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 3.456e-05/0.2861, allocations: 0 / 414.3 MB, free: 252 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2861, allocations: 1.375 kB / 414.3 MB, free: 252 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.2861, allocations: 0 / 414.3 MB, free: 252 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.2865, allocations: 0.5246 MB / 414.8 MB, free: 15.72 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002513/0.2867, allocations: 200.7 kB / 415 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.287, allocations: 0.6722 MB / 415.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.96e-05/0.287, allocations: 12.72 kB / 415.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.287, allocations: 0 / 415.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of Templates: time 0.006334/0.2933, allocations: 3.134 MB / 418.8 MB, free: 14.47 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)