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.0008607/0.0008606, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.00623/0.00623, allocations: 170.4 kB / 16.27 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.422/1.422, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005663/0.005663, allocations: 0.9919 MB / 292.4 MB, free: 1.129 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002803/0.0002802, allocations: 8.188 kB / 353.8 MB, free: 2.051 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3035, allocations: 50.62 MB / 404.4 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.001448/0.305, allocations: 0.9324 MB / 405.4 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003054/0.3081, allocations: 2.013 MB / 407.4 MB, free: 9.23 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.379e-05/0.3081, allocations: 0 / 407.4 MB, free: 9.23 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.59e-05/0.3081, allocations: 0.6094 kB / 407.4 MB, free: 9.23 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.001082/0.3092, allocations: 348.9 kB / 407.7 MB, free: 9.074 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.715e-06/0.3092, allocations: 1.281 kB / 407.7 MB, free: 9.074 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 3.917e-05/0.3093, allocations: 11.61 kB / 407.7 MB, free: 9.066 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/0.3093, allocations: 1.469 kB / 407.7 MB, free: 9.066 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.882e-05/0.3093, allocations: 9.875 kB / 407.7 MB, free: 9.059 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.3096, allocations: 5.906 kB / 407.7 MB, free: 9.059 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.476e-06/0.3096, allocations: 0 / 407.7 MB, free: 9.059 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007912/0.3104, allocations: 442.3 kB / 408.2 MB, free: 8.922 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.027e-06/0.3104, allocations: 5.125 kB / 408.2 MB, free: 8.918 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.393e-05/0.3105, allocations: 31.08 kB / 408.2 MB, free: 8.883 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005599/0.311, allocations: 349.5 kB / 408.6 MB, free: 8.773 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.311, allocations: 1.156 kB / 408.6 MB, free: 8.773 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.311, allocations: 0 / 408.6 MB, free: 8.773 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.3111, allocations: 0 / 408.6 MB, free: 8.773 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.0003409/0.3114, allocations: 406.4 kB / 409 MB, free: 8.371 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.3114, allocations: 10.06 kB / 409 MB, free: 8.371 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.3115, allocations: 76.78 kB / 409 MB, free: 8.297 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.3116, allocations: 248.3 kB / 409.3 MB, free: 8.02 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.3116, allocations: 152.3 kB / 409.4 MB, free: 7.871 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.3117, allocations: 159.2 kB / 409.6 MB, free: 7.715 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.469e-05/0.3117, allocations: 106.3 kB / 409.7 MB, free: 7.605 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.3117, allocations: 76.08 kB / 409.8 MB, free: 7.531 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.3118, allocations: 150.6 kB / 409.9 MB, free: 7.383 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.3118, allocations: 151.8 kB / 410.1 MB, free: 7.234 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.411e-05/0.3118, allocations: 150.6 kB / 410.2 MB, free: 7.086 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.312, allocations: 450.7 kB / 410.6 MB, free: 6.602 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.743e-05/0.3121, allocations: 170.8 kB / 410.8 MB, free: 6.426 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.3121, allocations: 89.61 kB / 410.9 MB, free: 6.336 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.3121, allocations: 79.22 kB / 411 MB, free: 6.258 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.3121, allocations: 111.3 kB / 411.1 MB, free: 6.141 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.3121, allocations: 4 kB / 411.1 MB, free: 6.137 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 6.054e-05/0.3122, allocations: 31.55 kB / 411.1 MB, free: 6.102 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.3122, allocations: 127.7 kB / 411.2 MB, free: 5.965 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.243e-05/0.3123, allocations: 104 kB / 411.3 MB, free: 5.863 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.38e-06/0.3123, allocations: 25.7 kB / 411.4 MB, free: 5.832 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.2e-05/0.3124, allocations: 82.12 kB / 411.5 MB, free: 5.75 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-06/0.3124, allocations: 0 / 411.5 MB, free: 5.75 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.321e-05/0.3124, allocations: 9.719 kB / 411.5 MB, free: 5.734 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.512e-05/0.3124, allocations: 317.3 kB / 411.8 MB, free: 5.418 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.817e-06/0.3125, allocations: 0 / 411.8 MB, free: 5.418 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.015e-06/0.3125, allocations: 5.062 kB / 411.8 MB, free: 5.414 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.094e-05/0.3125, allocations: 75.28 kB / 411.9 MB, free: 5.34 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/0.3125, allocations: 75.28 kB / 411.9 MB, free: 5.266 MB / 286.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.694e-05/0.3125, allocations: 38.05 kB / 412 MB, free: 5.227 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.3126, allocations: 85.3 kB / 412 MB, free: 5.148 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.3126, allocations: 80.41 kB / 412.1 MB, free: 5.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.3126, allocations: 155.4 kB / 412.3 MB, free: 4.918 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.418e-06/0.3126, allocations: 80.78 kB / 412.4 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/0.3127, allocations: 152.3 kB / 412.5 MB, free: 4.691 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.308e-05/0.3127, allocations: 77.09 kB / 412.6 MB, free: 4.617 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.3127, allocations: 80.95 kB / 412.7 MB, free: 4.539 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.109e-05/0.3128, allocations: 266.4 kB / 412.9 MB, free: 4.27 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.3128, allocations: 106.6 kB / 413 MB, free: 4.16 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.3129, allocations: 111.9 kB / 413.1 MB, free: 4.043 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-05/0.3129, allocations: 178 kB / 413.3 MB, free: 3.863 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.541e-05/0.3129, allocations: 183.6 kB / 413.5 MB, free: 3.68 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.978e-05/0.3129, allocations: 177 kB / 413.7 MB, free: 3.5 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.3131, allocations: 410.8 kB / 414.1 MB, free: 3.047 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/0.3131, allocations: 106.8 kB / 414.2 MB, free: 2.938 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.539e-05/0.3131, allocations: 106.1 kB / 414.3 MB, free: 2.828 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.178e-05/0.3131, allocations: 181.7 kB / 414.4 MB, free: 2.645 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.3132, allocations: 181.9 kB / 414.6 MB, free: 2.461 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.35e-05/0.3132, allocations: 186 kB / 414.8 MB, free: 2.273 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.58e-05/0.3132, allocations: 182.8 kB / 415 MB, free: 2.09 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.629e-05/0.3133, allocations: 312.7 kB / 415.3 MB, free: 1.766 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.399e-05/0.3133, allocations: 182 kB / 415.5 MB, free: 1.566 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.3134, allocations: 182.1 kB / 415.6 MB, free: 1.383 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.816e-05/0.3134, allocations: 106.7 kB / 415.7 MB, free: 1.273 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.3135, allocations: 178.3 kB / 415.9 MB, free: 1.094 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.3135, allocations: 106.8 kB / 416 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.892e-05/0.3135, allocations: 89.81 kB / 416.1 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3135, allocations: 0 / 416.1 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004667/0.314, allocations: 129.3 kB / 416.2 MB, free: 0.8711 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.0008952/0.3149, allocations: 0.5527 MB / 416.8 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 3.302e-05/0.3149, allocations: 1.188 kB / 416.8 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.315, allocations: 4 kB / 416.8 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.695e-06/0.315, allocations: 5.531 kB / 416.8 MB, free: 0.582 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.3152, allocations: 0.5208 MB / 417.3 MB, free: 60 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002394/0.3155, allocations: 177.6 kB / 417.5 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.3157, allocations: 0.677 MB / 418.2 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.576e-06/0.3157, allocations: 2.641 kB / 418.2 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.717e-05/0.3158, allocations: 12.16 kB / 418.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3158, allocations: 0 / 418.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of Templates: time 0.006644/0.3224, allocations: 2.844 MB / 421 MB, free: 14.86 MB / 302.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealParameter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: