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.001323/0.001323, allocations: 103.2 kB / 15.98 MB, free: 6.348 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.001426/0.001426, allocations: 199 kB / 16.91 MB, free: 6.188 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.367/1.367, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006169/0.006169, allocations: 1.009 MB / 291.7 MB, free: 14.04 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 67.89 kB / 352.2 MB, free: 1.527 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2218, allocations: 49.65 MB / 401.9 MB, free: 35.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.002057/0.2239, allocations: 1.261 MB / 403.1 MB, free: 34.67 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002394/0.2263, allocations: 1.982 MB / 405.1 MB, free: 32.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.634e-05/0.2263, allocations: 0 / 405.1 MB, free: 32.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.305e-05/0.2264, allocations: 3.938 kB / 405.1 MB, free: 32.68 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 ‘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.00124/0.2276, allocations: 411.1 kB / 405.5 MB, free: 32.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.277e-06/0.2276, allocations: 0 / 405.5 MB, free: 32.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 3.073e-05/0.2277, allocations: 4 kB / 405.5 MB, free: 32.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.793e-05/0.2277, allocations: 0 / 405.5 MB, free: 32.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.508e-05/0.2277, allocations: 11.88 kB / 405.5 MB, free: 32.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.264e-05/0.2278, allocations: 11.97 kB / 405.5 MB, free: 32.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.973e-06/0.2278, allocations: 0 / 405.5 MB, free: 32.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005821/0.2284, allocations: 443.5 kB / 406 MB, free: 31.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.119e-06/0.2284, allocations: 0 / 406 MB, free: 31.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.303e-05/0.2285, allocations: 7.938 kB / 406 MB, free: 31.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000357/0.2288, allocations: 235.6 kB / 406.2 MB, free: 31.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2288, allocations: 4 kB / 406.2 MB, free: 31.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2288, allocations: 0 / 406.2 MB, free: 31.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.2289, allocations: 0 / 406.2 MB, free: 31.57 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.0003036/0.2292, allocations: 405.5 kB / 406.6 MB, free: 31.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.2292, allocations: 12.02 kB / 406.6 MB, free: 31.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.2292, allocations: 76.22 kB / 406.7 MB, free: 31.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.073e-05/0.2293, allocations: 251.5 kB / 406.9 MB, free: 30.76 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.2294, allocations: 154.9 kB / 407.1 MB, free: 30.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.2294, allocations: 154.7 kB / 407.2 MB, free: 30.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.593e-05/0.2294, allocations: 101 kB / 407.3 MB, free: 30.35 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.2295, allocations: 75.28 kB / 407.4 MB, free: 30.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.2295, allocations: 150.6 kB / 407.6 MB, free: 30.12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.897e-05/0.2295, allocations: 158.6 kB / 407.7 MB, free: 29.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.615e-05/0.2295, allocations: 162.5 kB / 407.9 MB, free: 29.81 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.2297, allocations: 442 kB / 408.3 MB, free: 29.33 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.873e-05/0.2298, allocations: 169.1 kB / 408.5 MB, free: 29.15 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.963e-05/0.2298, allocations: 88.08 kB / 408.6 MB, free: 29.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.2298, allocations: 79.28 kB / 408.6 MB, free: 28.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.2298, allocations: 109.8 kB / 408.7 MB, free: 28.87 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.2299, allocations: 0 / 408.7 MB, free: 28.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 5.804e-05/0.2299, allocations: 33.62 kB / 408.8 MB, free: 28.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.23, allocations: 130.7 kB / 408.9 MB, free: 28.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.899e-05/0.23, allocations: 97.86 kB / 409 MB, free: 28.58 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.911e-06/0.23, allocations: 29.7 kB / 409 MB, free: 28.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.011e-05/0.2301, allocations: 84.12 kB / 409.1 MB, free: 28.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-06/0.2301, allocations: 4 kB / 409.1 MB, free: 28.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.682e-05/0.2301, allocations: 13.66 kB / 409.1 MB, free: 28.44 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.608e-05/0.2301, allocations: 310.8 kB / 409.4 MB, free: 28.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.407e-06/0.2302, allocations: 3.938 kB / 409.4 MB, free: 28.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.965e-06/0.2302, allocations: 0 / 409.4 MB, free: 28.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.125e-05/0.2302, allocations: 75.28 kB / 409.5 MB, free: 28.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/0.2302, allocations: 87.28 kB / 409.6 MB, free: 27.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.751e-05/0.2302, allocations: 33.58 kB / 409.6 MB, free: 27.92 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.2303, allocations: 79.28 kB / 409.7 MB, free: 27.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.2303, allocations: 83.33 kB / 409.8 MB, free: 27.76 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.063e-05/0.2303, allocations: 158.5 kB / 409.9 MB, free: 27.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.02e-05/0.2303, allocations: 75.28 kB / 410 MB, free: 27.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.178e-05/0.2304, allocations: 154.6 kB / 410.2 MB, free: 27.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.466e-05/0.2304, allocations: 83.22 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.2304, allocations: 75.28 kB / 410.3 MB, free: 27.22 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 6.799e-05/0.2305, allocations: 260.4 kB / 410.6 MB, free: 26.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.2306, allocations: 112.9 kB / 410.7 MB, free: 26.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.186e-05/0.2306, allocations: 108.1 kB / 410.8 MB, free: 26.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.382e-05/0.2306, allocations: 180.3 kB / 411 MB, free: 26.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.627e-05/0.2306, allocations: 180.2 kB / 411.1 MB, free: 26.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.606e-05/0.2307, allocations: 184.3 kB / 411.3 MB, free: 26.17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.2308, allocations: 405.1 kB / 411.7 MB, free: 25.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.631e-05/0.2308, allocations: 105 kB / 411.8 MB, free: 25.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.356e-05/0.2309, allocations: 105 kB / 411.9 MB, free: 25.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.516e-05/0.2309, allocations: 188.2 kB / 412.1 MB, free: 25.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.2309, allocations: 176.3 kB / 412.3 MB, free: 25.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.559e-05/0.2309, allocations: 184.2 kB / 412.5 MB, free: 24.94 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.319e-05/0.231, allocations: 180.3 kB / 412.6 MB, free: 24.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.294e-05/0.231, allocations: 315.7 kB / 412.9 MB, free: 24.42 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-05/0.2311, allocations: 178.1 kB / 413.1 MB, free: 24.22 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.2311, allocations: 180.2 kB / 413.3 MB, free: 24.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.219e-05/0.2312, allocations: 105.4 kB / 413.4 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/0.2312, allocations: 180.2 kB / 413.6 MB, free: 23.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.2312, allocations: 109 kB / 413.7 MB, free: 23.63 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.712e-05/0.2313, allocations: 83.28 kB / 413.8 MB, free: 23.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2313, allocations: 0 / 413.8 MB, free: 23.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004555/0.2317, allocations: 139.9 kB / 413.9 MB, free: 23.41 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.0009403/0.2327, allocations: 0.5642 MB / 414.5 MB, free: 22.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 2.68e-05/0.2327, allocations: 0 / 414.5 MB, free: 22.91 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.2327, allocations: 0 / 414.5 MB, free: 22.91 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.546e-06/0.2327, allocations: 3.938 kB / 414.5 MB, free: 22.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.233, allocations: 463.6 kB / 414.9 MB, free: 22.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001673/0.2332, allocations: 194.3 kB / 415.1 MB, free: 22.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.626e-05/0.2333, allocations: 0.6729 MB / 415.8 MB, free: 21.53 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.955e-05/0.2333, allocations: 11.44 kB / 415.8 MB, free: 21.52 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2333, allocations: 0 / 415.8 MB, free: 21.52 MB / 302.1 MB Notification: Performance of Templates: time 0.004254/0.2376, allocations: 3.143 MB / 418.9 MB, free: 18.38 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)