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.0012/0.0012, allocations: 109.1 kB / 16.36 MB, free: 6.004 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.001251/0.001251, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.214/1.214, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.005939/0.005939, allocations: 1.016 MB / 292.2 MB, free: 13.79 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 63.91 kB / 353.5 MB, free: 424 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1745, allocations: 49.64 MB / 403.1 MB, free: 35.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.001778/0.1763, allocations: 1.201 MB / 404.3 MB, free: 34.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.1782, allocations: 2.014 MB / 406.4 MB, free: 32.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.628e-05/0.1783, allocations: 0 / 406.4 MB, free: 32.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.153e-05/0.1783, 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.0008466/0.1791, allocations: 454.5 kB / 406.8 MB, free: 31.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.856e-06/0.1792, allocations: 0 / 406.8 MB, free: 31.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 3.101e-05/0.1792, allocations: 7.938 kB / 406.8 MB, free: 31.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.946e-05/0.1792, allocations: 7.406 kB / 406.8 MB, free: 31.74 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.244e-05/0.1792, allocations: 3.938 kB / 406.8 MB, free: 31.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.234e-05/0.1793, allocations: 7.125 kB / 406.8 MB, free: 31.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.563e-06/0.1794, allocations: 4 kB / 406.8 MB, free: 31.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004642/0.1798, allocations: 0.4916 MB / 407.3 MB, free: 31.24 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.989e-06/0.1798, allocations: 0 / 407.3 MB, free: 31.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.344e-05/0.1799, allocations: 11.88 kB / 407.3 MB, free: 31.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.1802, allocations: 343.5 kB / 407.7 MB, free: 30.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1802, allocations: 0 / 407.7 MB, free: 30.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1802, allocations: 1.812 kB / 407.7 MB, free: 30.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.1802, 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.0002396/0.1805, allocations: 407.4 kB / 408.1 MB, free: 30.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.618e-05/0.1805, allocations: 12.03 kB / 408.1 MB, free: 30.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.1805, allocations: 80.22 kB / 408.2 MB, free: 30.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.927e-05/0.1806, allocations: 255.4 kB / 408.4 MB, free: 30.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.1806, allocations: 150.9 kB / 408.6 MB, free: 29.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.1806, allocations: 158.6 kB / 408.7 MB, free: 29.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.1e-05/0.1807, allocations: 104.9 kB / 408.8 MB, free: 29.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1807, allocations: 75.28 kB / 408.9 MB, free: 29.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.1807, allocations: 154.6 kB / 409 MB, free: 29.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.1807, allocations: 150.6 kB / 409.2 MB, free: 29.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.613e-05/0.1808, allocations: 150.6 kB / 409.3 MB, free: 29.13 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/0.1809, allocations: 449.9 kB / 409.8 MB, free: 28.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.745e-05/0.181, allocations: 173.1 kB / 409.9 MB, free: 28.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.241e-05/0.181, allocations: 88.08 kB / 410 MB, free: 28.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.181, allocations: 79.28 kB / 410.1 MB, free: 28.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.181, allocations: 109.8 kB / 410.2 MB, free: 28.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.181, allocations: 0 / 410.2 MB, free: 28.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 5.11e-05/0.1811, allocations: 25.7 kB / 410.2 MB, free: 28.15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/0.1811, allocations: 134.6 kB / 410.4 MB, free: 28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.25e-05/0.1812, allocations: 109.8 kB / 410.5 MB, free: 27.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.747e-06/0.1812, allocations: 25.7 kB / 410.5 MB, free: 27.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.389e-05/0.1812, allocations: 80.14 kB / 410.6 MB, free: 27.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.1812, allocations: 0 / 410.6 MB, free: 27.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.515e-05/0.1812, allocations: 13.72 kB / 410.6 MB, free: 27.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.411e-05/0.1813, allocations: 314.8 kB / 410.9 MB, free: 27.44 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.366e-06/0.1813, allocations: 0 / 410.9 MB, free: 27.44 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.953e-06/0.1813, allocations: 4 kB / 410.9 MB, free: 27.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.488e-06/0.1813, allocations: 79.28 kB / 411 MB, free: 27.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.1813, allocations: 75.28 kB / 411.1 MB, free: 27.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.22e-05/0.1813, allocations: 33.64 kB / 411.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1814, allocations: 79.28 kB / 411.2 MB, free: 27.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.1814, allocations: 79.22 kB / 411.2 MB, free: 27.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.1814, allocations: 154.6 kB / 411.4 MB, free: 26.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.007e-06/0.1814, allocations: 83.22 kB / 411.5 MB, free: 26.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.1814, allocations: 154.6 kB / 411.6 MB, free: 26.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.874e-05/0.1815, allocations: 83.22 kB / 411.7 MB, free: 26.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.1815, allocations: 83.22 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 4.051e-05/0.1816, allocations: 260.4 kB / 412 MB, free: 26.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.1816, allocations: 108.9 kB / 412.2 MB, free: 26.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.86e-05/0.1816, allocations: 112 kB / 412.3 MB, free: 26.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/0.1816, allocations: 180.2 kB / 412.4 MB, free: 25.85 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-05/0.1817, allocations: 180.2 kB / 412.6 MB, free: 25.67 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-05/0.1817, allocations: 184.2 kB / 412.8 MB, free: 25.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.1818, allocations: 405.2 kB / 413.2 MB, free: 25.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.1818, allocations: 108.9 kB / 413.3 MB, free: 24.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.089e-05/0.1818, allocations: 101 kB / 413.4 MB, free: 24.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.885e-05/0.1818, allocations: 184.3 kB / 413.6 MB, free: 24.62 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.1819, allocations: 180.2 kB / 413.7 MB, free: 24.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-05/0.1819, allocations: 180.2 kB / 413.9 MB, free: 24.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.929e-05/0.1819, allocations: 184.2 kB / 414.1 MB, free: 24.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.106e-05/0.182, allocations: 311.7 kB / 414.4 MB, free: 23.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.291e-05/0.182, allocations: 186.1 kB / 414.6 MB, free: 23.53 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.182, allocations: 176.3 kB / 414.8 MB, free: 23.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.829e-05/0.1821, allocations: 104.9 kB / 414.9 MB, free: 23.24 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.106e-05/0.1821, allocations: 184.3 kB / 415 MB, free: 23.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.1821, allocations: 108.9 kB / 415.2 MB, free: 22.94 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.082e-05/0.1822, allocations: 83.27 kB / 415.2 MB, free: 22.86 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1822, allocations: 0 / 415.2 MB, free: 22.86 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003772/0.1825, 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.0007088/0.1833, allocations: 0.5478 MB / 415.9 MB, free: 22.24 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.504e-05/0.1833, allocations: 11.94 kB / 415.9 MB, free: 22.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.1833, allocations: 3.938 kB / 415.9 MB, free: 22.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.1833, 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.0002288/0.1835, allocations: 459.6 kB / 416.4 MB, free: 21.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00015/0.1837, allocations: 172.6 kB / 416.5 MB, free: 21.58 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.493e-05/0.1838, allocations: 0.669 MB / 417.2 MB, free: 20.88 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.886e-06/0.1838, allocations: 4 kB / 417.2 MB, free: 20.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.489e-05/0.1838, allocations: 15.42 kB / 417.2 MB, free: 20.86 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1838, allocations: 0 / 417.2 MB, free: 20.86 MB / 302.1 MB Notification: Performance of Templates: time 0.004519/0.1883, allocations: 2.852 MB / 420.1 MB, free: 18.01 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 gbode -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe 2>&1)