Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadReal_m.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.ReadReal_m,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadReal_m") translateModel(KeyWordIO.Examples.ReadReal_m,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadReal_m") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 105.3 kB / 15.98 MB, free: 6.352 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.001853/0.001853, allocations: 195.9 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.374/1.374, allocations: 222.9 MB / 240.6 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006156/0.006156, allocations: 1.001 MB / 291.7 MB, free: 14.06 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 59.91 kB / 352.2 MB, free: 1.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2192, allocations: 49.64 MB / 401.9 MB, free: 35.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.001959/0.2212, allocations: 1.267 MB / 403.1 MB, free: 34.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.2234, allocations: 2.054 MB / 405.2 MB, free: 32.47 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.706e-05/0.2235, allocations: 0 / 405.2 MB, free: 32.47 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.232e-05/0.2235, allocations: 0 / 405.2 MB, free: 32.47 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/readReal_m.mo:2:1-79:15:writable] Warning: Pure function ‘KeyWordIO.readReal_m‘ contains a call to impure function ‘KeyWordIO.readLine‘. Notification: Performance of NFTyping.typeBindings: time 0.0009999/0.2245, allocations: 439.1 kB / 405.6 MB, free: 32.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.096e-06/0.2245, allocations: 4 kB / 405.6 MB, free: 32.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 3.507e-05/0.2246, allocations: 7.938 kB / 405.6 MB, free: 32.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.626e-05/0.2246, allocations: 7.969 kB / 405.6 MB, free: 32.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.828e-05/0.2246, allocations: 7.938 kB / 405.6 MB, free: 32.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.457e-05/0.2247, allocations: 4 kB / 405.6 MB, free: 32.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.095e-06/0.2247, allocations: 4 kB / 405.6 MB, free: 32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004865/0.2252, allocations: 475.5 kB / 406.1 MB, free: 31.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.771e-06/0.2252, allocations: 0 / 406.1 MB, free: 31.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.574e-05/0.2253, allocations: 7.938 kB / 406.1 MB, free: 31.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.2255, allocations: 251.5 kB / 406.4 MB, free: 31.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2255, allocations: 0 / 406.4 MB, free: 31.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2255, allocations: 4 kB / 406.4 MB, free: 31.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.2256, allocations: 4 kB / 406.4 MB, free: 31.28 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.000321/0.2259, allocations: 417.4 kB / 406.8 MB, free: 30.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.2259, allocations: 8.031 kB / 406.8 MB, free: 30.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.226, allocations: 80.22 kB / 406.9 MB, free: 30.74 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.2261, allocations: 247.5 kB / 407.1 MB, free: 30.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.2261, allocations: 154.9 kB / 407.3 MB, free: 30.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.2261, allocations: 158.7 kB / 407.4 MB, free: 30.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.622e-05/0.2262, allocations: 101 kB / 407.5 MB, free: 30.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.2262, allocations: 83.22 kB / 407.6 MB, free: 29.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.2262, allocations: 150.6 kB / 407.7 MB, free: 29.81 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.2262, allocations: 150.6 kB / 407.9 MB, free: 29.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.267e-05/0.2263, allocations: 158.5 kB / 408 MB, free: 29.51 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.2265, allocations: 449.9 kB / 408.5 MB, free: 29.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.365e-05/0.2265, allocations: 165.1 kB / 408.6 MB, free: 28.85 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.682e-05/0.2265, allocations: 84.08 kB / 408.7 MB, free: 28.76 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.2265, allocations: 79.28 kB / 408.8 MB, free: 28.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.2266, allocations: 113.8 kB / 408.9 MB, free: 28.56 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.2266, allocations: 0 / 408.9 MB, free: 28.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.042e-05/0.2266, allocations: 29.64 kB / 408.9 MB, free: 28.53 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.2267, allocations: 130.7 kB / 409.1 MB, free: 28.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.401e-05/0.2268, allocations: 101.8 kB / 409.2 MB, free: 28.28 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.781e-06/0.2268, allocations: 29.7 kB / 409.2 MB, free: 28.24 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.894e-05/0.2268, allocations: 88.14 kB / 409.3 MB, free: 28.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.393e-06/0.2268, allocations: 0 / 409.3 MB, free: 28.15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.602e-05/0.2268, allocations: 9.766 kB / 409.3 MB, free: 28.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.712e-05/0.2269, allocations: 318.8 kB / 409.6 MB, free: 27.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.787e-06/0.2269, allocations: 0 / 409.6 MB, free: 27.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.134e-06/0.2269, allocations: 0 / 409.6 MB, free: 27.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.253e-05/0.2269, allocations: 79.28 kB / 409.7 MB, free: 27.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.789e-06/0.2269, allocations: 79.22 kB / 409.8 MB, free: 27.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.376e-05/0.227, allocations: 33.64 kB / 409.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.227, allocations: 89.47 kB / 409.9 MB, free: 27.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.227, allocations: 75.28 kB / 410 MB, free: 27.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.151e-05/0.227, allocations: 154.5 kB / 410.1 MB, free: 27.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.078e-05/0.2271, allocations: 75.28 kB / 410.2 MB, free: 27.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.453e-05/0.2271, allocations: 158.5 kB / 410.3 MB, free: 27.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.35e-05/0.2272, allocations: 79.27 kB / 410.4 MB, free: 27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.2272, allocations: 79.53 kB / 410.5 MB, free: 26.92 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 5.469e-05/0.2272, allocations: 260.4 kB / 410.7 MB, free: 26.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.2273, allocations: 112.9 kB / 410.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.339e-05/0.2273, allocations: 104.1 kB / 411 MB, free: 26.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.369e-05/0.2273, allocations: 184.2 kB / 411.1 MB, free: 26.24 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.489e-05/0.2274, allocations: 188.3 kB / 411.3 MB, free: 26.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-05/0.2274, allocations: 180.2 kB / 411.5 MB, free: 25.86 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.2275, allocations: 413.1 kB / 411.9 MB, free: 25.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/0.2275, allocations: 101 kB / 412 MB, free: 25.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.499e-05/0.2276, allocations: 104.9 kB / 412.1 MB, free: 25.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.301e-05/0.2276, allocations: 184.3 kB / 412.3 MB, free: 25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.2276, allocations: 188.2 kB / 412.5 MB, free: 24.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.24e-05/0.2276, allocations: 184.2 kB / 412.6 MB, free: 24.62 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.412e-05/0.2277, allocations: 176.3 kB / 412.8 MB, free: 24.44 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.321e-05/0.2277, allocations: 311.6 kB / 413.1 MB, free: 24.11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.998e-05/0.2278, allocations: 186.5 kB / 413.3 MB, free: 23.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.273e-05/0.2278, allocations: 184.2 kB / 413.5 MB, free: 23.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.334e-05/0.2279, allocations: 101 kB / 413.6 MB, free: 23.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.2279, allocations: 180.2 kB / 413.8 MB, free: 23.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.2279, allocations: 105 kB / 413.9 MB, free: 23.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.592e-05/0.2279, allocations: 91.27 kB / 413.9 MB, free: 23.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.228, allocations: 4 kB / 413.9 MB, free: 23.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004297/0.2284, allocations: 136 kB / 414.1 MB, free: 23.09 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.0009358/0.2293, allocations: 0.5743 MB / 414.7 MB, free: 22.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 4.197e-05/0.2294, allocations: 7.875 kB / 414.7 MB, free: 22.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2294, allocations: 0 / 414.7 MB, free: 22.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.193e-06/0.2294, allocations: 0 / 414.7 MB, free: 22.58 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.2297, allocations: 467.6 kB / 415.1 MB, free: 22.12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002255/0.2299, allocations: 195 kB / 415.3 MB, free: 21.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.23, allocations: 0.6768 MB / 416 MB, free: 21.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.931e-05/0.23, allocations: 11.44 kB / 416 MB, free: 21.18 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2301, allocations: 0 / 416 MB, free: 21.18 MB / 302.1 MB Notification: Performance of Templates: time 0.004239/0.2343, allocations: 3.339 MB / 419.3 MB, free: 17.84 MB / 302.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.makefile (rm -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadReal_m.sim & ./KeyWordIO_KeyWordIO.Examples.ReadReal_m -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe 2>&1)