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+X/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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.001098/0.001098, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001007/0.001007, allocations: 192.2 kB / 16.25 MB, free: 6.586 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.227/1.227, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005365/0.005364, allocations: 1 MB / 291.1 MB, free: 1.375 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001026, allocations: 59.91 kB / 351.6 MB, free: 2.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0874/0.08844, allocations: 49.65 MB / 401.2 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.1469/0.2354, allocations: 1.257 MB / 402.5 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002557/0.238, allocations: 1.996 MB / 404.5 MB, free: 8.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.743e-05/0.2381, allocations: 0 / 404.5 MB, free: 8.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.996e-05/0.2381, allocations: 0.75 kB / 404.5 MB, free: 8.77 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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+X/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.001021/0.2391, allocations: 396 kB / 404.8 MB, free: 8.613 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.526e-06/0.2391, allocations: 0 / 404.8 MB, free: 8.613 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 3.476e-05/0.2392, allocations: 12.31 kB / 404.9 MB, free: 8.609 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.501e-05/0.2392, allocations: 5.75 kB / 404.9 MB, free: 8.605 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.608e-05/0.2392, allocations: 10.08 kB / 404.9 MB, free: 8.598 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.2395, allocations: 5.172 kB / 404.9 MB, free: 8.598 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.394e-06/0.2395, allocations: 0 / 404.9 MB, free: 8.598 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005623/0.24, allocations: 446.1 kB / 405.3 MB, free: 8.461 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.662e-06/0.2401, allocations: 2.078 kB / 405.3 MB, free: 8.461 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.451e-05/0.2401, allocations: 9.562 kB / 405.3 MB, free: 8.453 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004178/0.2405, allocations: 348.2 kB / 405.7 MB, free: 8.344 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2405, allocations: 1.688 kB / 405.7 MB, free: 8.344 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2405, allocations: 0 / 405.7 MB, free: 8.344 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.2405, allocations: 1.156 kB / 405.7 MB, free: 8.344 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.0002933/0.2408, allocations: 407.5 kB / 406.1 MB, free: 7.941 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.2409, allocations: 10.5 kB / 406.1 MB, free: 7.941 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/0.2409, allocations: 77.91 kB / 406.2 MB, free: 7.867 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.512e-05/0.241, allocations: 249.1 kB / 406.4 MB, free: 7.59 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.241, allocations: 152.9 kB / 406.5 MB, free: 7.441 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.2411, allocations: 154.7 kB / 406.7 MB, free: 7.289 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.446e-05/0.2411, allocations: 110.1 kB / 406.8 MB, free: 7.176 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.2411, allocations: 76.17 kB / 406.9 MB, free: 7.102 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.2411, allocations: 150.6 kB / 407 MB, free: 6.953 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.2412, allocations: 155.8 kB / 407.2 MB, free: 6.801 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.949e-05/0.2412, allocations: 150.6 kB / 407.3 MB, free: 6.652 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001555/0.2414, allocations: 446.9 kB / 407.8 MB, free: 6.172 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.731e-05/0.2414, allocations: 176.7 kB / 407.9 MB, free: 5.992 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.533e-05/0.2414, allocations: 88.08 kB / 408 MB, free: 5.902 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.2414, allocations: 76.41 kB / 408.1 MB, free: 5.828 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.2415, allocations: 105.8 kB / 408.2 MB, free: 5.715 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.2415, allocations: 1.094 kB / 408.2 MB, free: 5.715 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 5.404e-05/0.2415, allocations: 26.83 kB / 408.2 MB, free: 5.684 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.2416, allocations: 126.7 kB / 408.4 MB, free: 5.547 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.999e-05/0.2416, allocations: 107.7 kB / 408.5 MB, free: 5.441 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.007e-06/0.2417, allocations: 29.64 kB / 408.5 MB, free: 5.406 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.695e-05/0.2417, allocations: 85.81 kB / 408.6 MB, free: 5.32 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.2417, allocations: 0 / 408.6 MB, free: 5.32 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.586e-05/0.2417, allocations: 11.67 kB / 408.6 MB, free: 5.305 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.699e-05/0.2417, allocations: 312.5 kB / 408.9 MB, free: 4.992 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.787e-06/0.2418, allocations: 3.75 kB / 408.9 MB, free: 4.992 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.164e-06/0.2418, allocations: 0 / 408.9 MB, free: 4.992 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.005e-05/0.2418, allocations: 79.91 kB / 409 MB, free: 4.914 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.2418, allocations: 76.67 kB / 409 MB, free: 4.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.272e-05/0.2418, allocations: 32.81 kB / 409.1 MB, free: 4.805 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.2419, allocations: 80.81 kB / 409.2 MB, free: 4.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.2419, allocations: 85 kB / 409.2 MB, free: 4.648 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.2419, allocations: 152.8 kB / 409.4 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.829e-06/0.2419, allocations: 83.28 kB / 409.5 MB, free: 4.418 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/0.2419, allocations: 160.3 kB / 409.6 MB, free: 4.262 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.304e-05/0.242, allocations: 77.05 kB / 409.7 MB, free: 4.188 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.242, allocations: 80.02 kB / 409.8 MB, free: 4.109 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 5.463e-05/0.2421, allocations: 259.4 kB / 410 MB, free: 3.848 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.2421, allocations: 108.9 kB / 410.1 MB, free: 3.738 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.85e-05/0.2422, allocations: 119.8 kB / 410.3 MB, free: 3.613 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/0.2422, allocations: 177.1 kB / 410.4 MB, free: 3.434 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-05/0.2422, allocations: 178.1 kB / 410.6 MB, free: 3.254 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.288e-05/0.2422, allocations: 181.8 kB / 410.8 MB, free: 3.07 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.2424, allocations: 407 kB / 411.2 MB, free: 2.621 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/0.2424, allocations: 106.1 kB / 411.3 MB, free: 2.512 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.379e-05/0.2424, allocations: 106.8 kB / 411.4 MB, free: 2.402 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.07e-05/0.2424, allocations: 178 kB / 411.6 MB, free: 2.223 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.2425, allocations: 181.7 kB / 411.7 MB, free: 2.039 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-05/0.2425, allocations: 182.5 kB / 411.9 MB, free: 1.855 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.039e-05/0.2425, allocations: 186 kB / 412.1 MB, free: 1.668 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.863e-05/0.2426, allocations: 309.1 kB / 412.4 MB, free: 1.348 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.739e-05/0.2426, allocations: 184.8 kB / 412.6 MB, free: 1.145 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.2426, allocations: 182.4 kB / 412.8 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.472e-05/0.2427, allocations: 106.9 kB / 412.9 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.2427, allocations: 180.8 kB / 413 MB, free: 0.668 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.2427, allocations: 102.7 kB / 413.1 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.592e-05/0.2428, allocations: 85.94 kB / 413.2 MB, free: 496 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.152e-06/0.2428, allocations: 0 / 413.2 MB, free: 496 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004686/0.2433, allocations: 134.2 kB / 413.4 MB, free: 460 kB / 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.0009293/0.2442, allocations: 0.5628 MB / 413.9 MB, free: 180 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 3.506e-05/0.2442, allocations: 2.047 kB / 413.9 MB, free: 180 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.2443, allocations: 0 / 413.9 MB, free: 180 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/0.2443, allocations: 1.344 kB / 413.9 MB, free: 180 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.2446, allocations: 465.5 kB / 414.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002021/0.2448, allocations: 164 kB / 414.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.245, allocations: 0.6736 MB / 415.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.008e-05/0.245, allocations: 5.188 kB / 415.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.957e-05/0.245, allocations: 12.19 kB / 415.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.245, allocations: 3.938 kB / 415.2 MB, free: 14.83 MB / 302.1 MB Notification: Performance of Templates: time 0.005792/0.2508, allocations: 2.852 MB / 418.1 MB, free: 14.54 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)